Enable PMD rule SingularField and fix violations
This commit is contained in:
parent
3b77f93c00
commit
a07fc132d2
5 changed files with 3 additions and 9 deletions
|
|
@ -19,7 +19,6 @@ final public class PhysicalFile {
|
|||
long[] fileIndex = new long[25];
|
||||
int[] fileHeaderCrcs;
|
||||
|
||||
private int fileIndexCrc;
|
||||
public long creationTime;
|
||||
|
||||
String fileName;
|
||||
|
|
@ -75,7 +74,7 @@ final public class PhysicalFile {
|
|||
byte[] iobuffer = dataBuffers.iobuffer;
|
||||
ra = new RandomAccessFile(f, "r");
|
||||
ra.readFully(iobuffer, 0, 200);
|
||||
fileIndexCrc = Crc32.crc(iobuffer, 0, 200);
|
||||
int fileIndexCrc = Crc32.crc(iobuffer, 0, 200);
|
||||
ByteDataReader dis = new ByteDataReader(iobuffer);
|
||||
for (int i = 0; i < 25; i++) {
|
||||
long lv = dis.readLong();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue