Skip to content

Commit 7bfb6af

Browse files
eclipse-platform-botakurtakov
authored andcommitted
Perform clean code of debug/org.eclipse.debug.tests
1 parent 47871af commit 7bfb6af

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

debug/org.eclipse.debug.tests/src/org/eclipse/debug/tests/console/IOConsoleTests.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,6 @@ public class IOConsoleTests extends AbstractDebugTest {
8181
* The console view used for the running test. Required to obtain access to
8282
* consoles {@link StyledText} widget to simulate user input.
8383
*/
84-
@SuppressWarnings("restriction")
8584
private org.eclipse.ui.internal.console.ConsoleView consoleView;
8685

8786
/** Track console finished property notification. */
@@ -114,7 +113,6 @@ public void setUp() throws Exception {
114113
if (viewPart == null) {
115114
viewPart = activePage.showView(IConsoleConstants.ID_CONSOLE_VIEW, null, IWorkbenchPage.VIEW_CREATE);
116115
}
117-
@SuppressWarnings("restriction")
118116
final org.eclipse.ui.internal.console.ConsoleView castConsoleView = (org.eclipse.ui.internal.console.ConsoleView) viewPart;
119117
consoleView = castConsoleView;
120118
activePage.activate(consoleView);
@@ -165,7 +163,6 @@ protected IOConsoleTestUtil getTestUtil(String title) {
165163
consoleManager.addConsoles(new IConsole[] { console });
166164
TestUtil.waitForJobs(name.getMethodName(), ConsoleManager.CONSOLE_JOB_FAMILY, 25, 10000);
167165
consoleManager.showConsoleView(console);
168-
@SuppressWarnings("restriction")
169166
final org.eclipse.ui.internal.console.IOConsolePage page = (org.eclipse.ui.internal.console.IOConsolePage) consoleView.getCurrentPage();
170167
final StyledText textPanel = (StyledText) page.getControl();
171168
return new IOConsoleTestUtil(console, textPanel, name.getMethodName());

0 commit comments

Comments
 (0)