Skip to content

Commit

Permalink
Making several inner classes static.
Browse files Browse the repository at this point in the history
git-svn-id: https://svn.apache.org/repos/asf/xalan/java/trunk@1225436 13f79535-47bb-0310-9956-ffa450edef68
  • Loading branch information
Michael Glavassevich committed Dec 29, 2011
1 parent ee444d9 commit 64ba81c
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/org/apache/xalan/xsltc/cmdline/getopt/GetOpt.java
Expand Up @@ -209,7 +209,7 @@ public String[] getCmdArgs(){
///////////////////////////////////////////////////////////

// inner class to model an option
class Option{
static class Option{
private char theArgLetter;
private String theArgument = null;
public Option(char argLetter) { theArgLetter = argLetter; }
Expand All @@ -225,7 +225,7 @@ public void setArg(String arg) {
// 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;
}
Expand Down
Expand Up @@ -721,7 +721,7 @@ public InstructionList getInstructionList(Pattern pattern) {
* 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.
Expand Down
2 changes: 1 addition & 1 deletion src/org/apache/xalan/xsltc/runtime/Hashtable.java
Expand Up @@ -303,7 +303,7 @@ public String toString() {
* 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[];
Expand Down

0 comments on commit 64ba81c

Please sign in to comment.