public interface PersistenceMetaIdentifiers
-
Method Details
-
Identifiers cannot have whitespaces at the end or the beginning.
A string that only consists of whitespaces is considered no identifier at all.
Note that for strings that don't have bordering whitespaces or are already null
,
this method takes very little time and does not allocate any new instances. Only
the problematic case is any mentionable effort.
- Parameters:
s
- the raw string to be normalized.
- Returns:
- the normalized string, potentially
null
.
-