@Test public void testNullClasspath() { Assertions.assertNull(PathQuoteUtil.quoteIfRequired(null)); }
public static String quoteIfRequired(final String original) { if (LauncherUtil.isWindows() && original != null && original.contains(WHITESPACE) && !original.startsWith(DOUBLE_QUOTE)) { return DOUBLE_QUOTE + original + DOUBLE_QUOTE; } return original; }
PathQuoteUtil { public static String quoteIfRequired(final String original) { if (LauncherUtil.isWindows() && original != null && original.contains(WHITESPACE) && !original.startsWith(DOUBLE_QUOTE)) { return DOUBLE_QUOTE + original + DOUBLE_QUOTE; } return original; } }
PathQuoteUtil { public static String quoteIfRequired(final String original) { if (LauncherUtil.isWindows() && original != null && original.contains(WHITESPACE) && !original.startsWith(DOUBLE_QUOTE)) { return DOUBLE_QUOTE + original + DOUBLE_QUOTE; } return original; }  }
PathQuoteUtil { public static String quoteIfRequired(final String original) { if (LauncherUtil.isWindows() && original != null && original.contains(WHITESPACE) && !original.startsWith(DOUBLE_QUOTE)) { return DOUBLE_QUOTE + original + DOUBLE_QUOTE; } return original; }  static String quoteIfRequired(final String original); }
PathQuoteUtil { public static String quoteIfRequired(final String original) { if (LauncherUtil.isWindows() && original != null && original.contains(WHITESPACE) && !original.startsWith(DOUBLE_QUOTE)) { return DOUBLE_QUOTE + original + DOUBLE_QUOTE; } return original; }  static String quoteIfRequired(final String original);  }