diff options
author | Simon Brandhof <simon.brandhof@gmail.com> | 2013-04-15 10:34:09 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@gmail.com> | 2013-04-15 10:34:09 +0200 |
commit | 21dad0a028bdaf089fa674dda54de89b01c14da5 (patch) | |
tree | fe3e21cf5a380c96ace47c5d810335af0b200240 /sonar-runner-batch/src/main/java/org | |
parent | a6a77ee19ae15393296c079ab9ddb3f976c4ea7f (diff) | |
download | sonar-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.java | 2 |
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)); |