@Test public void test() { assertThat(CommandParser.isCrOrLf('\n')).isTrue(); assertThat(CommandParser.isCrOrLf('\r')).isTrue(); assertThat(CommandParser.isCrOrLf('\t')).isFalse(); }
public static boolean isCrOrLf(final char chr) { return '\r' == chr || '\n' == chr; }
CommandParser { public static boolean isCrOrLf(final char chr) { return '\r' == chr || '\n' == chr; } }
CommandParser { public static boolean isCrOrLf(final char chr) { return '\r' == chr || '\n' == chr; }  }
CommandParser { public static boolean isCrOrLf(final char chr) { return '\r' == chr || '\n' == chr; }  String atom(ImapRequestLineReader request); String atomOnly(ImapRequestLineReader request); String tag(ImapRequestLineReader request); String astring(ImapRequestLineReader request); String string(ImapRequestLineReader request, Charset charset); String nstring(ImapRequestLineReader request); String mailbox(ImapRequestLineReader request); Date dateTime(ImapRequestLineReader request); long consumeLong(ImapRequestLineReader request); Flags flagList(ImapRequestLineReader request); void setFlag(String flagString, Flags flags); long number(ImapRequestLineReader request); long nzNumber(ImapRequestLineReader request); static boolean isCrOrLf(final char chr); void endLine(ImapRequestLineReader request); IdRange[] parseIdRange(ImapRequestLineReader request); }
CommandParser { public static boolean isCrOrLf(final char chr) { return '\r' == chr || '\n' == chr; }  String atom(ImapRequestLineReader request); String atomOnly(ImapRequestLineReader request); String tag(ImapRequestLineReader request); String astring(ImapRequestLineReader request); String string(ImapRequestLineReader request, Charset charset); String nstring(ImapRequestLineReader request); String mailbox(ImapRequestLineReader request); Date dateTime(ImapRequestLineReader request); long consumeLong(ImapRequestLineReader request); Flags flagList(ImapRequestLineReader request); void setFlag(String flagString, Flags flags); long number(ImapRequestLineReader request); long nzNumber(ImapRequestLineReader request); static boolean isCrOrLf(final char chr); void endLine(ImapRequestLineReader request); IdRange[] parseIdRange(ImapRequestLineReader request);  }