Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2019-05-15 07:32:55 +0000
committerMykola Nikishov2019-05-15 09:23:30 +0000
commit935c590bab4c3d34d3de15d8c88cd6af949a8ce2 (patch)
treea5db8b0e07369a2cc60a1faab12afbe1308d912f
parent1603715d7ac7f727f9d5dcc537c629e023874ab4 (diff)
downloadrt.equinox.framework-I20190515-1800.tar.gz
rt.equinox.framework-I20190515-1800.tar.xz
rt.equinox.framework-I20190515-1800.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