aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-core
diff options
context:
space:
mode:
authorSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-12 16:03:49 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-05-12 16:04:12 +0200
commitfff73903632519aa70356279a77e8cae2e50db05 (patch)
treee8f776648dbab2c19aff55a851493bb4a3f4589f /sonar-core
parent474a8d844d38d7fa47beadea7acf62f35f698d92 (diff)
downloadsonarqube-fff73903632519aa70356279a77e8cae2e50db05.tar.gz
sonarqube-fff73903632519aa70356279a77e8cae2e50db05.zip
Fix Quality flaws
Diffstat (limited to 'sonar-core')
-rw-r--r--sonar-core/src/main/java/org/sonar/core/i18n/DefaultI18n.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-core/src/main/java/org/sonar/core/i18n/DefaultI18n.java b/sonar-core/src/main/java/org/sonar/core/i18n/DefaultI18n.java
index 75e135919ee..116d2c1c2a4 100644
--- a/sonar-core/src/main/java/org/sonar/core/i18n/DefaultI18n.java
+++ b/sonar-core/src/main/java/org/sonar/core/i18n/DefaultI18n.java
@@ -210,7 +210,7 @@ public class DefaultI18n implements I18n, Startable {
return result;
}
- private String readInputStream(String filePath, InputStream input) {
+ private static String readInputStream(String filePath, InputStream input) {
String result;
try {
result = IOUtils.toString(input, "UTF-8");