private static boolean checkTokenValid ( final char [ ] token ) { if ( token == null || token . length == 0 ) { return true ; } for ( int i = 0 ; i < token . length ; i ++ ) { if ( token [ i ] == ' ' ) { return false ; } } return true ; }
Used to check internally that neither event names nor IDs contain line feeds