Returns the prefix of the specified token. @param name name @return prefix or empty token if no prefix exists
(final byte[] name)
| 1361 | * @return prefix or empty token if no prefix exists |
| 1362 | */ |
| 1363 | public static byte[] prefix(final byte[] name) { |
| 1364 | final int i = indexOf(name, ':'); |
| 1365 | return i == -1 ? EMPTY : substring(name, 0, i); |
| 1366 | } |
| 1367 | |
| 1368 | /** |
| 1369 | * Returns the local name of the specified name. |
no test coverage detected