Parcourir la source

//test

private_deployment
xhxu il y a 2 ans
Parent
révision
ec7b15820f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java

+ 1
- 1
suimangVideo/src/main/java/com/iformall/language/LanguageDetect.java Voir le fichier

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


Chargement…
Annuler
Enregistrer