[kaffe] CVS kaffe (doogie): Access static variables/methods thru
the class, not an instance of the
Kaffe CVS
cvs-commits at kaffe.org
Fri Dec 10 13:27:24 PST 2004
PatchSet 5596
Date: 2004/12/10 21:22:56
Author: doogie
Branch: HEAD
Tag: (none)
Log:
Access static variables/methods thru the class, not an instance of the
class.
Members:
ChangeLog:1.3141->1.3142
libraries/javalib/gnu/crypto/der/DERReader.java:1.1->1.2
libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java:1.6->1.7
libraries/javalib/gnu/xml/xpath/Predicate.java:1.1->1.2
libraries/javalib/java/lang/System.java:1.41->1.42
libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java:1.1->1.2
libraries/javalib/org/metastatic/jessie/provider/DERReader.java:1.1->1.2
Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3141 kaffe/ChangeLog:1.3142
--- kaffe/ChangeLog:1.3141 Fri Dec 10 21:17:41 2004
+++ kaffe/ChangeLog Fri Dec 10 21:22:56 2004
@@ -1,4 +1,14 @@
2004-12-10 Adam Heath <doogie at brainfood.com>
+ * libraries/javalib/gnu/crypto/der/DERReader.java,
+ libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java,
+ libraries/javalib/gnu/xml/xpath/Predicate.java,
+ libraries/javalib/java/lang/System.java,
+ libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java,
+ libraries/javalib/org/metastatic/jessie/provider/DERReader.java:
+ Access static variables/methods thru the class, not an instance of
+ the class.
+
+2004-12-10 Adam Heath <doogie at brainfood.com>
* libraries/javalib/gnu/java/rmi/dgc/DGCImpl_Skel.java,
libraries/javalib/gnu/java/rmi/dgc/DGCImpl_Stub.java,
Index: kaffe/libraries/javalib/gnu/crypto/der/DERReader.java
diff -u kaffe/libraries/javalib/gnu/crypto/der/DERReader.java:1.1 kaffe/libraries/javalib/gnu/crypto/der/DERReader.java:1.2
--- kaffe/libraries/javalib/gnu/crypto/der/DERReader.java:1.1 Wed Jul 21 01:41:22 2004
+++ kaffe/libraries/javalib/gnu/crypto/der/DERReader.java Fri Dec 10 21:22:52 2004
@@ -390,7 +390,7 @@
Integer.parseInt(str.substring( 6, 8)), // hour
Integer.parseInt(str.substring( 8, 10))); // minute
if (date.length() == 12);
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(str.substring(10, 12)));
}
catch (NumberFormatException nfe)
@@ -417,13 +417,13 @@
case 18:
case 17:
case 16:
- calendar.set(calendar.MILLISECOND,
+ calendar.set(Calendar.MILLISECOND,
Integer.parseInt(date.substring(15)));
case 14:
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(date.substring(12, 14)));
case 12:
- calendar.set(calendar.MINUTE,
+ calendar.set(Calendar.MINUTE,
Integer.parseInt(date.substring(10, 12)));
}
}
Index: kaffe/libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java
diff -u kaffe/libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java:1.6 kaffe/libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java:1.7
--- kaffe/libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java:1.6 Sun Oct 31 13:36:35 2004
+++ kaffe/libraries/javalib/gnu/xml/util/SAXNullTransformerFactory.java Fri Dec 10 21:22:53 2004
@@ -636,7 +636,7 @@
// preserve original namespace prefixes
try
{
- producer.setFeature(handler.FEATURE_URI + "namespace-prefixes",
+ producer.setFeature(NullHandler.FEATURE_URI + "namespace-prefixes",
true);
}
catch (Exception e)
@@ -647,7 +647,7 @@
// arrange the output
handler.setResult (out);
- handler.bind (producer, handler);
+ NullHandler.bind (producer, handler);
// then parse ... single element pipeline
producer.parse (input);
Index: kaffe/libraries/javalib/gnu/xml/xpath/Predicate.java
diff -u kaffe/libraries/javalib/gnu/xml/xpath/Predicate.java:1.1 kaffe/libraries/javalib/gnu/xml/xpath/Predicate.java:1.2
--- kaffe/libraries/javalib/gnu/xml/xpath/Predicate.java:1.1 Sat Dec 4 21:12:31 2004
+++ kaffe/libraries/javalib/gnu/xml/xpath/Predicate.java Fri Dec 10 21:22:53 2004
@@ -64,7 +64,7 @@
// Same as [position() = x]
return ((Double) ret).intValue() == pos;
}
- return expr._boolean(node, expr.evaluate(node, pos, len));
+ return Expr._boolean(node, expr.evaluate(node, pos, len));
}
public Test clone(Object context)
Index: kaffe/libraries/javalib/java/lang/System.java
diff -u kaffe/libraries/javalib/java/lang/System.java:1.41 kaffe/libraries/javalib/java/lang/System.java:1.42
--- kaffe/libraries/javalib/java/lang/System.java:1.41 Wed Dec 8 07:22:33 2004
+++ kaffe/libraries/javalib/java/lang/System.java Fri Dec 10 21:22:54 2004
@@ -142,7 +142,7 @@
}
public static void runFinalizersOnExit(boolean value) {
- Runtime.getRuntime().runFinalizersOnExit(value);
+ Runtime.runFinalizersOnExit(value);
}
private static void exitJavaCleanup() {
Index: kaffe/libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java
diff -u kaffe/libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java:1.1 kaffe/libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java:1.2
--- kaffe/libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java:1.1 Wed Jul 21 01:42:21 2004
+++ kaffe/libraries/javalib/org/metastatic/jessie/pki/der/DERReader.java Fri Dec 10 21:22:55 2004
@@ -338,7 +338,7 @@
Integer.parseInt(str.substring( 6, 8)), // hour
Integer.parseInt(str.substring( 8, 10))); // minute
if (date.length() == 12);
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(str.substring(10, 12)));
}
catch (NumberFormatException nfe)
@@ -365,13 +365,13 @@
case 18:
case 17:
case 16:
- calendar.set(calendar.MILLISECOND,
+ calendar.set(Calendar.MILLISECOND,
Integer.parseInt(date.substring(15)));
case 14:
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(date.substring(12, 14)));
case 12:
- calendar.set(calendar.MINUTE,
+ calendar.set(Calendar.MINUTE,
Integer.parseInt(date.substring(10, 12)));
}
}
Index: kaffe/libraries/javalib/org/metastatic/jessie/provider/DERReader.java
diff -u kaffe/libraries/javalib/org/metastatic/jessie/provider/DERReader.java:1.1 kaffe/libraries/javalib/org/metastatic/jessie/provider/DERReader.java:1.2
--- kaffe/libraries/javalib/org/metastatic/jessie/provider/DERReader.java:1.1 Wed Jul 21 01:42:26 2004
+++ kaffe/libraries/javalib/org/metastatic/jessie/provider/DERReader.java Fri Dec 10 21:22:55 2004
@@ -323,7 +323,7 @@
Integer.parseInt(str.substring( 6, 8)), // hour
Integer.parseInt(str.substring( 8, 10))); // minute
if (date.length() == 12);
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(str.substring(10, 12)));
}
catch (NumberFormatException nfe)
@@ -350,13 +350,13 @@
case 18:
case 17:
case 16:
- calendar.set(calendar.MILLISECOND,
+ calendar.set(Calendar.MILLISECOND,
Integer.parseInt(date.substring(15)));
case 14:
- calendar.set(calendar.SECOND,
+ calendar.set(Calendar.SECOND,
Integer.parseInt(date.substring(12, 14)));
case 12:
- calendar.set(calendar.MINUTE,
+ calendar.set(Calendar.MINUTE,
Integer.parseInt(date.substring(10, 12)));
}
}
More information about the kaffe
mailing list