Changed size() for NoHashSphere from int to long
This commit is contained in:
1 parent
db05ad4866
commit
c29e3880fe
2 files changed
+2
-2
No files matched your search
@@ -98,7 +98,7 @@ public final class NoHashSphereDefault implements NoHashSphereInterface {
|
||||
return this.database.contains(hash);
|
||||
}
|
||||
|
||||
public synchronized int size() {
|
||||
public synchronized long size() {
|
||||
return this.database.size();
|
||||
}
|
||||
}
|
||||
@@ -11,5 +11,5 @@ public interface NoHashSphereInterface {
|
||||
public void insertHash(String hash) throws IOException;
|
||||
public void removeHash(String hash) throws IOException;
|
||||
public boolean checkHash(String hash);
|
||||
public int size();
|
||||
public long size();
|
||||
}
|
||||
Reference in new issue
Block a user