Fix for Java 9 compatibility (isBlank)
This commit is contained in:
parent
e3cbc4e808
commit
2ffa5f29b9
1 changed files with 12 additions and 6 deletions
|
@ -362,7 +362,7 @@ public class EntryLink implements Serializable {
|
|||
SyndCategoryImpl category;
|
||||
|
||||
for (final String tag : tags) {
|
||||
if (!tag.isBlank()) {
|
||||
if (StringUtils.isNoneBlank(tag)) {
|
||||
final String t = StringUtils.lowerCase(tag);
|
||||
final char mod = t.charAt(0);
|
||||
if (mod == '-') {
|
||||
|
@ -403,10 +403,16 @@ public class EntryLink implements Serializable {
|
|||
* @return A string representation of the object.
|
||||
*/
|
||||
@Override
|
||||
public final String toString() {
|
||||
|
||||
return super.toString() + "[ channel -> '" + channel + '\'' + ", comments -> " + comments + ", date -> " + date
|
||||
+ ", link -> '" + link + '\'' + ", login -> '" + login + '\'' + ", nick -> '" + nick + '\''
|
||||
+ ", tags -> " + tags + ", title -> '" + title + '\'' + " ]";
|
||||
public String toString() {
|
||||
return "EntryLink{" +
|
||||
"comments=" + comments +
|
||||
", tags=" + tags +
|
||||
", channel='" + channel + '\'' +
|
||||
", date=" + date +
|
||||
", link='" + link + '\'' +
|
||||
", login='" + login + '\'' +
|
||||
", nick='" + nick + '\'' +
|
||||
", title='" + title + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue