Checks if the specified token has only whitespace. @param token token @return true if all characters are whitespace
(final byte[] token)
| 1085 | * @return true if all characters are whitespace |
| 1086 | */ |
| 1087 | public static boolean ws(final byte[] token) { |
| 1088 | for(final byte b : token) { |
| 1089 | if(!ws(b)) return false; |
| 1090 | } |
| 1091 | return true; |
| 1092 | } |
| 1093 | |
| 1094 | /** |
| 1095 | * Replaces the specified character and returns the result token. |
no outgoing calls
no test coverage detected