portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dlest...@apache.org
Subject cvs commit: jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet ServletRequestImpl.java
Date Sat, 22 May 2004 17:40:11 GMT
dlestrat    2004/05/22 10:40:11

  Modified:    portal/src/java/org/apache/jetspeed/engine/servlet
                        ServletRequestImpl.java
  Log:
  [JS2-47]
  http://nagoya.apache.org/jira/browse/JS2-47
  Patch from Ate Douma.
  
  Revision  Changes    Path
  1.15      +11 -4     jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java
  
  Index: ServletRequestImpl.java
  ===================================================================
  RCS file: /home/cvs/jakarta-jetspeed-2/portal/src/java/org/apache/jetspeed/engine/servlet/ServletRequestImpl.java,v
  retrieving revision 1.14
  retrieving revision 1.15
  diff -u -r1.14 -r1.15
  --- ServletRequestImpl.java	21 May 2004 20:54:54 -0000	1.14
  +++ ServletRequestImpl.java	22 May 2004 17:40:11 -0000	1.15
  @@ -215,12 +215,19 @@
                   if (null != portletAppDef)
                   {
                       // PortletApplicationDefinition portletAppDef = portletAppEntity.getPortletApplicationDefinition();
  -                    value = context.getUserInfoMap(portletAppDef.getId()); 
  -                    System.out.println("_____________HERE0: " + ((Map) value).size());
  +                    value = context.getUserInfoMap(portletAppDef.getId());
  +                    if ( value != null )
  +                    {
  +                        System.out.println("_____________HERE0: " + ((Map) value).size());
  +                    }
  +                    else
  +                    {
  +                        System.out.println("_____________HERE1: UserInfoMap NULL");
  +                    }
                   }
                   else
                   {                    
  -                    System.out.println("_____________HERE1: Entity is null!!!! " + entityID);
  +                    System.out.println("_____________HERE2: Entity is null!!!! " + entityID);
                   }
                     
               }
  
  
  

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


Mime
View raw message