commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mt...@apache.org
Subject svn commit: r795484 - in /commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime: AbstractPointer.java Descriptor.java Pointer32.java Pointer64.java
Date Sun, 19 Jul 2009 06:50:20 GMT
Author: mturk
Date: Sun Jul 19 06:50:20 2009
New Revision: 795484

URL: http://svn.apache.org/viewvc?rev=795484&view=rev
Log:
Java5 doesn't like @Override from interfaces

Modified:
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/AbstractPointer.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
    commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer64.java

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/AbstractPointer.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/AbstractPointer.java?rev=795484&r1=795483&r2=795484&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/AbstractPointer.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/AbstractPointer.java
Sun Jul 19 06:50:20 2009
@@ -125,7 +125,6 @@
      * @return a negative integer, zero or positive integer as this object
      *         is less then, equal, or greater then the specified object.
      */
-    @Override
     public abstract int compareTo(Pointer other)
         throws ClassCastException;
 

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java?rev=795484&r1=795483&r2=795484&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Descriptor.java
Sun Jul 19 06:50:20 2009
@@ -129,7 +129,6 @@
      * @see java.io.Closeable#close()
      * @throws IOException if an I/O error occurs.
      */
-    @Override
     public final void close()
         throws IOException
     {
@@ -176,7 +175,6 @@
      * @throws SyncFailedException when the object cannot be flushed.
      * @throws IOException if an I/O error occurs.
      */
-    @Override
     public final void flush()
         throws SyncFailedException, IOException
     {

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java?rev=795484&r1=795483&r2=795484&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer32.java
Sun Jul 19 06:50:20 2009
@@ -47,6 +47,7 @@
         ISCONST = false;
     }
 
+    @Override
     public boolean equals(Object other)
     {
         if (other == null)
@@ -139,6 +140,7 @@
         move0(s32.POINTER + (int)dstPos, POINTER + (int)srcPos, (int)length);
     }
 
+    @Override
     public String toString()
     {
         if (POINTER != 0) {
@@ -150,6 +152,7 @@
     }
 
     private static native int memcmp0(int a, int n, int length);
+    @Override
     public int compareTo(Pointer other)
         throws ClassCastException
     {

Modified: commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer64.java
URL: http://svn.apache.org/viewvc/commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer64.java?rev=795484&r1=795483&r2=795484&view=diff
==============================================================================
--- commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer64.java
(original)
+++ commons/sandbox/runtime/trunk/src/main/java/org/apache/commons/runtime/Pointer64.java
Sun Jul 19 06:50:20 2009
@@ -45,6 +45,7 @@
         PLENGTH = len;
     }
 
+    @Override
     public boolean equals(Object other)
     {
         if (other == null)
@@ -138,6 +139,7 @@
     }
 
     private static native int memcmp0(long a, long b, long length);
+    @Override
     public int compareTo(Pointer other)
         throws ClassCastException
     {
@@ -158,6 +160,7 @@
             throw new ClassCastException();
     }
 
+    @Override
     public String toString()
     {
         if (POINTER != 0L) {



Mime
View raw message