@Test public void changeNewLineFromWindowsToUnix() throws Exception { assertEquals(OtherUtilities.changeNewLineFromWindowsToUnix("abc\r\ndef"), "abc\ndef"); assertEquals(OtherUtilities.changeNewLineFromWindowsToUnix("\r\n"), "\n"); assertEquals(OtherUtilities.changeNewLineFromWindowsToUnix(""), ""); }
@NotNull public static String changeNewLineFromWindowsToUnix(@NotNull final String string) { return string.replace("\r\n", "\n"); }
OtherUtilities { @NotNull public static String changeNewLineFromWindowsToUnix(@NotNull final String string) { return string.replace("\r\n", "\n"); } }
OtherUtilities { @NotNull public static String changeNewLineFromWindowsToUnix(@NotNull final String string) { return string.replace("\r\n", "\n"); } private  OtherUtilities(); }
OtherUtilities { @NotNull public static String changeNewLineFromWindowsToUnix(@NotNull final String string) { return string.replace("\r\n", "\n"); } private  OtherUtilities(); static boolean isValidEmail(@NotNull final String emailStr); static boolean isValidIpPort(@NotNull final String portStr); static boolean isValidIp(@NotNull final String ipStr); @NotNull static String changeNewLineFromWindowsToUnix(@NotNull final String string); @NotNull static String changeNewLineFromUnixToWindows(@NotNull final String string); }
OtherUtilities { @NotNull public static String changeNewLineFromWindowsToUnix(@NotNull final String string) { return string.replace("\r\n", "\n"); } private  OtherUtilities(); static boolean isValidEmail(@NotNull final String emailStr); static boolean isValidIpPort(@NotNull final String portStr); static boolean isValidIp(@NotNull final String ipStr); @NotNull static String changeNewLineFromWindowsToUnix(@NotNull final String string); @NotNull static String changeNewLineFromUnixToWindows(@NotNull final String string);  }