abdera-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From jmsn...@apache.org
Subject svn commit: r555888 - /incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java
Date Fri, 13 Jul 2007 06:12:36 GMT
Author: jmsnell
Date: Thu Jul 12 23:12:35 2007
New Revision: 555888

URL: http://svn.apache.org/viewvc?view=rev&rev=555888
Log:
Fix for https://issues.apache.org/jira/browse/ABDERA-50

Modified:
    incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java

Modified: incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java
URL: http://svn.apache.org/viewvc/incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java?view=diff&rev=555888&r1=555887&r2=555888
==============================================================================
--- incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java (original)
+++ incubator/abdera/java/trunk/core/src/main/java/org/apache/abdera/util/EntityTag.java Thu
Jul 12 23:12:35 2007
@@ -114,7 +114,7 @@
   }
   
   private void checkTag(String tag) {
-    if (tag.contains("\"")) 
+    if (tag.indexOf('"') != -1)
       throw new IllegalArgumentException(INVALID_ENTITY_TAG);
   }
   



Mime
View raw message