X-Git-Url: http://source.jalview.org/gitweb/?a=blobdiff_plain;ds=sidebyside;f=engine%2Fcompbio%2Fengine%2Fconf%2FPropertyHelperManager.java;h=fb353624e1191b712494795128b5238de05fbb37;hb=ba2d4e920e433bd080f448248e7dacade69a27a0;hp=939e5fe100bbc0c0dee481c4d6cd02346cddab48;hpb=9f81a03cf11728726a45917773e3c42195b471c2;p=jabaws.git diff --git a/engine/compbio/engine/conf/PropertyHelperManager.java b/engine/compbio/engine/conf/PropertyHelperManager.java index 939e5fe..fb35362 100644 --- a/engine/compbio/engine/conf/PropertyHelperManager.java +++ b/engine/compbio/engine/conf/PropertyHelperManager.java @@ -23,8 +23,6 @@ import java.io.IOException; import java.net.URISyntaxException; import java.net.URL; -import javax.naming.ConfigurationException; - import org.apache.log4j.Logger; import compbio.util.PropertyHelper; @@ -52,7 +50,7 @@ public final class PropertyHelperManager { * * Try 1 - succeed. * - * @return + * @return an instance */ public static PropertyHelper getPropertyHelper() { if (ph == null) { @@ -91,8 +89,9 @@ public final class PropertyHelperManager { * binaries WEB-INF classes compbio engine conf If the structure changes it * must be reflected in this method * - * @return - * @throws ConfigurationException + * @return the local path + * @throws RuntimeException + * if cannot determine the local path */ public static String getLocalPath() { String clname = PropertyHelperManager.class.getSimpleName();