From 06d5ba9879305c04d1d7e5076d67a38af2ef3a66 Mon Sep 17 00:00:00 2001 From: Mykola Nikishov Date: Wed, 15 May 2019 11:27:23 +0300 Subject: Main's searchFor returns null instead of throwing an exception Change-Id: I1e17c13829d2f25df708ebbec91e9173af8a50ca Signed-off-by: Mykola Nikishov --- .../src/org/eclipse/equinox/launcher/Main.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'bundles/org.eclipse.equinox.launcher/src/org/eclipse/equinox/launcher/Main.java') 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, null otherwise * @param start the location to begin searching */ protected String searchFor(final String target, String start) { -- cgit v1.2.3