From 21dad0a028bdaf089fa674dda54de89b01c14da5 Mon Sep 17 00:00:00 2001 From: Simon Brandhof Date: Mon, 15 Apr 2013 10:34:09 +0200 Subject: [PATCH] Fix quality flaw --- .../main/java/org/sonar/runner/batch/ProjectReactorBuilder.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 filters = new ArrayList(); - if (pattern.indexOf("*")>=0) { + if (pattern.indexOf('*')>=0) { filters.add(FileFileFilter.FILE); } filters.add(new WildcardFileFilter(filePattern)); -- 2.39.5