Skip to main content
summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarkus Keller2011-03-07 10:50:10 +0000
committerMarkus Keller2011-03-07 10:50:10 +0000
commit4c7af5458ffdc591a9950f42434fa1c914eb4031 (patch)
treeb4d018ea0551a33e96da4c685f3aa21020dc8370 /org.eclipse.ui.editors
parentd67a98cf83fdd89fd5f8fdc7432cfa334b322330 (diff)
downloadeclipse.platform.text-4c7af5458ffdc591a9950f42434fa1c914eb4031.tar.gz
eclipse.platform.text-4c7af5458ffdc591a9950f42434fa1c914eb4031.tar.xz
eclipse.platform.text-4c7af5458ffdc591a9950f42434fa1c914eb4031.zip
removed dead codev20110307-2000a
Diffstat (limited to 'org.eclipse.ui.editors')
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AddMarkerAction.java5
-rw-r--r--org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/MarkerRulerAction.java3
2 files changed, 1 insertions, 7 deletions
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AddMarkerAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AddMarkerAction.java
index e9fb07a03e9..ea168a54ead 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AddMarkerAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/AddMarkerAction.java
@@ -1,5 +1,5 @@
/*******************************************************************************
- * Copyright (c) 2000, 2008 IBM Corporation and others.
+ * Copyright (c) 2000, 2011 IBM Corporation and others.
* All rights reserved. This program and the accompanying materials
* are made available under the terms of the Eclipse Public License v1.0
* which accompanies this distribution, and is available at
@@ -175,9 +175,6 @@ public class AddMarkerAction extends TextEditorAction {
Object o= attributes.get("message"); //$NON-NLS-1$
String proposal= (o instanceof String) ? (String) o : ""; //$NON-NLS-1$
- if (proposal == null)
- proposal= ""; //$NON-NLS-1$
-
String title= getString(fBundle, fPrefix + "dialog.title", fPrefix + "dialog.title"); //$NON-NLS-2$ //$NON-NLS-1$
String message= getString(fBundle, fPrefix + "dialog.message", fPrefix + "dialog.message"); //$NON-NLS-2$ //$NON-NLS-1$
IInputValidator inputValidator= new IInputValidator() {
diff --git a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/MarkerRulerAction.java b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/MarkerRulerAction.java
index e429502a51b..a59f471fc42 100644
--- a/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/MarkerRulerAction.java
+++ b/org.eclipse.ui.editors/src/org/eclipse/ui/texteditor/MarkerRulerAction.java
@@ -400,9 +400,6 @@ public class MarkerRulerAction extends ResourceAction implements IUpdate {
Object o= attributes.get("message"); //$NON-NLS-1$
String proposal= (o instanceof String) ? (String) o : ""; //$NON-NLS-1$
- if (proposal == null)
- proposal= ""; //$NON-NLS-1$
-
String title= getString(fBundle, fPrefix + "add.dialog.title", fPrefix + "add.dialog.title"); //$NON-NLS-2$ //$NON-NLS-1$
String message= getString(fBundle, fPrefix + "add.dialog.message", fPrefix + "add.dialog.message"); //$NON-NLS-2$ //$NON-NLS-1$
IInputValidator inputValidator= new IInputValidator() {

Back to the top