scanner does not implement closeable in java 6

This commit is contained in:
Sebastian Sdorra
2012-10-30 09:21:48 +01:00
parent 87a518e984
commit a2703800e3

View File

@@ -127,7 +127,10 @@ public abstract class AbstractBaseScmMojo extends AbstractScmMojo
}
finally
{
IOUtils.closeQuietly(scanner);
if (scanner != null)
{
scanner.close();
}
}
}
catch (IOException ex)