Changeset 7868


Ignore:
Timestamp:
Oct 21, 2020, 9:33:22 AM (2 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #2225: Use String.strip() in FlatFileParser?

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/3.17-stable/src/core/net/sf/basedb/util/parser/FlatFileParser.java

    r7832 r7868  
    20112011    protected String fixString(String value)
    20122012    {
    2013       // TODO - In Java 11 we can use String.strip() which also handles other white-space than "space"
    2014       if (value != null && trimWhiteSpace) value = value.trim();     
     2013      if (value != null && trimWhiteSpace) value = value.strip();     
    20152014     
    20162015      return value == null ||
Note: See TracChangeset for help on using the changeset viewer.