Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
Diffstat (limited to 'org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java')
-rw-r--r--org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java22
1 files changed, 11 insertions, 11 deletions
diff --git a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java
index 0ff7735c2..9f42f18cd 100644
--- a/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java
+++ b/org.eclipse.debug.ui/ui/org/eclipse/debug/internal/ui/views/console/ProcessTypePropertyTester.java
@@ -25,17 +25,17 @@ import org.eclipse.ui.console.TextConsole;
*/
public class ProcessTypePropertyTester extends PropertyTester {
- @Override
+ @Override
public boolean test(Object receiver, String property, Object[] args, Object expectedValue) {
- if (receiver instanceof TextConsole) {
- TextConsole console = (TextConsole) receiver;
- IProcess process = (IProcess) console.getAttribute(IDebugUIConstants.ATTR_CONSOLE_PROCESS);
- if (process != null) {
- String type = process.getAttribute(IProcess.ATTR_PROCESS_TYPE);
- return (type != null && type.equals(expectedValue));
- }//end if
- }//end if
- return false;
- }//end test
+ if (receiver instanceof TextConsole) {
+ TextConsole console = (TextConsole) receiver;
+ IProcess process = (IProcess) console.getAttribute(IDebugUIConstants.ATTR_CONSOLE_PROCESS);
+ if (process != null) {
+ String type = process.getAttribute(IProcess.ATTR_PROCESS_TYPE);
+ return (type != null && type.equals(expectedValue));
+ }//end if
+ }//end if
+ return false;
+ }//end test
}//end class

Back to the top