Revision 57193
Added by Sandro La Bruzzo over 4 years ago
ScholixToActions.java | ||
---|---|---|
51 | 51 |
} else { |
52 | 52 |
title = getStringValue(rootElement, "title"); |
53 | 53 |
} |
54 |
|
|
55 |
if (title != null && title.charAt(0) == '"' && title.charAt(title.length() - 1) == '"') { |
|
54 |
if ("\"".equals(title) || title == null || StringUtils.isEmpty(title)) |
|
55 |
return actions; |
|
56 |
if (title != null && title.charAt(0) == '"' && title.charAt(title.length() - 1) == '"' ) { |
|
56 | 57 |
title = title.substring(1, title.length() - 1); |
57 | 58 |
} |
58 | 59 |
|
Also available in: Unified diff
fixed test