Revision f33355c3
Added by Andreas Müller over 3 years ago
cdmlib-model/src/main/java/eu/etaxonomy/cdm/model/common/CdmBase.java | ||
---|---|---|
502 | 502 |
return result; |
503 | 503 |
} |
504 | 504 |
|
505 |
|
|
506 | 505 |
/** |
507 | 506 |
* Returns <code>true</code> if the given String is blank. |
508 | 507 |
* @param str the String to check |
509 | 508 |
* @see StringUtils#isBlank(String) |
510 | 509 |
* @return <code>true</code> if str is blank, <code>false</code> otherwise |
511 | 510 |
*/ |
512 |
protected boolean isBlank(String str) { |
|
511 |
protected static boolean isBlank(String str) {
|
|
513 | 512 |
return StringUtils.isBlank(str); |
514 | 513 |
} |
515 | 514 |
|
... | ... | |
519 | 518 |
* @see StringUtils#isNotBlank(String) |
520 | 519 |
* @return <code>true</code> if str is not blank, <code>false</code> otherwise |
521 | 520 |
*/ |
522 |
protected boolean isNotBlank(String str) { |
|
521 |
protected static boolean isNotBlank(String str) {
|
|
523 | 522 |
return StringUtils.isNotBlank(str); |
524 | 523 |
} |
525 | 524 |
|
Also available in: Unified diff
ref #9204 remove commons-lang2 from cdmlib dependencies