vdkoogh     2003/11/20 01:00:33

  Modified:    src/org/apache/xml/security/utils RFC2253Parser.java
  Log:
  Renamed static int i to counter to avoid confusion with the is that are used 
in the non-static code
  
  
  CVS: ----------------------------------------------------------------------
  CVS: PR:
  CVS:   If this change addresses a PR in the problem report tracking
  CVS:   database, then enter the PR number(s) here.
  CVS: Obtained from:
  CVS:   If this change has been taken from another system, such as NCSA,
  CVS:   then name the system in this line, otherwise delete it.
  CVS: Submitted by:
  CVS:   If this code has been contributed to Apache by someone else; i.e.,
  CVS:   they sent us a patch or a new module, then include their name/email
  CVS:   address here. If this is your work then delete this line.
  CVS: Reviewed by:
  CVS:   If we are doing pre-commit code reviews and someone else has
  CVS:   reviewed your changes, include their name(s) here.
  CVS:   If you have not had it reviewed then delete this line.
  
  Revision  Changes    Path
  1.6       +4 -4      
xml-security/src/org/apache/xml/security/utils/RFC2253Parser.java
  
  Index: RFC2253Parser.java
  ===================================================================
  RCS file: 
/home/cvs/xml-security/src/org/apache/xml/security/utils/RFC2253Parser.java,v
  retrieving revision 1.5
  retrieving revision 1.6
  diff -u -r1.5 -r1.6
  --- RFC2253Parser.java        29 Apr 2003 21:36:56 -0000      1.5
  +++ RFC2253Parser.java        20 Nov 2003 09:00:33 -0000      1.6
  @@ -578,7 +578,7 @@
      }
   
      /** Field i */
  -   static int i = 0;
  +   static int counter = 0;
   
      /**
       * Method test
  @@ -587,7 +587,7 @@
       */
      static void testToXML(String st) {
   
  -      System.out.println("start " + i++ + ": " + st);
  +      System.out.println("start " + counter++ + ": " + st);
         System.out.println("         " + rfc2253toXMLdsig(st));
         System.out.println("");
      }
  @@ -599,7 +599,7 @@
       */
      static void testToRFC(String st) {
   
  -      System.out.println("start " + i++ + ": " + st);
  +      System.out.println("start " + counter++ + ": " + st);
         System.out.println("         " + xmldsigtoRFC2253(st));
         System.out.println("");
      }
  
  
  

Reply via email to