Making several inner classes static.
git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@1225436 13f79535-47bb-0310-9956-ffa450edef68
diff --git a/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java b/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
index 609ce58..baacede 100644
--- a/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
+++ b/src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
@@ -209,7 +209,7 @@
///////////////////////////////////////////////////////////
// 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 @@
// 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;
}
diff --git a/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java b/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
index c83a2b2..3a79066 100644
--- a/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
+++ b/src/org/apache/xalan/xsltc/compiler/util/MethodGenerator.java
@@ -721,7 +721,7 @@
* 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.
diff --git a/src/org/apache/xalan/xsltc/runtime/Hashtable.java b/src/org/apache/xalan/xsltc/runtime/Hashtable.java
index ff29953..f8315d8 100644
--- a/src/org/apache/xalan/xsltc/runtime/Hashtable.java
+++ b/src/org/apache/xalan/xsltc/runtime/Hashtable.java
@@ -303,7 +303,7 @@
* 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[];