diff options
author | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-20 12:26:24 +0200 |
---|---|---|
committer | Julien Lancelot <julien.lancelot@gmail.com> | 2013-08-20 12:26:24 +0200 |
commit | cfd9912407a505d6005d70f89ffc01c2d19b7ab4 (patch) | |
tree | bcb920437ce0055791f01d994dc3560d99e63e58 /plugins/sonar-design-plugin | |
parent | ab09254608fa6dcf5595891d9070e4d9faf21276 (diff) | |
download | sonarqube-cfd9912407a505d6005d70f89ffc01c2d19b7ab4.tar.gz sonarqube-cfd9912407a505d6005d70f89ffc01c2d19b7ab4.zip |
Fix quality flaws
Diffstat (limited to 'plugins/sonar-design-plugin')
-rw-r--r-- | plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/libraries/client/ProjectPanel.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/libraries/client/ProjectPanel.java b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/libraries/client/ProjectPanel.java index 0dff6d7e40d..14d269610b5 100644 --- a/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/libraries/client/ProjectPanel.java +++ b/plugins/sonar-design-plugin/src/main/java/org/sonar/plugins/design/ui/libraries/client/ProjectPanel.java @@ -108,7 +108,7 @@ public class ProjectPanel extends FlowPanel { } public void filter() { - boolean visible = (tree.getItemCount() == 0 && !filters.hasKeyword()); + boolean visible = tree.getItemCount() == 0 && !filters.hasKeyword(); for (int index = 0; index < tree.getItemCount(); index++) { Library lib = (Library) tree.getItem(index); visible |= !lib.filter(filters.getKeywordFilter().getKeyword(), filters.isTestFiltered()); |