portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r552638 - in /portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users: SubsiteInfo.java UserDetailsPortlet.java
Date Tue, 03 Jul 2007 01:36:02 GMT
Author: taylor
Date: Mon Jul  2 18:36:00 2007
New Revision: 552638

URL: http://svn.apache.org/viewvc?view=rev&rev=552638
Log:
http://issues.apache.org/jira/browse/JS2-707
found a bug here, serialization + inner class, more clear to just move it out into its own
class

Added:
    portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/SubsiteInfo.java
Modified:
    portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java

Added: portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/SubsiteInfo.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/SubsiteInfo.java?view=auto&rev=552638
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/SubsiteInfo.java
(added)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/SubsiteInfo.java
Mon Jul  2 18:36:00 2007
@@ -0,0 +1,41 @@
+/*
+ * Licensed to the Apache Software Foundation (ASF) under one or more
+ * contributor license agreements.  See the NOTICE file distributed with
+ * this work for additional information regarding copyright ownership.
+ * The ASF licenses this file to You under the Apache License, Version 2.0
+ * (the "License"); you may not use this file except in compliance with
+ * the License.  You may obtain a copy of the License at
+ * 
+ *      http://www.apache.org/licenses/LICENSE-2.0
+ * 
+ * Unless required by applicable law or agreed to in writing, software
+ * distributed under the License is distributed on an "AS IS" BASIS,
+ * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+ * See the License for the specific language governing permissions and
+ * limitations under the License.
+ */
+package org.apache.jetspeed.portlets.security.users;
+
+import java.io.Serializable;
+
+public class SubsiteInfo implements Serializable
+{
+    private String title;
+    private String path;
+
+    public SubsiteInfo(String path, String title)
+    {
+        this.path = path;
+        this.title = title;
+    }
+    
+    public String getPath()
+    {
+        return path;
+    }
+            
+    public String getTitle()
+    {
+        return title;
+    }        
+}
\ No newline at end of file

Modified: portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java?view=diff&rev=552638&r1=552637&r2=552638
==============================================================================
--- portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
(original)
+++ portals/jetspeed-2/trunk/applications/j2-admin/src/java/org/apache/jetspeed/portlets/security/users/UserDetailsPortlet.java
Mon Jul  2 18:36:00 2007
@@ -17,7 +17,6 @@
 package org.apache.jetspeed.portlets.security.users;
 
 import java.io.IOException;
-import java.io.Serializable;
 import java.security.Principal;
 import java.util.ArrayList;
 import java.util.Collection;
@@ -1180,27 +1179,6 @@
         }
     }
     
-    public class SubsiteInfo implements Serializable
-    {
-        private String title;
-        private String path;
-
-        public SubsiteInfo(String path, String title)
-        {
-            this.path = path;
-            this.title = title;
-        }
-        
-        public String getPath()
-        {
-            return path;
-        }
-                
-        public String getTitle()
-        {
-            return title;
-        }        
-    }
     /*
     private void setSecurityConstraints(Folder folder, String userName)
     {



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message