avalon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From co...@apache.org
Subject cvs commit: jakarta-avalon/src/documentation/xdocs code-standards.xml
Date Fri, 28 Dec 2001 14:40:41 GMT
colus       01/12/28 06:40:41

  Modified:    src/documentation/xdocs code-standards.xml
  Log:
  Fixed example java syntax.
  
  Revision  Changes    Path
  1.4       +3 -3      jakarta-avalon/src/documentation/xdocs/code-standards.xml
  
  Index: code-standards.xml
  ===================================================================
  RCS file: /home/cvs/jakarta-avalon/src/documentation/xdocs/code-standards.xml,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- code-standards.xml	2001/11/19 12:00:49	1.3
  +++ code-standards.xml	2001/12/28 14:40:41	1.4
  @@ -145,7 +145,7 @@
   <source>
   while( myListIterator.hasNext() ) 
   {
  -    final String myString = (String)myListIterator.nextElement();
  +    final String myString = (String)myListIterator.next();
   }
   </source>
   </li>
  @@ -210,8 +210,8 @@
   <source>
   class MyClass
   {
  -    Class m_class = MyClass.getClass();
  -	int m_users;
  +    Class m_class = MyClass.class;
  +    int m_users;
   }
   </source>
   </li>
  
  
  

--
To unsubscribe, e-mail:   <mailto:avalon-cvs-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:avalon-cvs-help@jakarta.apache.org>


Mime
View raw message