Browse Source

[spotbugs] Fix potential NPE in FSTest

Change-Id: I6ca37d045642e3aada7e6b42b3cb8c3bba014455
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
stable-5.6
Matthias Sohn 5 years ago
parent
commit
3d4c95293c
  1. 2
      org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FSTest.java

2
org.eclipse.jgit.test/tst/org/eclipse/jgit/util/FSTest.java

@ -254,10 +254,12 @@ public class FSTest {
formatter.format(t1.toInstant()),
Long.valueOf(resolutionNs)), t2.compareTo(t1) > 0);
} finally {
if (f != null) {
Files.delete(f);
}
}
}
}
// bug 548682
@Test

Loading…
Cancel
Save