harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ghar...@apache.org
Subject svn commit: r415992 - /incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java
Date Wed, 21 Jun 2006 14:22:29 GMT
Author: gharley
Date: Wed Jun 21 07:22:27 2006
New Revision: 415992

URL: http://svn.apache.org/viewvc?rev=415992&view=rev
Log:
Fix up my fix up of the generics code.

Modified:
    incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java

Modified: incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java
URL: http://svn.apache.org/viewvc/incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java?rev=415992&r1=415991&r2=415992&view=diff
==============================================================================
--- incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java
(original)
+++ incubator/harmony/enhanced/classlib/trunk/modules/nio/src/main/java/org/apache/harmony/nio/internal/MappedByteBufferFactory.java
Wed Jun 21 07:22:27 2006
@@ -27,9 +27,9 @@
 	static final Constructor constructor;
 
 	static {
-		constructor = (Constructor) AccessController
-				.doPrivileged(new PrivilegedAction<Object>() {
-					public Object run() {
+		constructor = AccessController
+				.doPrivileged(new PrivilegedAction<Constructor>() {
+					public Constructor run() {
 						try {
 							Class wrapperClazz = ClassLoader
 									.getSystemClassLoader().loadClass(



Mime
View raw message