Commits

Anonymous committed d4c133e
  • Participants
  • Parent commits 2383287
  • Branches 2.0, xwork_2_0_7

Comments (0)

Files changed (2)

src/java/com/opensymphony/xwork2/inject/ExternalContext.java

   }
 
   public Scope.Strategy getScopeStrategy() {
-    return container.localScopeStrategy.get();
+    return (Scope.Strategy) container.localScopeStrategy.get();
   }
 
   public Container getContainer() {

src/java/com/opensymphony/xwork2/inject/InternalContext.java

 
   Scope.Strategy getScopeStrategy() {
     if (scopeStrategy == null) {
-      scopeStrategy = container.localScopeStrategy.get();
+      scopeStrategy = (Scope.Strategy) container.localScopeStrategy.get();
 
       if (scopeStrategy == null) {
         throw new IllegalStateException("Scope strategy not set. "