]> gitweb.fperrin.net Git - Dictionary.git/blobdiff - src/com/hughes/android/dictionary/engine/EntrySource.java
Fix issues noted by lint tools.
[Dictionary.git] / src / com / hughes / android / dictionary / engine / EntrySource.java
index c04358761c67bb98e5d51d4e3421a21fe2fb2fd9..42873c706260dc2190723bf019da0055ca8d0fff 100644 (file)
@@ -20,15 +20,14 @@ import com.hughes.util.raf.RAFListSerializer;
 import java.io.DataInput;
 import java.io.DataOutput;
 import java.io.IOException;
-import java.io.Serializable;
 
-public class EntrySource extends IndexedObject implements Serializable {
-
-    private static final long serialVersionUID = -1323165134846120269L;
+public class EntrySource extends IndexedObject {
 
     final String name;
+    @SuppressWarnings("CanBeFinal")
     int numEntries;
 
+    @SuppressWarnings("WeakerAccess")
     public EntrySource(final int index, final String name, int numEntries) {
         super(index);
         this.name = name;
@@ -58,7 +57,7 @@ public class EntrySource extends IndexedObject implements Serializable {
 
         @Override
         public EntrySource read(DataInput raf, int readIndex)
-                throws IOException {
+        throws IOException {
             final String name = raf.readUTF();
             final int numEntries = dictionary.dictFileVersion >= 3 ? raf.readInt() : 0;
             return new EntrySource(readIndex, name, numEntries);