[jboss-cvs] jboss-portal/forums/src/main/org/jboss/portlet/forums ...

Boleslaw Dawidowicz bdaw at o2.pl
Wed Aug 23 09:38:09 EDT 2006


  User: bdaw    
  Date: 06/08/23 09:38:09

  Modified:    forums/src/main/org/jboss/portlet/forums  Tag:
                        JBoss_Portal_Branch_2_4 ForumsPortlet.java
  Log:
  small bug in forums poll voting
  
  Revision  Changes    Path
  No                   revision
  
  
  No                   revision
  
  
  1.37.2.1  +2 -2      jboss-portal/forums/src/main/org/jboss/portlet/forums/ForumsPortlet.java
  
  (In the diff below, changes in quantity of whitespace are not shown.)
  
  Index: ForumsPortlet.java
  ===================================================================
  RCS file: /cvsroot/jboss/jboss-portal/forums/src/main/org/jboss/portlet/forums/ForumsPortlet.java,v
  retrieving revision 1.37
  retrieving revision 1.37.2.1
  diff -u -b -r1.37 -r1.37.2.1
  --- ForumsPortlet.java	11 Jun 2006 22:36:30 -0000	1.37
  +++ ForumsPortlet.java	23 Aug 2006 13:38:08 -0000	1.37.2.1
  @@ -109,7 +109,7 @@
    * @author <a href="mailto:theute at jboss.org">Thomas Heute</a>
    * @author <a href="mailto:julien at jboss.org">Julien Viet</a>
    * @author <a href="mailto:boleslaw.dawidowicz at jboss.com">Boleslaw Dawidowicz</a>
  - * @version $Revision: 1.37 $
  + * @version $Revision: 1.37.2.1 $
    */
   public class ForumsPortlet
      extends JBossPortlet
  @@ -5189,7 +5189,7 @@
            for (Iterator i = poll.getVoted().iterator(); i.hasNext();)
            {
               Integer userId = (Integer)i.next();
  -            pollVoted |= user.getId().equals(userId);
  +            pollVoted |= user.getId().toString().equals(userId.toString());
            }
         }
         if (isPoll)
  
  
  



More information about the jboss-cvs-commits mailing list