harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From telli...@apache.org
Subject svn commit: r405521 - /incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java
Date Tue, 09 May 2006 20:05:31 GMT
Author: tellison
Date: Tue May  9 13:05:30 2006
New Revision: 405521

URL: http://svn.apache.org/viewcvs?rev=405521&view=rev
Log:
Generic uplift for Reference and ReferenceQueue.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java
URL: http://svn.apache.org/viewcvs/incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java?rev=405521&r1=405520&r2=405521&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/luni-kernel/src/main/java/java/lang/ref/Reference.java
Tue May  9 13:05:30 2006
@@ -25,7 +25,7 @@
  * 
  * @since JDK1.2
  */
-public abstract class Reference extends Object {
+public abstract class Reference<T> extends Object {
 
 	/**
 	 * Make the referent null. This does not force the reference object to be
@@ -49,10 +49,10 @@
 	/**
 	 * Return the referent of the reference object.
 	 * 
-	 * @return Object Referent to which reference refers, or null if object has
+	 * @return Referent to which reference refers, or null if object has
 	 *         been cleared.
 	 */
-	public Object get() {
+	public T get() {
 		return null;
 	}
 



Mime
View raw message