ICEfaces
  1. ICEfaces
  2. ICE-1884

SetCookie.serializeTo() should use explicit casting to long

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.6
    • Fix Version/s: 1.6.1
    • Component/s: None
    • Labels:
      None
    • Environment:
      any

      Description

      should be

      if (maxAge >= 0) {
                   Date expiryDate = new Date(System.currentTimeMillis() + maxAge * 1000l);
                   writer.write("expires=");
                   writer.write(CookieDateFormat.format(expiryDate));
                   writer.write("; ");
               }

        Activity

        Repository Revision Date User Message
        ICEsoft Public SVN Repository #14522 Wed Jul 18 14:47:45 MDT 2007 mircea.toma Fix autocast problem -- ICE-1884.
        Files Changed
        Commit graph MODIFY /icefaces/trunk/icefaces/core/src/com/icesoft/faces/webapp/command/SetCookie.java

          People

          • Assignee:
            Unassigned
            Reporter:
            Philip Breau
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: