Przeglądaj źródła

//test

private_deployment
xhxu 2 lat temu
rodzic
commit
ec7b15820f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java

+ 1
- 1
suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java Wyświetl plik

@@ -13,7 +13,7 @@ public class LanguageDetect {
private static void initDetector(){
if(detect == null){
try {
DetectorFactory.loadProfile(Thread.currentThread().getContextClassLoader().getResource("profiles").getPath());
DetectorFactory.loadProfile(LanguageDetect.class.getClassLoader().getResource("profiles").getPath());
detect = DetectorFactory.create();
} catch (LangDetectException e) {
e.printStackTrace();


Ładowanie…
Anuluj
Zapisz