forked from antonis.lempesis/dnet-hadoop
added comparison to a char that seems - but it is not
This commit is contained in:
parent
7e73bb88b3
commit
f6587c91f3
|
@ -161,7 +161,7 @@ public class PrepareProgramme {
|
|||
if (current.trim().length() > parent.length()
|
||||
&& current.toLowerCase().trim().substring(0, parent.length()).equals(parent)) {
|
||||
current = current.substring(parent.length() + 1);
|
||||
if (current.trim().charAt(0) == '-') {
|
||||
if (current.trim().charAt(0) == '-' || current.trim().charAt(0) =='–') {
|
||||
current = current.trim().substring(1).trim();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue