jmeter-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pmoua...@apache.org
Subject svn commit: r1197444 - in /jmeter/trunk/src/core/org/apache/jmeter/gui/action: RawTextSearcher.java RegexpSearcher.java
Date Fri, 04 Nov 2011 09:12:15 GMT
Author: pmouawad
Date: Fri Nov  4 09:12:15 2011
New Revision: 1197444

URL: http://svn.apache.org/viewvc?rev=1197444&view=rev
Log:
Bug 51876 - Functionnality to search in Samplers TreeView
Fixed compilation errors 
Added javadocs

Modified:
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/RawTextSearcher.java
    jmeter/trunk/src/core/org/apache/jmeter/gui/action/RegexpSearcher.java

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/RawTextSearcher.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RawTextSearcher.java?rev=1197444&r1=1197443&r2=1197444&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/RawTextSearcher.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/RawTextSearcher.java Fri Nov  4 09:12:15
2011
@@ -23,7 +23,7 @@ import java.util.List;
 import org.apache.commons.lang.StringUtils;
 
 /**
- * 
+ * Searcher implementation that searches text as is
  */
 public class RawTextSearcher implements Searcher {
 	private boolean caseSensitive;
@@ -31,9 +31,9 @@ public class RawTextSearcher implements 
 	
 
 	/**
-	 * 
-	 * @param caseSensitive
-	 * @param textToSearch
+	 * Constructor
+	 * @param caseSensitive is search case sensitive
+	 * @param textToSearch Text to search
 	 */
 	public RawTextSearcher(boolean caseSensitive, String textToSearch) {
 		super();
@@ -45,12 +45,9 @@ public class RawTextSearcher implements 
 		}
 	}
 
-
-
-	/* (non-Javadoc)
-	 * @see org.apache.jmeter.gui.action.ISearcher#search(java.util.List)
+	/**
+	 * {@inheritDoc}
 	 */
-	@Override
 	public boolean search(List<String> textTokens) {
 		boolean result = false;
 		for (String searchableToken : textTokens) {

Modified: jmeter/trunk/src/core/org/apache/jmeter/gui/action/RegexpSearcher.java
URL: http://svn.apache.org/viewvc/jmeter/trunk/src/core/org/apache/jmeter/gui/action/RegexpSearcher.java?rev=1197444&r1=1197443&r2=1197444&view=diff
==============================================================================
--- jmeter/trunk/src/core/org/apache/jmeter/gui/action/RegexpSearcher.java (original)
+++ jmeter/trunk/src/core/org/apache/jmeter/gui/action/RegexpSearcher.java Fri Nov  4 09:12:15
2011
@@ -33,8 +33,9 @@ public class RegexpSearcher implements S
 	
 
 	/**
-	 * @param caseSensitive
-	 * @param regexp
+	 * Constructor
+	 * @param caseSensitive is search case sensitive
+	 * @param regexp Regexp to search
 	 */
 	public RegexpSearcher(boolean caseSensitive, String regexp) {
 		super();
@@ -48,8 +49,8 @@ public class RegexpSearcher implements S
 	}
 
 
-	/* (non-Javadoc)
-	 * @see org.apache.jmeter.gui.action.ISearcher#search(java.util.List)
+	/**
+	 * {@inheritDoc}
 	 */
 	@Override
 	public boolean search(List<String> textTokens) {



Mime
View raw message