forked from D-Net/dnet-hadoop
This commit is contained in:
parent
a46179f61c
commit
6e5db85b32
|
@ -161,7 +161,7 @@ public class PrepareProgramme {
|
||||||
if (current.trim().length() > parent.length()
|
if (current.trim().length() > parent.length()
|
||||||
&& current.toLowerCase().trim().substring(0, parent.length()).equals(parent)) {
|
&& current.toLowerCase().trim().substring(0, parent.length()).equals(parent)) {
|
||||||
current = current.substring(parent.length() + 1);
|
current = current.substring(parent.length() + 1);
|
||||||
if (current.trim().charAt(0) == '-' || current.trim().charAt(0) =='–') {
|
if (current.trim().charAt(0) == '-' || current.trim().charAt(0) == '–') {
|
||||||
current = current.trim().substring(1).trim();
|
current = current.trim().substring(1).trim();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue