You are viewing a plain text version of this content. The canonical link for it is here.
Posted to log4j-dev@logging.apache.org by ce...@apache.org on 2004/12/01 10:41:01 UTC

cvs commit: logging-log4j/src/java/org/apache/log4j/joran JoranConfigurator.java

ceki        2004/12/01 01:41:01

  Modified:    examples/src/joran/implicit PrintMe.java
               tests/src/java/org/apache/joran InterpreterTest.java
               src/java/org/apache/joran Interpreter.java
               src/java/org/apache/log4j/joran JoranConfigurator.java
  Log:
  Typo corrections in method names.
  
  Revision  Changes    Path
  1.3       +1 -1      logging-log4j/examples/src/joran/implicit/PrintMe.java
  
  Index: PrintMe.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/examples/src/joran/implicit/PrintMe.java,v
  retrieving revision 1.2
  retrieving revision 1.3
  diff -u -r1.2 -r1.3
  --- PrintMe.java	10 Apr 2004 13:55:58 -0000	1.2
  +++ PrintMe.java	1 Dec 2004 09:41:00 -0000	1.3
  @@ -57,7 +57,7 @@
       // --------------------------+
       // Add an implicit action.   |
       // --------------------------+
  -    ji.addImplcitAction(new PrintMeImplicitAction());
  +    ji.addImplicitAction(new PrintMeImplicitAction());
       
       // Create a SAX parser
       SAXParserFactory spf = SAXParserFactory.newInstance();
  
  
  
  1.9       +2 -2      logging-log4j/tests/src/java/org/apache/joran/InterpreterTest.java
  
  Index: InterpreterTest.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/tests/src/java/org/apache/joran/InterpreterTest.java,v
  retrieving revision 1.8
  retrieving revision 1.9
  diff -u -r1.8 -r1.9
  --- InterpreterTest.java	19 Nov 2004 15:20:06 -0000	1.8
  +++ InterpreterTest.java	1 Dec 2004 09:41:00 -0000	1.9
  @@ -292,7 +292,7 @@
       rs.addRule(new Pattern("*/param"), new ParamAction());
   
       Interpreter jp = new Interpreter(rs);
  -    jp.addImplcitAction(new NestComponentIA());
  +    jp.addImplicitAction(new NestComponentIA());
   
       ExecutionContext ec = jp.getExecutionContext();
       HashMap omap = ec.getObjectMap();
  @@ -337,7 +337,7 @@
       rs.addRule(new Pattern("*/param"), new ParamAction());
   
       Interpreter jp = new Interpreter(rs);
  -    jp.addImplcitAction(new NestComponentIA());
  +    jp.addImplicitAction(new NestComponentIA());
   
       ExecutionContext ec = jp.getExecutionContext();
       HashMap omap = ec.getObjectMap();
  
  
  
  1.21      +3 -3      logging-log4j/src/java/org/apache/joran/Interpreter.java
  
  Index: Interpreter.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/joran/Interpreter.java,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- Interpreter.java	24 Nov 2004 18:28:47 -0000	1.20
  +++ Interpreter.java	1 Dec 2004 09:41:00 -0000	1.21
  @@ -115,7 +115,7 @@
   
       pattern.push(tagName);
   
  -    List applicableActionList = getapplicableActionList(pattern, atts);
  +    List applicableActionList = getApplicableActionList(pattern, atts);
   
       if (applicableActionList != null) {
         actionListStack.add(applicableActionList);
  @@ -160,7 +160,7 @@
       return tagName;
     }
   
  -  public void addImplcitAction(ImplicitAction ia) {
  +  public void addImplicitAction(ImplicitAction ia) {
       implicitActions.add(ia);
     }
   
  @@ -189,7 +189,7 @@
     /**
      * Return the list of applicable patterns for this
     */
  -  List getapplicableActionList(Pattern pattern, Attributes attributes) {
  +  List getApplicableActionList(Pattern pattern, Attributes attributes) {
       List applicableActionList = ruleStore.matchActions(pattern);
   
       //logger.debug("set of applicable patterns: " + applicableActionList);
  
  
  
  1.24      +1 -1      logging-log4j/src/java/org/apache/log4j/joran/JoranConfigurator.java
  
  Index: JoranConfigurator.java
  ===================================================================
  RCS file: /home/cvs/logging-log4j/src/java/org/apache/log4j/joran/JoranConfigurator.java,v
  retrieving revision 1.23
  retrieving revision 1.24
  diff -u -r1.23 -r1.24
  --- JoranConfigurator.java	30 Nov 2004 00:02:02 -0000	1.23
  +++ JoranConfigurator.java	1 Dec 2004 09:41:01 -0000	1.24
  @@ -234,7 +234,7 @@
       joranInterpreter = new Interpreter(rs);
   
       // The following line adds the capability to parse nested components
  -    joranInterpreter.addImplcitAction(new NestComponentIA());
  +    joranInterpreter.addImplicitAction(new NestComponentIA());
       ExecutionContext ec = joranInterpreter.getExecutionContext();
   
       HashMap omap = ec.getObjectMap();
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-dev-unsubscribe@logging.apache.org
For additional commands, e-mail: log4j-dev-help@logging.apache.org