MyFaces Tomahawk
  1. MyFaces Tomahawk
  2. TOMAHAWK-1044

UIScheduleBase wont' compile with Java 1.4.2 - unsupported method Integer.parseInt(int)

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 1.1.7-SNAPSHOT
    • Fix Version/s: 1.1.7
    • Component/s: Schedule
    • Labels:
      None
    • Environment:
      Java 1.4.2_14, Tomcat 5.0.28

      Description

      Several methods in UIScheduleBase.java call Integer.parseInt(int) - a Java5 specific language feature. I have patched and tested the patch to work with Java 1.4.2. It may be inelegant, but works. Any improvements welcome.

        Activity

        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        35s 1 Les Pall 05/Jul/07 12:16
        Patch Available Patch Available Resolved Resolved
        10h 6m 1 Peter Mahoney 05/Jul/07 22:22
        Resolved Resolved Closed Closed
        14h 9m 1 Les Pall 06/Jul/07 12:32
        Leonardo Uribe made changes -
        Fix Version/s 1.1.7 [ 12313398 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]
        Les Pall made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Hide
        Les Pall added a comment -

        Good solution, and fast turn-around!
        Thanks!

        Show
        Les Pall added a comment - Good solution, and fast turn-around! Thanks!
        Peter Mahoney made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        Peter Mahoney made changes -
        Assignee Cagatay Civici [ cagatay_civici ] Peter Mahoney [ pmahoney ]
        Hide
        Peter Mahoney added a comment -

        Change has been commited, although not using the suggested method.

        Show
        Peter Mahoney added a comment - Change has been commited, although not using the suggested method.
        Cagatay Civici made changes -
        Assignee Cagatay Civici [ cagatay_civici ]
        Les Pall made changes -
        Attachment UIScheduleBase.java.patch [ 12361188 ]
        Hide
        Les Pall added a comment -

        The attached file contains a patch I have implemented and tested. It compiles fine. There may be more elegant solutions, however.

        Show
        Les Pall added a comment - The attached file contains a patch I have implemented and tested. It compiles fine. There may be more elegant solutions, however.
        Les Pall made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        Les Pall created issue -

          People

          • Assignee:
            Peter Mahoney
            Reporter:
            Les Pall
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development