removed two warnings and reverted one change

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@7340 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
orbiter 14 years ago
parent 737aaf6952
commit 321eb012fe

@ -92,10 +92,10 @@ public class Base64Order extends AbstractOrder<byte[]> implements ByteOrder, Com
return new HandleSet(keylength, this, space); return new HandleSet(keylength, this, space);
} }
public static byte[] zero(final int length) { public static byte[] zero(int length) {
final byte[] z = new byte[length]; final byte[] z = new byte[length];
for (byte b : z) { while (length > 0) {
b = (byte) alpha_standard[0]; length--; z[length] = (byte) alpha_standard[0];
} }
return z; return z;
} }

@ -504,7 +504,7 @@ public class Blacklist {
return BlacklistError.PATH_REGEX; return BlacklistError.PATH_REGEX;
} }
return BlacklistError.DOUBLE_OCCURANCE.NO_ERROR; return BlacklistError.NO_ERROR;
} }
/** /**

@ -45,7 +45,6 @@ public class FilterEngine {
this.types = types; this.types = types;
} }
@Override
public int compareTo(FilterEntry fe) { public int compareTo(FilterEntry fe) {
return this.path.compareToIgnoreCase(fe.path); return this.path.compareToIgnoreCase(fe.path);
} }

Loading…
Cancel
Save