Skip to content

Commit 276983c

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of debug/org.eclipse.core.externaltools
1 parent a518c62 commit 276983c

File tree

1 file changed

+1
-2
lines changed
  • debug/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model

1 file changed

+1
-2
lines changed

debug/org.eclipse.core.externaltools/src/org/eclipse/core/externaltools/internal/model/BuilderCoreUtils.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -202,8 +202,7 @@ public static ICommand toBuildCommand(IProject project, ILaunchConfiguration con
202202
}
203203
} else {
204204
ILaunchConfiguration temp = config;
205-
if (config instanceof ILaunchConfigurationWorkingCopy) {
206-
ILaunchConfigurationWorkingCopy workingCopy = (ILaunchConfigurationWorkingCopy) config;
205+
if (config instanceof ILaunchConfigurationWorkingCopy workingCopy) {
207206
if (workingCopy.getOriginal() != null) {
208207
temp = workingCopy.getOriginal();
209208
}

0 commit comments

Comments
 (0)