You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jetspeed-dev@portals.apache.org by at...@apache.org on 2007/05/24 15:10:14 UTC

svn commit: r541295 - /portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java

Author: ate
Date: Thu May 24 06:10:13 2007
New Revision: 541295

URL: http://svn.apache.org/viewvc?view=rev&rev=541295
Log:
jdk-1.4 compliance fix

Modified:
    portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java

Modified: portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java
URL: http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java?view=diff&rev=541295&r1=541294&r2=541295
==============================================================================
--- portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java (original)
+++ portals/jetspeed-2/trunk/components/portal/src/java/org/apache/jetspeed/layout/impl/GetUserListAction.java Thu May 24 06:10:13 2007
@@ -210,7 +210,7 @@
         						
         						Map singleUserMap = new HashMap();
         						singleUserMap.put(USERNAME, userStat.getUsername());
-        						singleUserMap.put(SESSIONS, Integer.valueOf(userStat.getNumberOfSessions()));
+                                singleUserMap.put(SESSIONS, new Integer(userStat.getNumberOfSessions()));
         						singleUserMap.put(STATUS, ONLINE);
         						singleUserMap.put(IPADDRESS, userStat.getInetAddress().getHostAddress());
         						if(includeUserInfo)
@@ -268,7 +268,7 @@
         		{
         			// Add number of guest accounts to resultMap
         			int guestUserCount = numberOfCurrentUsers - numberOfCurrentLoggedInUsers;
-                    resultMap.put(GUESTUSERS, Integer.valueOf(guestUserCount));
+                    resultMap.put(GUESTUSERS, new Integer(guestUserCount));
         		}
                 	
         	}



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