You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by gg...@apache.org on 2003/07/26 02:31:30 UTC

cvs commit: jakarta-commons/lang/src/test/org/apache/commons/lang EntitiesTest.java

ggregory    2003/07/25 17:31:30

  Modified:    lang/src/test/org/apache/commons/lang EntitiesTest.java
  Log:
  Severity	Description	Resource	In Folder	Location	Creation Time
  	Unnecessary cast to type int for expression of type char. It is already compatible with the argument type int	EntitiesTest.java	Apache Jakarta Commons/lang/src/test/org/apache/commons/lang	line 130	July 23, 2003 11:22:39 AM
  
  Revision  Changes    Path
  1.7       +3 -2      jakarta-commons/lang/src/test/org/apache/commons/lang/EntitiesTest.java
  
  Index: EntitiesTest.java
  ===================================================================
  RCS file: /home/cvs/jakarta-commons/lang/src/test/org/apache/commons/lang/EntitiesTest.java,v
  retrieving revision 1.6
  retrieving revision 1.7
  diff -u -r1.6 -r1.7
  --- EntitiesTest.java	29 Jun 2003 03:04:33 -0000	1.6
  +++ EntitiesTest.java	26 Jul 2003 00:31:29 -0000	1.7
  @@ -63,6 +63,7 @@
    *
    * @author of original StringUtilsTest.testEscape = ?
    * @author <a href="mailto:alex@purpletech.com">Alexander Day Chaffee</a>
  + * @author <a href="mailto:ggregory@seagullsw.com">Gary Gregory</a>
    * @version $Id$
    */
   public class EntitiesTest extends TestCase
  @@ -127,7 +128,7 @@
       public void testEntitiesXmlObject() throws Exception
       {
           assertEquals("gt", Entities.XML.entityName('>'));
  -        assertEquals((int) '>', Entities.XML.entityValue("gt"));
  +        assertEquals('>', Entities.XML.entityValue("gt"));
           assertEquals(-1, Entities.XML.entityValue("xyzzy"));
       }
   
  
  
  

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