aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-batch/src/main
diff options
context:
space:
mode:
authorDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-01 14:13:13 +0200
committerDuarte Meneses <duarte.meneses@sonarsource.com>2015-09-04 10:33:16 +0200
commitae4728b46e5b88b084bd0ae939b3c6bf5f81ed01 (patch)
treeb43a96af883793e7ca87b08a5758f7f5c9496d0a /sonar-batch/src/main
parent8b89d87b5e7a6e5bdb093b9220e83c63b2647ff2 (diff)
downloadsonarqube-ae4728b46e5b88b084bd0ae939b3c6bf5f81ed01.tar.gz
sonarqube-ae4728b46e5b88b084bd0ae939b3c6bf5f81ed01.zip
Improve batch unit tests
Diffstat (limited to 'sonar-batch/src/main')
-rw-r--r--sonar-batch/src/main/java/org/sonar/batch/rule/DefaultRulesLoader.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-batch/src/main/java/org/sonar/batch/rule/DefaultRulesLoader.java b/sonar-batch/src/main/java/org/sonar/batch/rule/DefaultRulesLoader.java
index 9d055b064c1..b427cfed871 100644
--- a/sonar-batch/src/main/java/org/sonar/batch/rule/DefaultRulesLoader.java
+++ b/sonar-batch/src/main/java/org/sonar/batch/rule/DefaultRulesLoader.java
@@ -57,7 +57,7 @@ public class DefaultRulesLoader implements RulesLoader {
try (InputStream is = input.openStream()) {
return ListResponse.parseFrom(is);
} catch (IOException e) {
- throw new IllegalStateException("Unable to get previous issues", e);
+ throw new IllegalStateException("Unable to get rules", e);
}
}