Skip to content

Commit

Permalink
strip() -> trim() for java 8 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
MrCreosote committed Apr 12, 2024
1 parent 40cab39 commit d6f4fcb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/us/kbase/workspace/database/provenance/Common.java
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ class Common {
private Common() {}

static String processString(final String input) {
return isNullOrWhitespace(input) ? null : input.strip();
return isNullOrWhitespace(input) ? null : input.trim();
}

static URL processURL(final String url, final String name) {
Expand Down

0 comments on commit d6f4fcb

Please sign in to comment.