Revert generics changes that require changes in spec classes
authormarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Jul 2009 11:11:57 +0000 (11:11 +0000)
committermarkt <markt@13f79535-47bb-0310-9956-ffa450edef68>
Sun, 5 Jul 2009 11:11:57 +0000 (11:11 +0000)
git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@791219 13f79535-47bb-0310-9956-ffa450edef68

java/javax/el/ELContext.java
java/org/apache/el/lang/EvaluationContext.java
java/org/apache/jasper/el/ELContextWrapper.java

index 88a0125..db59394 100644 (file)
@@ -39,14 +39,14 @@ public abstract class ELContext {
         this.resolved = false;
     }
     
-    public Object getContext(Class<?> key) {
+    public Object getContext(Class key) {
         if (this.map == null) {
             return null;
         }
         return this.map.get(key);
     }
     
-    public void putContext(Class<?> key, Object contextObject) throws NullPointerException {
+    public void putContext(Class key, Object contextObject) throws NullPointerException {
         if (key == null || contextObject == null) {
             throw new NullPointerException();
         }
index c3ba3d7..94b6980 100644 (file)
@@ -51,7 +51,7 @@ public final class EvaluationContext extends ELContext {
         return this.varMapper;
     }
 
-    public Object getContext(Class<?> key) {
+    public Object getContext(Class key) {
         return this.elContext.getContext(key);
     }
 
@@ -63,7 +63,7 @@ public final class EvaluationContext extends ELContext {
         return this.elContext.isPropertyResolved();
     }
 
-    public void putContext(Class<?> key, Object contextObject) {
+    public void putContext(Class key, Object contextObject) {
         this.elContext.putContext(key, contextObject);
     }
 
index 14aea27..a0754c3 100644 (file)
@@ -51,7 +51,7 @@ public final class ELContextWrapper extends ELContext {
         return this.target.getVariableMapper();
     }
 
-    public Object getContext(Class<?> key) {
+    public Object getContext(Class key) {
         return this.target.getContext(key);
     }
 
@@ -63,7 +63,7 @@ public final class ELContextWrapper extends ELContext {
         return this.target.isPropertyResolved();
     }
 
-    public void putContext(Class<?> key, Object contextObject) throws NullPointerException {
+    public void putContext(Class key, Object contextObject) throws NullPointerException {
         this.target.putContext(key, contextObject);
     }