src/test/java/pityoulish/msgboard/SequencerMustHave.java
public static void _checkMessageID(String msgid)
  {
    assertNotNull("no message ID", msgid);
    assertTrue("empty message ID", msgid.length() > 0);
    assertTrue("message ID too long", msgid.length() <= MSGID_MAX_LENGTH);
    assertTrue("bad character in "+msgid,
               MSGID_SAFE_CHARS.matcher(msgid).matches());
  }
/**
   * Checks some basic properties of a message ID.
   *
   * @param msgid       the message ID
   */
Checks some basic properties of a message ID.
@param msgid       the message ID
Checks some basic properties of a message ID . @param msgid the message ID
public static void _checkMessageID(String msgid)
  {
    assertNotNull("no message ID", msgid);
    assertTrue("empty message ID", msgid.length() > 0);
    assertTrue("message ID too long", msgid.length() <= MSGID_MAX_LENGTH);
    assertTrue("bad character in "+msgid,
               MSGID_SAFE_CHARS.matcher(msgid).matches());
  }
public static void _checkMessageID ( String msgid ) { assertNotNull ( "no message ID" , msgid ) ; assertTrue ( "empty message ID" , msgid . length ( ) > 0 ) ; assertTrue ( "message ID too long" , msgid . length ( ) <= MSGID_MAX_LENGTH ) ; assertTrue ( "bad character in " + msgid , MSGID_SAFE_CHARS . matcher ( msgid ) . matches ( ) ) ; }
Checks some basic properties of a message ID.
Checks some basic properties of a message ID .