harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From lvj...@apache.org
Subject svn commit: r1005724 - in /harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax: annotation/processing/Filer.java lang/model/element/Name.java lang/model/type/ExecutableType.java
Date Fri, 08 Oct 2010 08:21:07 GMT
Author: lvjing
Date: Fri Oct  8 08:21:07 2010
New Revision: 1005724

URL: http://svn.apache.org/viewvc?rev=1005724&view=rev
Log:
Apply for HARMONY-6670, fix some minor signature differences.

Modified:
    harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/annotation/processing/Filer.java
    harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/element/Name.java
    harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/type/ExecutableType.java

Modified: harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/annotation/processing/Filer.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/annotation/processing/Filer.java?rev=1005724&r1=1005723&r2=1005724&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/annotation/processing/Filer.java
(original)
+++ harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/annotation/processing/Filer.java
Fri Oct  8 08:21:07 2010
@@ -17,6 +17,8 @@
 
 package javax.annotation.processing;
 
+import java.io.IOException;
+
 import javax.lang.model.element.Element;
 import javax.tools.FileObject;
 import javax.tools.JavaFileManager;
@@ -25,15 +27,15 @@ import javax.tools.JavaFileObject;
 public interface Filer {
 
     JavaFileObject createClassFile(CharSequence name,
-            Element... originatingElements);
+            Element... originatingElements) throws IOException;
 
     FileObject createResource(JavaFileManager.Location location,
             CharSequence pkg, CharSequence relativeName,
-            Element... originatingElements);
+            Element... originatingElements) throws IOException;
 
     JavaFileObject createSourceFile(CharSequence name,
-            Element... originatingElements);
+            Element... originatingElements) throws IOException;
 
     FileObject getResource(JavaFileManager.Location location, CharSequence pkg,
-            CharSequence relativeName);
+            CharSequence relativeName) throws IOException;
 }

Modified: harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/element/Name.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/element/Name.java?rev=1005724&r1=1005723&r2=1005724&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/element/Name.java
(original)
+++ harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/element/Name.java
Fri Oct  8 08:21:07 2010
@@ -17,7 +17,7 @@
 
 package javax.lang.model.element;
 
-public interface Name {
+public interface Name extends CharSequence {
 
     boolean contentEquals(CharSequence cs);
 

Modified: harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/type/ExecutableType.java
URL: http://svn.apache.org/viewvc/harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/type/ExecutableType.java?rev=1005724&r1=1005723&r2=1005724&view=diff
==============================================================================
--- harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/type/ExecutableType.java
(original)
+++ harmony/enhanced/java/branches/java6/classlib/modules/annotation/src/main/java/javax/lang/model/type/ExecutableType.java
Fri Oct  8 08:21:07 2010
@@ -17,7 +17,6 @@
 
 package javax.lang.model.type;
 
-import java.lang.reflect.TypeVariable;
 import java.util.List;
 
 public interface ExecutableType extends TypeMirror {
@@ -27,5 +26,5 @@ public interface ExecutableType extends 
 
     List<? extends TypeMirror> getThrownTypes();
 
-    List<? extends TypeVariable> getTypeVariables();
+    List<? extends javax.lang.model.type.TypeVariable> getTypeVariables();
 }



Mime
View raw message