You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pivot.apache.org by tv...@apache.org on 2009/05/27 04:30:52 UTC

svn commit: r778970 - /incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java

Author: tvolkert
Date: Wed May 27 02:30:51 2009
New Revision: 778970

URL: http://svn.apache.org/viewvc?rev=778970&view=rev
Log:
Reverted change that made WTKX Compiler implement javax.tools.Tool

Modified:
    incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java

Modified: incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java
URL: http://svn.apache.org/viewvc/incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java?rev=778970&r1=778969&r2=778970&view=diff
==============================================================================
--- incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java (original)
+++ incubator/pivot/trunk/wtk/src/pivot/wtkx/Compiler.java Wed May 27 02:30:51 2009
@@ -16,17 +16,11 @@
  */
 package pivot.wtkx;
 
-import java.io.InputStream;
 import java.io.IOException;
-import java.io.OutputStream;
 import java.util.Collections;
-import java.util.EnumSet;
-import java.util.Set;
 
-import javax.lang.model.SourceVersion;
 import javax.tools.JavaCompiler;
 import javax.tools.JavaFileObject;
-import javax.tools.Tool;
 import javax.tools.ToolProvider;
 
 /**
@@ -40,7 +34,7 @@
  *
  * @author tvolkert
  */
-public class Compiler implements Tool {
+public class Compiler {
     /**
      * Creates a new <tt>Compiler</tt>.
      */
@@ -168,20 +162,4 @@
 
         return result;
     }
-
-    /**
-     * {@inheritDoc}
-     */
-    public int run(InputStream in, OutputStream out, OutputStream err, String... arguments) {
-        // TODO
-        return 0;
-    }
-
-    /**
-     * {@inheritDoc}
-     */
-    public Set<SourceVersion> getSourceVersions() {
-        return Collections.unmodifiableSet(EnumSet.range
-            (SourceVersion.RELEASE_5, SourceVersion.latest()));
-    }
 }