aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-runner-batch/src/main/java/org
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@gmail.com>2013-04-15 10:34:09 +0200
committerSimon Brandhof <simon.brandhof@gmail.com>2013-04-15 10:34:09 +0200
commit21dad0a028bdaf089fa674dda54de89b01c14da5 (patch)
treefe3e21cf5a380c96ace47c5d810335af0b200240 /sonar-runner-batch/src/main/java/org
parenta6a77ee19ae15393296c079ab9ddb3f976c4ea7f (diff)
downloadsonar-scanner-cli-21dad0a028bdaf089fa674dda54de89b01c14da5.tar.gz
sonar-scanner-cli-21dad0a028bdaf089fa674dda54de89b01c14da5.zip
Fix quality flaw
Diffstat (limited to 'sonar-runner-batch/src/main/java/org')
-rw-r--r--sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java
index 53fb313..e17ffbd 100644
--- a/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java
+++ b/sonar-runner-batch/src/main/java/org/sonar/runner/batch/ProjectReactorBuilder.java
@@ -485,7 +485,7 @@ class ProjectReactorBuilder {
filePattern = pattern.substring(i + 1);
}
List<IOFileFilter> filters = new ArrayList<IOFileFilter>();
- if (pattern.indexOf("*")>=0) {
+ if (pattern.indexOf('*')>=0) {
filters.add(FileFileFilter.FILE);
}
filters.add(new WildcardFileFilter(filePattern));