}
public static HashSet<Layout> getLayouts() {
- final HashSet<Layout> layouts = new HashSet<Layout>();
+ final HashSet<Layout> layouts = new HashSet<>();
layouts.add(new MixedLayout());
return layouts;
}
crc.update(b);
// note use crc.value, not crc.getValue()
- final String hex = Integer.toHexString((int) crc.getValue())
- .toUpperCase();
-
- // System.out.println("Input string: " + input);
- // System.out.println("Result: " + hex);
- return hex;
+ return Integer.toHexString((int) crc.getValue())
+ .toUpperCase();
}
public static File getThumbnailsDirectory(final File directoryToIndex) {