private static void ensureInstalled() { if (!isInstalled()) { throw new IllegalStateException("Not installed"); } }
public static synchronized void maybeInstall() { if (!isInstalled()) { install(); } }
private static void ensureInstalled() { if (!isInstalled()) { throw new IllegalStateException("Not installed"); } }
public static synchronized void maybeInstall() { if (!isInstalled()) { install(); } }