Changed size() for NoHashSphere from int to long
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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();
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user