mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-13 11:19:04 +01:00
Trim leading and trailing whitespace when displaying messages
Closes #326
This commit is contained in:
@@ -82,4 +82,8 @@ public class StringUtils {
|
||||
if (c >= 'a' && c <= 'f') return c - 'a' + 10;
|
||||
throw new IllegalArgumentException("Not a hex digit: " + c);
|
||||
}
|
||||
|
||||
public static String trim(String s) {
|
||||
return s.trim();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user