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 /sonar-application/src | |
parent | 4bab89867b0484fa9d21d0d54e6d7687d2b2f5bf (diff) | |
download | sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.tar.gz sonarqube-7d5701e0a327448484ccee968e12ae3d9162d407.zip |
Useless code
Diffstat (limited to 'sonar-application/src')
-rw-r--r-- | sonar-application/src/main/java/org/sonar/application/JdbcSettings.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java index d9f35910a2c..d85612b74fa 100644 --- a/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java +++ b/sonar-application/src/main/java/org/sonar/application/JdbcSettings.java @@ -59,7 +59,7 @@ public class JdbcSettings { if (!dir.exists()) { throw new MessageException("Directory does not exist: " + dirPath); } - List<File> files = new ArrayList<File>(FileUtils.listFiles(dir, new String[] {"jar"}, false)); + List<File> files = new ArrayList<>(FileUtils.listFiles(dir, new String[] {"jar"}, false)); if (files.isEmpty()) { throw new MessageException("Directory does not contain JDBC driver: " + dirPath); } |