xalan-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mrgla...@apache.org
Subject svn commit: r1225436 - in /xalan/java/trunk/src/org/apache/xalan/xsltc: cmdline/getopt/GetOpt.java compiler/util/MethodGenerator.java runtime/Hashtable.java
Date Thu, 29 Dec 2011 05:09:31 GMT
Author: mrglavas
Date: Thu Dec 29 05:09:31 2011
New Revision: 1225436

URL: http://svn.apache.org/viewvc?rev=1225436&view=rev
Log:
Making several inner classes static.

Modified:
    xalan/java/trunk/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
    xalan/java/trunk/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
    xalan/java/trunk/src/org/apache/xalan/xsltc/runtime/Hashtable.java

Modified: xalan/java/trunk/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
URL: http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java?rev=1225436&r1=1225435&r2=1225436&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java (original)
+++ xalan/java/trunk/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java Thu Dec 29 05:09:31
2011
@@ -209,7 +209,7 @@ public class GetOpt{
     ///////////////////////////////////////////////////////////
 
     // inner class to model an option
-    class Option{
+    static class Option{
         private char theArgLetter;
         private String theArgument = null;
         public Option(char argLetter) { theArgLetter = argLetter; }
@@ -225,7 +225,7 @@ public class GetOpt{
     // inner class to query optString for a possible option match,
     // and whether or not a given legal option takes an argument. 
     //  
-    class OptionMatcher{
+    static class OptionMatcher{
         public OptionMatcher(String optString){
 	    theOptString = optString;	
         }

Modified: xalan/java/trunk/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
URL: http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java?rev=1225436&r1=1225435&r2=1225436&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java (original)
+++ xalan/java/trunk/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java Thu Dec
29 05:09:31 2011
@@ -721,7 +721,7 @@ public class MethodGenerator extends Met
      * current method.  See {@link OutlineableChunkStart} and
      * {@link OutlineableChunkEnd} for more information.
      */
-    private class Chunk implements Comparable {
+    private static class Chunk implements Comparable {
         /**
          * {@link InstructionHandle} of the first instruction in the outlineable
          * chunk.

Modified: xalan/java/trunk/src/org/apache/xalan/xsltc/runtime/Hashtable.java
URL: http://svn.apache.org/viewvc/xalan/java/trunk/src/org/apache/xalan/xsltc/runtime/Hashtable.java?rev=1225436&r1=1225435&r2=1225436&view=diff
==============================================================================
--- xalan/java/trunk/src/org/apache/xalan/xsltc/runtime/Hashtable.java (original)
+++ xalan/java/trunk/src/org/apache/xalan/xsltc/runtime/Hashtable.java Thu Dec 29 05:09:31
2011
@@ -303,7 +303,7 @@ public class Hashtable {
      * A hashtable enumerator class.  This class should remain opaque 
      * to the client. It will use the Enumeration interface.
      */
-    class HashtableEnumerator implements Enumeration {
+    static class HashtableEnumerator implements Enumeration {
 	boolean keys;
 	int index;
 	HashtableEntry table[];



---------------------------------------------------------------------
To unsubscribe, e-mail: xalan-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: xalan-cvs-help@xml.apache.org


Mime
View raw message