Author: j16sdiz
Date: 2008-10-24 16:14:53 +0000 (Fri, 24 Oct 2008)
New Revision: 23085
Modified:
trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Properties.java
Log:
unused methods and warning fix
Modified: trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
===================================================================
--- trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
2008-10-24 15:25:36 UTC (rev 23084)
+++ trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Algorithm.java
2008-10-24 16:14:53 UTC (rev 23085)
@@ -46,12 +46,7 @@
private static void trace(boolean in, String s) {
if (TRACE) err.println((in?"==> ":"<== ")+NAME+ '.' +s);
}
- private static void trace(String s) {
- if (TRACE)
- err.println("<=> " + NAME + '.' + s);
- }
-
-
+
// Constants and variables
//
...........................................................................
Modified: trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Properties.java
===================================================================
--- trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Properties.java
2008-10-24 15:25:36 UTC (rev 23084)
+++ trunk/freenet/src/freenet/crypt/ciphers/Rijndael_Properties.java
2008-10-24 16:14:53 UTC (rev 23085)
@@ -100,7 +100,7 @@
out.println("# ----- Begin "+ALGORITHM+" properties -----");
out.println("#");
String key, value;
- Enumeration enu = properties.propertyNames();
+ Enumeration<?> enu = properties.propertyNames();
while (enu.hasMoreElements()) {
key = (String) enu.nextElement();
value = getProperty(key);
@@ -112,7 +112,7 @@
// public synchronized void load(InputStream in) throws IOException {}
- public static Enumeration propertyNames() {
+ public static Enumeration<?> propertyNames() {
return properties.propertyNames();
}