Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDani Megert2001-11-07 10:06:29 -0500
committerDani Megert2001-11-07 10:06:29 -0500
commit4d957f74e8d15c77ef066d5e414e1f1be6bab569 (patch)
treea4b65c0e1ffb29a281b54af72cc8e7f5f38cbad9
parent2880f5121571ab5782f7dd262b767e47265bbcc5 (diff)
downloadeclipse.platform.text-4d957f74e8d15c77ef066d5e414e1f1be6bab569.tar.gz
eclipse.platform.text-4d957f74e8d15c77ef066d5e414e1f1be6bab569.tar.xz
eclipse.platform.text-4d957f74e8d15c77ef066d5e414e1f1be6bab569.zip
Don't NLS Asserts
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/core/text/TypedResourceVisitor.java2
-rw-r--r--org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties2
2 files changed, 1 insertions, 3 deletions
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/core/text/TypedResourceVisitor.java b/org.eclipse.search/search/org/eclipse/search/internal/core/text/TypedResourceVisitor.java
index e75cdb29d..9929644f1 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/core/text/TypedResourceVisitor.java
+++ b/org.eclipse.search/search/org/eclipse/search/internal/core/text/TypedResourceVisitor.java
@@ -25,7 +25,7 @@ public class TypedResourceVisitor implements IResourceVisitor {
case IResource.PROJECT:
return visitProject((IProject)resource);
default:
- Assert.isTrue(false, SearchMessages.getString("TypedResourceVisitor.unknownResourceType")); //$NON-NLS-1$
+ Assert.isTrue(false, "unknown resource type"); //$NON-NLS-1$
}
return false;
}
diff --git a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
index 43b0b5d4b..d73695b9c 100644
--- a/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
+++ b/org.eclipse.search/search/org/eclipse/search/internal/ui/SearchMessages.properties
@@ -103,8 +103,6 @@ PreviousSearchesDialog.message= &Select one of the searches
# The first argument will be replaced by the pattern, the second by the count and the last by the scope
TextSearchOperation.descriptionPostfix= "{0}" - {1} Occurrences in {2}
-TypedResourceVisitor.unknownResourceType= Unknown resource type
-
OpenSearchDialogAction.label= Search
OpenSearchDialogAction.tooltip= Search

Back to the top