diff options
author | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-01 13:48:59 +0200 |
---|---|---|
committer | Simon Brandhof <simon.brandhof@sonarsource.com> | 2014-09-01 13:48:59 +0200 |
commit | cf818e127b54dbb9791e206874146c62b680a3f9 (patch) | |
tree | b3b87485ac2b2779488bc3b6ed650298784bf4c1 /server/sonar-search | |
parent | cb005882b404e49ea7f2a5a9c7f06c3c9f7038b2 (diff) | |
download | sonarqube-cf818e127b54dbb9791e206874146c62b680a3f9.tar.gz sonarqube-cf818e127b54dbb9791e206874146c62b680a3f9.zip |
Fix some quality flaws
Diffstat (limited to 'server/sonar-search')
-rw-r--r-- | server/sonar-search/src/main/java/org/sonar/search/SearchServer.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java b/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java index 0fbb934c7c7..1abf733b66b 100644 --- a/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java +++ b/server/sonar-search/src/main/java/org/sonar/search/SearchServer.java @@ -58,7 +58,7 @@ public class SearchServer extends MonitoredProcess { private final boolean isBlocking; private Node node; - private final Integer lock = new Integer(1); + private final Object lock = new Object(); @VisibleForTesting public SearchServer(final Props props, boolean monitored, boolean blocking) { |