Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMykola Nikishov2019-05-15 04:27:23 -0400
committerMykola Nikishov2019-05-15 05:25:36 -0400
commit06d5ba9879305c04d1d7e5076d67a38af2ef3a66 (patch)
treedd423583ad186bf303ab4125f2b004beb962fdc0
parent935c590bab4c3d34d3de15d8c88cd6af949a8ce2 (diff)
downloadrt.equinox.framework-06d5ba9879305c04d1d7e5076d67a38af2ef3a66.tar.gz
rt.equinox.framework-06d5ba9879305c04d1d7e5076d67a38af2ef3a66.tar.xz
rt.equinox.framework-06d5ba9879305c04d1d7e5076d67a38af2ef3a66.zip
Main's searchFor returns null instead of throwing an exception
Change-Id: I1e17c13829d2f25df708ebbec91e9173af8a50ca Signed-off-by: Mykola Nikishov <mn@mn.com.ua>
-rw-r--r--bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java5
1 files changed, 2 insertions, 3 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 8470e32f5..71bea46d8 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
@@ -1003,10 +1003,9 @@ public class Main {
/**
* Searches for the given target directory starting in the "plugins" subdirectory
- * of the given location. If one is found then this location is returned;
- * otherwise an exception is thrown.
+ * of the given location.
*
- * @return the location where target directory was found
+ * @return the location where target directory was found, <code>null</code> otherwise
* @param start the location to begin searching
*/
protected String searchFor(final String target, String start) {

Back to the top