Changed size() for NoHashSphere from int to long

This commit is contained in:
Dave
2014-12-21 17:18:22 +02:00
parent db05ad4866
commit c29e3880fe
2 changed files with 2 additions and 2 deletions

View File

@@ -98,7 +98,7 @@ public final class NoHashSphereDefault implements NoHashSphereInterface {
return this.database.contains(hash); return this.database.contains(hash);
} }
public synchronized int size() { public synchronized long size() {
return this.database.size(); return this.database.size();
} }
} }

View File

@@ -11,5 +11,5 @@ public interface NoHashSphereInterface {
public void insertHash(String hash) throws IOException; public void insertHash(String hash) throws IOException;
public void removeHash(String hash) throws IOException; public void removeHash(String hash) throws IOException;
public boolean checkHash(String hash); public boolean checkHash(String hash);
public int size(); public long size();
} }