Author: manik.surtani(a)jboss.com
Date: 2008-12-02 12:06:52 -0500 (Tue, 02 Dec 2008)
New Revision: 7239
Modified:
core/branches/flat/src/main/java/org/jboss/starobrno/context/InvocationContextImpl.java
Log:
genericized
Modified:
core/branches/flat/src/main/java/org/jboss/starobrno/context/InvocationContextImpl.java
===================================================================
---
core/branches/flat/src/main/java/org/jboss/starobrno/context/InvocationContextImpl.java 2008-12-02
15:49:26 UTC (rev 7238)
+++
core/branches/flat/src/main/java/org/jboss/starobrno/context/InvocationContextImpl.java 2008-12-02
17:06:52 UTC (rev 7239)
@@ -30,11 +30,7 @@
import org.jboss.starobrno.transaction.TransactionTable;
import javax.transaction.Transaction;
-import java.util.Collections;
-import java.util.HashMap;
-import java.util.LinkedHashSet;
-import java.util.List;
-import java.util.Map;
+import java.util.*;
/**
* // TODO: MANIK: Document this
@@ -277,7 +273,7 @@
* @return locks held in current scope.
*/
@SuppressWarnings("unchecked")
- public List getKeysLocked()
+ public List<Object> getKeysLocked()
{
// first check transactional scope
if (transactionContext != null) return transactionContext.getKeysLocked();
Show replies by date