Sfoglia il codice sorgente

//test

private_deployment
xhxu 2 anni fa
parent
commit
ec7b15820f
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. +1
    -1
      suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java

+ 1
- 1
suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java Vedi File

@@ -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();


Caricamento…
Annulla
Salva