Revision: 17396
          http://sourceforge.net/p/gate/code/17396
Author:   markagreenwood
Date:     2014-02-22 10:16:45 +0000 (Sat, 22 Feb 2014)
Log Message:
-----------
more deprecation removal, this time inside the java compiler used for jape 
grammars

Modified Paths:
--------------
    gate/trunk/src/main/gate/util/Javac.java

Modified: gate/trunk/src/main/gate/util/Javac.java
===================================================================
--- gate/trunk/src/main/gate/util/Javac.java    2014-02-22 09:49:54 UTC (rev 
17395)
+++ gate/trunk/src/main/gate/util/Javac.java    2014-02-22 10:16:45 UTC (rev 
17396)
@@ -28,12 +28,6 @@
  */
 public abstract class Javac implements GateConstants {
 
-  @Deprecated
-  public static void loadClasses(Map<String, String> sources)
-      throws GateException {
-    loadClasses(sources, null);
-  }
-
   /**
    * Compiles a set of java sources and loads the compiled classes in the gate
    * class loader.
@@ -113,7 +107,7 @@
 
   private static Javac createCompilerInstance(String compilerType)
       throws GateException {
-    Class compilerClass = null;
+    Class<?> compilerClass = null;
     try {
       // first treat the compiler type as a fully qualified class name
       compilerClass = Gate.getClassLoader().loadClass(compilerType, true);
@@ -165,11 +159,6 @@
   public abstract void compile(Map<String, String> sources,
       GateClassLoader classLoader) throws GateException;
 
-  @Deprecated
-  public void compile(Map<String, String> sources) throws GateException {
-    compile(sources, Gate.getClassLoader());
-  }
-
   /**
    * The compiler to use.
    */

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.


------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121054471&iu=/4140/ostg.clktrk
_______________________________________________
GATE-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gate-cvs

Reply via email to