chukwa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From asrab...@apache.org
Subject svn commit: r921937 - /hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java
Date Thu, 11 Mar 2010 17:04:30 GMT
Author: asrabkin
Date: Thu Mar 11 17:04:29 2010
New Revision: 921937

URL: http://svn.apache.org/viewvc?rev=921937&view=rev
Log:
CHUKWA-463. Fix patch.

Modified:
    hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java

Modified: hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java
URL: http://svn.apache.org/viewvc/hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java?rev=921937&r1=921936&r2=921937&view=diff
==============================================================================
--- hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java (original)
+++ hadoop/chukwa/trunk/src/java/org/apache/hadoop/chukwa/ChunkImpl.java Thu Mar 11 17:04:29
2010
@@ -187,7 +187,7 @@ public class ChunkImpl implements org.ap
     Pattern tagPattern = Pattern.compile("\\b"+tagName+"=\"(.*?)\"\\b");
     if (tags != null) {
       Matcher matcher = tagPattern.matcher(tags);
-      if (matcher.matches()) {
+      if (matcher.find()) {
         return matcher.group(1);
       }
     }



Mime
View raw message