aboutsummaryrefslogtreecommitdiffstats
path: root/sonar-testing-harness
diff options
context:
space:
mode:
authorSébastien Lesaint <sebastien.lesaint@sonarsource.com>2017-08-18 16:11:54 +0200
committerSimon Brandhof <simon.brandhof@sonarsource.com>2017-09-05 14:24:12 +0200
commitae5637262461062c7e5fac17c1d6ac5792b5284d (patch)
treea819ae65cbabe3d25fbc8897e9337ad8b66f56a5 /sonar-testing-harness
parent4b8987715d5a476d3293a4a3e9d8e3f8d7a32e33 (diff)
downloadsonarqube-ae5637262461062c7e5fac17c1d6ac5792b5284d.tar.gz
sonarqube-ae5637262461062c7e5fac17c1d6ac5792b5284d.zip
SONAR-9590 only heap and heap dump options are now in search.javaOpts
Diffstat (limited to 'sonar-testing-harness')
-rw-r--r--sonar-testing-harness/src/main/java/org/sonar/test/ExceptionCauseMatcher.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/sonar-testing-harness/src/main/java/org/sonar/test/ExceptionCauseMatcher.java b/sonar-testing-harness/src/main/java/org/sonar/test/ExceptionCauseMatcher.java
index 1c687510121..c016590617c 100644
--- a/sonar-testing-harness/src/main/java/org/sonar/test/ExceptionCauseMatcher.java
+++ b/sonar-testing-harness/src/main/java/org/sonar/test/ExceptionCauseMatcher.java
@@ -64,7 +64,7 @@ public class ExceptionCauseMatcher extends TypeSafeMatcher<Throwable> {
@Override
protected boolean matchesSafely(Throwable item) {
- if (!item.getClass().isAssignableFrom(type)) {
+ if (!type.isAssignableFrom(item.getClass())) {
return false;
}
if (expectedMessage == null) {