Fix creating multiple tokens. The changes were from upstream API

This commit is contained in:
M M Arif
2019-11-16 00:39:09 +05:00
parent 51da8b9c4d
commit 7e8a2722ac
3 changed files with 35 additions and 5 deletions

View File

@@ -230,4 +230,10 @@ public class AppUtil {
return Arrays.asList(extValues).contains(ext);
}
public String getLastCharactersOfWord( String str, int count ) {
return str.substring(str.length() - count);
}
}