]> WPIA git - gigi.git/blobdiff - util-testing/club/wpia/gigi/localisation/TranslationCollector.java
upd: rename package name and all references to it
[gigi.git] / util-testing / club / wpia / gigi / localisation / TranslationCollector.java
similarity index 97%
rename from util-testing/org/cacert/gigi/localisation/TranslationCollector.java
rename to util-testing/club/wpia/gigi/localisation/TranslationCollector.java
index 9b4f2a9fee3ceb21e5d910d486f65d7bbef7bc19..44df294e771d526ddbc89a80d91f09595e877ae8 100644 (file)
@@ -1,4 +1,4 @@
-package org.cacert.gigi.localisation;
+package club.wpia.gigi.localisation;
 
 import java.io.File;
 import java.io.FileInputStream;
@@ -15,7 +15,8 @@ import java.util.LinkedList;
 import java.util.List;
 import java.util.TreeSet;
 
-import org.cacert.gigi.output.template.Template;
+import club.wpia.gigi.output.template.Template;
+
 import org.eclipse.jdt.core.compiler.CategorizedProblem;
 import org.eclipse.jdt.internal.compiler.CompilationResult;
 import org.eclipse.jdt.internal.compiler.ast.CompilationUnitDeclaration;
@@ -113,7 +114,7 @@ public class TranslationCollector {
     private void scanCode(LinkedList<TaintSource> taint) throws Error {
         PrintWriter out = new PrintWriter(System.err);
         Main m = new Main(out, out, false, null, null);
-        File[] fs = recurse(new File(new File(new File(base, "src"), "org"), "cacert"), new LinkedList<File>(), ".java").toArray(new File[0]);
+        File[] fs = recurse(new File(new File(new File(base, "src"), "club"), "wpia"), new LinkedList<File>(), ".java").toArray(new File[0]);
         String[] t = new String[fs.length + 3];
         t[0] = "-cp";
         t[1] = new File(base, "bin").getAbsolutePath();
@@ -207,7 +208,7 @@ public class TranslationCollector {
     }
 
     private void scanTemplates() throws UnsupportedEncodingException, FileNotFoundException {
-        File[] ts = recurse(new File(new File(new File(base, "src"), "org"), "cacert"), new LinkedList<File>(), ".templ").toArray(new File[0]);
+        File[] ts = recurse(new File(new File(new File(base, "src"), "club"), "wpia"), new LinkedList<File>(), ".templ").toArray(new File[0]);
         for (File file : ts) {
             Template t = new Template(new InputStreamReader(new FileInputStream(file), "UTF-8"));
             LinkedList<String> i = new LinkedList<String>();