Modify

Opened 7 years ago

Closed 7 years ago

#7610 closed defect (fixed)

Plugin wikipedia does not compile

Reported by: stoecker Owned by: simon04
Priority: normal Milestone:
Component: Plugin wikipedia Version:
Keywords: Cc:

Description

The Plugin uses Java7 code and does not compile with JAVA 6.

Attachments (0)

Change History (3)

comment:1 Changed 7 years ago by simon04

Would you attach the compile error to make searching easier, please?

comment:2 Changed 7 years ago by stoecker

     [echo] compiling sources for  ../../dist/wikipedia.jar ... 
    [javac] /home/stoecker/josm/plugins/wikipedia/build.xml:60: warning: 'includeantruntime' was not set, defaulting to build.sysclasspath=last; set to false for repeatable builds
    [javac] Compiling 1 source file to /home/stoecker/josm/plugins/wikipedia/build
    [javac] WikipediaToggleDialog.java:51: type javax.swing.DefaultListModel does not take parameters
    [javac]     final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>();
    [javac]                           ^
    [javac] WikipediaToggleDialog.java:52: type javax.swing.JList does not take parameters
    [javac]     final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) {
    [javac]                ^
    [javac] WikipediaToggleDialog.java:51: type javax.swing.DefaultListModel does not take parameters
    [javac]     final DefaultListModel<WikipediaEntry> model = new DefaultListModel<WikipediaEntry>();
    [javac]                                                                        ^
    [javac] WikipediaToggleDialog.java:52: type javax.swing.JList does not take parameters
    [javac]     final JList<WikipediaEntry> list = new JList<WikipediaEntry>(model) {
    [javac]                                                 ^
    [javac] 4 errors

comment:3 Changed 7 years ago by simon04

Resolution: fixed
Status: newclosed

Fixed in [o28293].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain simon04.
as The resolution will be set.
The resolution will be deleted.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.