Minor fixes
This commit is contained in:
parent
883ea72620
commit
95ca923431
1 changed files with 6 additions and 0 deletions
|
@ -416,6 +416,12 @@ public class BinaryMapIndexReader {
|
|||
return ls.substring(0, ls.lastIndexOf('_')).replace('_', ' ');
|
||||
|
||||
} else {
|
||||
if (ls.contains(".")) {
|
||||
ls = ls.substring(0, ls.indexOf("."));
|
||||
}
|
||||
if (ls.endsWith("_2")) {
|
||||
ls = ls.substring(0, ls.length() - "_2".length());
|
||||
}
|
||||
return ls.substring(0, ls.lastIndexOf('_')).replace('_', ' ');
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue