|
From: <ls...@us...> - 2007-05-03 06:30:26
|
Revision: 3181
http://jnode.svn.sourceforge.net/jnode/?rev=3181&view=rev
Author: lsantha
Date: 2007-05-02 23:30:23 -0700 (Wed, 02 May 2007)
Log Message:
-----------
Generified.
Modified Paths:
--------------
trunk/core/src/core/org/jnode/util/AccessControllerUtils.java
Modified: trunk/core/src/core/org/jnode/util/AccessControllerUtils.java
===================================================================
--- trunk/core/src/core/org/jnode/util/AccessControllerUtils.java 2007-05-02 20:47:08 UTC (rev 3180)
+++ trunk/core/src/core/org/jnode/util/AccessControllerUtils.java 2007-05-03 06:30:23 UTC (rev 3181)
@@ -38,8 +38,7 @@
* @return
* @throws Exception
*/
- public static Object doPrivileged(PrivilegedExceptionAction action)
- throws Exception {
+ public static <T> T doPrivileged(PrivilegedExceptionAction<T> action) throws Exception {
try {
return AccessController.doPrivileged(action);
} catch (PrivilegedActionException ex) {
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|