Update "sourcePath" and "availableStrata" implementations in mock objects
This commit is contained in:
@@ -63,12 +63,12 @@ public class MockLocation implements Location {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String sourcePath() throws AbsentInformationException {
|
public String sourcePath() throws AbsentInformationException {
|
||||||
throw new UnsupportedOperationException();
|
throw new AbsentInformationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String sourcePath(String s) throws AbsentInformationException {
|
public String sourcePath(String s) throws AbsentInformationException {
|
||||||
throw new UnsupportedOperationException();
|
throw new AbsentInformationException();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ package org.jetbrains.kotlin.idea.debugger;
|
|||||||
|
|
||||||
import com.sun.jdi.*;
|
import com.sun.jdi.*;
|
||||||
|
|
||||||
|
import java.util.Collections;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
|
|
||||||
@@ -191,7 +192,7 @@ public class MockReferenceType implements ReferenceType {
|
|||||||
|
|
||||||
@Override
|
@Override
|
||||||
public List<String> availableStrata() {
|
public List<String> availableStrata() {
|
||||||
throw new UnsupportedOperationException();
|
return Collections.emptyList();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user