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

        Les Pall created issue -
        Les Pall made changes -
        Field Original Value New Value
        Status Open [ 1 ] Patch Available [ 10002 ]
        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 -
        Attachment UIScheduleBase.java.patch [ 12361188 ]
        Cagatay Civici made changes -
        Assignee Cagatay Civici [ cagatay_civici ]
        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.
        Peter Mahoney made changes -
        Assignee Cagatay Civici [ cagatay_civici ] Peter Mahoney [ pmahoney ]
        Peter Mahoney made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Resolution Fixed [ 1 ]
        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!
        Les Pall made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Leonardo Uribe made changes -
        Fix Version/s 1.1.7 [ 12313398 ]
        Fix Version/s 1.1.7-SNAPSHOT [ 12312361 ]

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development