Skip to content
  • Projects
  • Groups
  • Snippets
  • Help

polysoft-nafmii / polysoft-android

  • This project
    • Loading...
  • Sign in
Go to a project
  • Project
  • Repository
  • Issues 0
  • Merge Requests 0
  • Pipelines
  • Wiki
  • Settings
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Branches
  • Tags
  • Contributors
  • Graph
  • Compare
  • Charts
Switch branch/tag
  • polysoft-android
  • ..
  • utils
  • IOUtils.java
  • amateur's avatar
    '1' · e52e272f
    amateur committed May 12, 2021
    e52e272f
IOUtils.java 339 Bytes
RawBlameHistoryPermalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
package com.polysoft.nafmii.utils;

import java.io.Closeable;
import java.io.IOException;

public class IOUtils {

    public static void close(Closeable io) {
        if (null == io) {
            return;
        }
        try {
            io.close();
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}