Commits

Anonymous committed 26084ed

Fixing compile errors

git-svn-id: http://svn.opensymphony.com/svn/xwork/trunk@1627e221344d-f017-0410-9bd5-d282ab1896d7

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. "