diff options
author | David Gageot <david@gageot.net> | 2015-05-12 10:42:31 +0200 |
---|---|---|
committer | David Gageot <david@gageot.net> | 2015-05-12 14:33:41 +0200 |
commit | 7d5701e0a327448484ccee968e12ae3d9162d407 (patch) | |
tree | 48765dedbd2125480a531d71e30801ee44d8bce9 /server/sonar-process | |
parent | 4bab89867b0484fa9d21d0d54e6d7687d2b2f5bf (diff) | |
download | sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.tar.gz sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.zip |
Useless code
Diffstat (limited to 'server/sonar-process')
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/Encryption.java | 2 | ||||
-rw-r--r-- | server/sonar-process/src/main/java/org/sonar/process/MinimumViableSystem.java | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/server/sonar-process/src/main/java/org/sonar/process/Encryption.java b/server/sonar-process/src/main/java/org/sonar/process/Encryption.java index cca05e6c780..fe9d66ec08f 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/Encryption.java +++ b/server/sonar-process/src/main/java/org/sonar/process/Encryption.java @@ -37,7 +37,7 @@ public final class Encryption { private static final String AES_ALGORITHM = "aes"; private final AesCipher aesCipher; - private final Map<String, Cipher> ciphers = new HashMap<String, Cipher>(); + private final Map<String, Cipher> ciphers = new HashMap<>(); private static final Pattern ENCRYPTED_PATTERN = Pattern.compile("\\{(.*?)\\}(.*)"); public Encryption(@Nullable String pathToSecretKey) { diff --git a/server/sonar-process/src/main/java/org/sonar/process/MinimumViableSystem.java b/server/sonar-process/src/main/java/org/sonar/process/MinimumViableSystem.java index 2389fa5aa18..fdbc7217611 100644 --- a/server/sonar-process/src/main/java/org/sonar/process/MinimumViableSystem.java +++ b/server/sonar-process/src/main/java/org/sonar/process/MinimumViableSystem.java @@ -29,7 +29,7 @@ import java.util.Map; public class MinimumViableSystem { - private final Map<String, String> requiredJavaOptions = new HashMap<String, String>(); + private final Map<String, String> requiredJavaOptions = new HashMap<>(); public MinimumViableSystem setRequiredJavaOption(String propertyKey, String expectedValue) { requiredJavaOptions.put(propertyKey, expectedValue); |