Skip to content

Commit b92895b

Browse files
committed
Have all clone() declarations declare a throws clause
1 parent c8998a3 commit b92895b

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

third_party/src/main/java/com/jetbrains/lang/dart/ide/runner/server/DartCommandLineRunnerParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ public void check(final @NotNull Project project) throws RuntimeConfigurationErr
168168
}
169169

170170
@Override
171-
protected DartCommandLineRunnerParameters clone() {
171+
protected DartCommandLineRunnerParameters clone() throws CloneNotSupportedException {
172172
try {
173173
final DartCommandLineRunnerParameters clone = (DartCommandLineRunnerParameters)super.clone();
174174
clone.myEnvs = new LinkedHashMap<>();

third_party/src/main/java/com/jetbrains/lang/dart/ide/runner/server/DartRemoteDebugParameters.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ public void setDartProjectPath(final @NotNull String dartProjectPath) {
1515
}
1616

1717
@Override
18-
protected DartRemoteDebugParameters clone() {
18+
protected DartRemoteDebugParameters clone() throws CloneNotSupportedException {
1919
try {
2020
return (DartRemoteDebugParameters)super.clone();
2121
}

0 commit comments

Comments
 (0)