mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-09 06:55:47 +01:00
fix some deprecated warnings
This commit is contained in:
@@ -48,6 +48,7 @@ import sonia.scm.repository.client.api.RepositoryClientException;
|
||||
//~--- JDK imports ------------------------------------------------------------
|
||||
|
||||
import java.io.IOException;
|
||||
import sonia.scm.util.IOUtil;
|
||||
|
||||
/**
|
||||
*
|
||||
@@ -103,7 +104,7 @@ public class GitCommitCommand implements CommitCommand
|
||||
}
|
||||
finally
|
||||
{
|
||||
Closeables.closeQuietly(converter);
|
||||
IOUtil.close(converter);
|
||||
}
|
||||
|
||||
return changeset;
|
||||
@@ -112,5 +113,5 @@ public class GitCommitCommand implements CommitCommand
|
||||
//~--- fields ---------------------------------------------------------------
|
||||
|
||||
/** Field description */
|
||||
private Git git;
|
||||
private final Git git;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user