[kaffe] CVS kaffe (doogie): Fix some more access of static fields/methods on instances.

Kaffe CVS cvs-commits at kaffe.org
Fri Dec 10 19:59:22 PST 2004


PatchSet 5608 
Date: 2004/12/11 03:54:27
Author: doogie
Branch: HEAD
Tag: (none) 
Log:
Fix some more access of static fields/methods on instances.

Members: 
	ChangeLog:1.3153->1.3154 
	tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:1.4->1.5 

Index: kaffe/ChangeLog
diff -u kaffe/ChangeLog:1.3153 kaffe/ChangeLog:1.3154
--- kaffe/ChangeLog:1.3153	Sat Dec 11 03:46:28 2004
+++ kaffe/ChangeLog	Sat Dec 11 03:54:27 2004
@@ -1,5 +1,10 @@
 2004-12-10  Adam Heath  <doogie at brainfood.com>
 
+	* tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:
+	  Fix some more access of static fields/methods on instances.
+ 
+2004-12-10  Adam Heath  <doogie at brainfood.com>
+
 	* libraries/javalib/Klasses.jar.bootstrap:
 	  Updated java/math/BigInteger.class, and added
 	  java/math/BigDecimal.class.
Index: kaffe/tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java
diff -u kaffe/tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:1.4 kaffe/tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:1.5
--- kaffe/tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java:1.4	Sat Dec 11 03:21:48 2004
+++ kaffe/tools/gjdoc/javalib/gnu/classpath/tools/gjdoc/Parser.java	Sat Dec 11 03:54:26 2004
@@ -533,7 +533,7 @@
       }
    }
 
-   static boolean addComments=false;
+   public boolean addComments=false;
 
    public static final String WHITESPACE=" \t\r\n";
 
@@ -552,8 +552,8 @@
       return result;
    }
 
-   static SourceComponent[] sourceLevelComponents;
-   static SourceComponent[] classLevelComponents;
+   SourceComponent[] sourceLevelComponents;
+   SourceComponent[] classLevelComponents;
 
    public Parser() {
       try {
@@ -584,11 +584,11 @@
       }
    }
 
-   public static int getNumberOfProcessedFiles() {
+   public int getNumberOfProcessedFiles() {
       return processedFiles.size();
    }
 
-   static Set processedFiles = new HashSet();
+   Set processedFiles = new HashSet();
 
    ClassDocImpl processSourceFile(File file, boolean addComments, String encoding) 
       throws IOException, ParseException




More information about the kaffe mailing list