diff --git a/source/de/anomic/data/bookmarksDB.java b/source/de/anomic/data/bookmarksDB.java index 015782365..37d47ab7d 100644 --- a/source/de/anomic/data/bookmarksDB.java +++ b/source/de/anomic/data/bookmarksDB.java @@ -322,7 +322,7 @@ public class bookmarksDB { // ------------------------------------------------- // returning the number of tags - public int tagsSize(){ // TODO: shouldn't this be public int tagSize() + public int tagsSize(){ return tagSize(false); } @@ -336,7 +336,7 @@ public class bookmarksDB { * load/retrieve an object of type Tag from the tagsTable (also save it in tagCache) * @param hash an object of type String, containing a tagHash */ - public Tag loadTag(String hash){ // TODO: check if loadTag() could be private + private Tag loadTag(String hash){ HashMap map; Tag ret=null; map = tagsTable.getMap(hash); diff --git a/source/de/anomic/yacy/resourceObserver.java b/source/de/anomic/yacy/resourceObserver.java index 29e0d26ef..142a23d67 100644 --- a/source/de/anomic/yacy/resourceObserver.java +++ b/source/de/anomic/yacy/resourceObserver.java @@ -45,7 +45,7 @@ import java.util.Map; import de.anomic.plasma.plasmaSwitchboard; import de.anomic.server.logging.serverLog; -import de.anomic.tools.DiskUsage; +import de.anomic.tools.diskUsage; public final class resourceObserver { // The minimal free space on every used volume, for now set to 100 MB. @@ -60,7 +60,7 @@ public final class resourceObserver { private final int CHECK_MEMORY_USAGE_FREQ = 1; private serverLog log = new serverLog("RESOURCE OBSERVER"); - private DiskUsage du; + private diskUsage du; private plasmaSwitchboard sb; private int checkDiskUsageCount; @@ -70,7 +70,7 @@ public final class resourceObserver { public resourceObserver(plasmaSwitchboard sb) { this.sb = sb; - du = new DiskUsage(sb); + du = new diskUsage(sb); if (!du.getUsable ()) this.log.logWarning("Disk usage returned: " + du.getErrorMessage());