Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2019-05-15 03:32:55 -0400
committerMykola Nikishov2019-05-15 05:23:30 -0400
commit935c590bab4c3d34d3de15d8c88cd6af949a8ce2 (patch)
treea5db8b0e07369a2cc60a1faab12afbe1308d912f
parent1603715d7ac7f727f9d5dcc537c629e023874ab4 (diff)
downloadrt.equinox.framework-935c590bab4c3d34d3de15d8c88cd6af949a8ce2.tar.gz
rt.equinox.framework-935c590bab4c3d34d3de15d8c88cd6af949a8ce2.tar.xz
rt.equinox.framework-935c590bab4c3d34d3de15d8c88cd6af949a8ce2.zip
Inline single invocation of Main's searchFor(String, String, String)I20190515-1800
It's 2nd parameter is not used and it makes the method an equivalent of searchFor(String, String), which remains. Change-Id: I306b26aec267436429e95ceff7f312b237783f5b Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java4
1 files changed, 0 insertions, 4 deletions
diff --git a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
index 94cb082f3..8470e32f5 100644
--- a/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
+++ b/bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java
@@ -1010,10 +1010,6 @@ public class Main {
* @param start the location to begin searching
*/
protected String searchFor(final String target, String start) {
- return searchFor(target, null, start);
- }
-
- protected String searchFor(final String target, final String targetSuffix, String start) {
File root = resolveFile(new File(start));
// Note that File.list only gives you file names not the complete path from start

Back to the top