summaryrefslogtreecommitdiff
path: root/java/integrationtests
diff options
context:
space:
mode:
authorRobert Greig <rgreig@apache.org>2007-03-28 09:30:49 +0000
committerRobert Greig <rgreig@apache.org>2007-03-28 09:30:49 +0000
commit9180adf0265c0e31fa217836915914c40731772f (patch)
tree7ad4a36fcadcdcd24fd9b83aa0395a9a8bac6d49 /java/integrationtests
parent67d4453185722dfdf6d5f88c53ab30a9d97439d4 (diff)
downloadqpid-python-9180adf0265c0e31fa217836915914c40731772f.tar.gz
Reversed accidental replacing of the word 'initialize' in comments to 'establishConnection' through a method refactoring.
git-svn-id: https://svn.apache.org/repos/asf/incubator/qpid/branches/M2@523245 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'java/integrationtests')
-rw-r--r--java/integrationtests/src/main/java/org/apache/qpid/util/ClasspathScanner.java12
1 files changed, 6 insertions, 6 deletions
diff --git a/java/integrationtests/src/main/java/org/apache/qpid/util/ClasspathScanner.java b/java/integrationtests/src/main/java/org/apache/qpid/util/ClasspathScanner.java
index b97aebe001..bad49060ca 100644
--- a/java/integrationtests/src/main/java/org/apache/qpid/util/ClasspathScanner.java
+++ b/java/integrationtests/src/main/java/org/apache/qpid/util/ClasspathScanner.java
@@ -33,7 +33,7 @@ import org.apache.log4j.Logger;
*
* <p/>In order to test whether a class implements an interface or extends a class, the class must be loaded (unless
* the class files were to be scanned directly). Using this collector can cause problems when it scans the classpath,
- * because loading classes will establishConnection their statics, which in turn may cause undesired side effects. For this
+ * because loading classes will initialize their statics, which in turn may cause undesired side effects. For this
* reason, the collector should always be used with a regular expression, through which the class file names are
* filtered, and only those that pass this filter will be tested. For example, if you define tests in classes that
* end with the keyword "Test" then use the regular expression "Test$" to match this.
@@ -61,10 +61,10 @@ public class ClasspathScanner
* @return All the classes that match this collector.
*/
public static <T> Collection<Class<? extends T>> getMatches(Class<T> matchingClass, String matchingRegexp,
- boolean beanOnly)
+ boolean beanOnly)
{
log.debug("public static <T> Collection<Class<? extends T>> getMatches(Class<T> matchingClass = " + matchingClass
- + ", String matchingRegexp = " + matchingRegexp + ", boolean beanOnly = " + beanOnly + "): called");
+ + ", String matchingRegexp = " + matchingRegexp + ", boolean beanOnly = " + beanOnly + "): called");
// Build a compiled regular expression from the pattern to match.
Pattern matchPattern = Pattern.compile(matchingRegexp);
@@ -95,11 +95,11 @@ public class ClasspathScanner
* iteration.
*/
private static <T> void gatherFiles(File classRoot, String classFileName, Map<String, Class<? extends T>> result,
- Pattern matchPattern, Class<? extends T> matchClass)
+ Pattern matchPattern, Class<? extends T> matchClass)
{
log.debug("private static <T> void gatherFiles(File classRoot = " + classRoot + ", String classFileName = "
- + classFileName + ", Map<String, Class<? extends T>> result, Pattern matchPattern = " + matchPattern
- + ", Class<? extends T> matchClass = " + matchClass + "): called");
+ + classFileName + ", Map<String, Class<? extends T>> result, Pattern matchPattern = " + matchPattern
+ + ", Class<? extends T> matchClass = " + matchClass + "): called");
File thisRoot = new File(classRoot, classFileName);