Skip to content
Permalink
Browse files
Fix FindBugs warnings
  • Loading branch information
leerho committed Apr 9, 2019
1 parent bbfad24 commit b0610d6bb1af70fd2d40e3e03ebe639cccf39a4f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
@@ -228,7 +228,7 @@ static boolean isFileReadOnly(final File file) {
try (RandomAccessFile raf = new RandomAccessFile(file, "rw")) {
raf.close();
return false;
} catch (final Exception e) { //could not open for write
} catch (final SecurityException | IOException f) { //could not open for write
return true;
}
}
@@ -35,7 +35,7 @@ public void testWithSeed() {
* <a href="https://github.com/OpenHFT/Zero-Allocation-Hashing/blob/master/src/test/java/net/openhft/hashing/XxHashTest.java">
* OpenHFT/Zero-Allocation-Hashing</a> to test hash compatibility with that implementation.
*/
public static final long[] HASHES_OF_LOOPING_BYTES_WITH_SEED_42 = {
private static final long[] HASHES_OF_LOOPING_BYTES_WITH_SEED_42 = {
-7444071767201028348L,
-8959994473701255385L,
7116559933691734543L,

0 comments on commit b0610d6

Please sign in to comment.