ICEpdf
  1. ICEpdf
  2. PDF-566

Warnings displayed when compiling with -Xlint:unchecked

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Trivial Trivial
    • Resolution: Fixed
    • Affects Version/s: 4.3.4, 5.0
    • Fix Version/s: 5.1
    • Component/s: Core/Parsing
    • Labels:
      None
    • Environment:
      All
    • Salesforce Case Reference:

      Description

      The following sample warnings can be seen when compiling the code with -Xlint:unchecked:

      C:\ICEpdf\ICEpdf-pro-4.3.4-src\ICEpdf-pro-4.3.4\src\org\icepdf\ri\common\SwingViewBuilder.java:1042: warning: [unchecked] unchecked call to set(int,E) as a member of the raw type java.util.List
                      windowDocOriginList.set(i, identifier);
      C:\ICEpdf\ICEpdf-pro-4.3.4-src\ICEpdf-pro-4.3.4\src\org\icepdf\ri\util\BareBonesBrowserLaunch.java:62: warning: [unchecked] unchecked call to getDeclaredMethod(java.lang.String,java.lang.Class<?>...) as a member of the raw type java.lang.Class
                      Method openURL = fileMgr.getDeclaredMethod("openURL",
      C:\ICEpdf\ICEpdf-pro-4.3.4-src\ICEpdf-pro-4.3.4\src\org\icepdf\ri\viewer\WindowManager.java:98: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.Vector
              controllers.add(controller);
      C:\ICEpdf\ICEpdf-pro-4.3.4-src\ICEpdf-pro-4.3.4\src\org\icepdf\ri\viewer\WindowManager.java:245: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
                  list.add(toAdd);
      C:\ICEpdf\ICEpdf-pro-4.3.4-src\ICEpdf-pro-4.3.4\src\org\icepdf\ri\viewer\WindowManager.java:248: warning: [unchecked] unchecked call to add(E) as a member of the raw type java.util.List
                  list.add(foundIndex);

        Activity

        Arran Mccullough created issue -
        Arran Mccullough made changes -
        Field Original Value New Value
        Priority Major [ 3 ] Trivial [ 5 ]
        Arran Mccullough made changes -
        Salesforce Case Reference 5007000000RTprJAAT
        Patrick Corless made changes -
        Status Open [ 1 ] Resolved [ 5 ]
        Fix Version/s 5.1 [ 10675 ]
        Resolution Fixed [ 1 ]
        Patrick Corless made changes -
        Status Resolved [ 5 ] Closed [ 6 ]

          People

          • Assignee:
            Patrick Corless
            Reporter:
            Arran Mccullough
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: