mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-05-06 20:25:41 +02:00
scanner does not implement closeable in java 6
This commit is contained in:
@@ -127,7 +127,10 @@ public abstract class AbstractBaseScmMojo extends AbstractScmMojo
|
||||
}
|
||||
finally
|
||||
{
|
||||
IOUtils.closeQuietly(scanner);
|
||||
if (scanner != null)
|
||||
{
|
||||
scanner.close();
|
||||
}
|
||||
}
|
||||
}
|
||||
catch (IOException ex)
|
||||
|
||||
Reference in New Issue
Block a user