maven-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From car...@apache.org
Subject svn commit: r443404 - /maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java
Date Thu, 14 Sep 2006 17:02:04 GMT
Author: carlos
Date: Thu Sep 14 10:02:03 2006
New Revision: 443404

URL: http://svn.apache.org/viewvc?view=rev&rev=443404
Log:
Remove session parameters

Modified:
    maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java

Modified: maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java
URL: http://svn.apache.org/viewvc/maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java?view=diff&rev=443404&r1=443403&r2=443404
==============================================================================
--- maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java
(original)
+++ maven/shared/trunk/maven-user/maven-user-controller/src/main/java/org/apache/maven/user/controller/action/EditUserGroupAction.java
Thu Sep 14 10:02:03 2006
@@ -116,6 +116,8 @@
         throws Exception
     {
         addMode = true;
+        name = "";
+        description = "";
         return INPUT;
     }
 
@@ -239,11 +241,6 @@
                 permissionName = ( (Permission) permissions.get( 0 ) ).getName();
             }
         }
-
-        addMode = ( (Boolean) request.getSession().getAttribute( "addMode" ) ).booleanValue();
-        id = Integer.parseInt( (String) request.getSession().getAttribute( "id" ) );
-        name = (String) request.getSession().getAttribute( "name" );
-        description = (String) request.getSession().getAttribute( "description" );
 
         return INPUT;
     }



Mime
View raw message