Modify

Opened 16 years ago

Closed 16 years ago

#2958 closed defect (fixed)

PropertiesDialog.java uses unchecked or unsafe operations.

Reported by: anonymous Owned by: team
Priority: major Milestone:
Component: Core Version: tested
Keywords: mac osx svn ant compile Cc:

Description

cant compile from mac osx with ant since a few days because of 2 errors :

compile:

[javac] Compiling 27 source files to /Users/svn/josm/build
[javac] /Users/svn/josm/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java:201: cannot find symbol

[javac] symbol : method visit(org.openstreetmap.josm.data.osm.visitor.Visitor)
[javac] location: class java.lang.Object
[javac] conflicts.getConflictForMy((OsmPrimitive)o).getTheir().visit(conflictPainter);

[javac]
[javac] /Users/svn/josm/src/org/openstreetmap/josm/gui/dialogs/ConflictDialog.java:320: incompatible types

[javac] found : java.lang.Object
[javac] required: org.openstreetmap.josm.data.osm.OsmPrimitive
[javac] return conflicts.get(idx).getMy();
[javac]
[javac] Note: /Users/svn/josm/src/org/openstreetmap/josm/gui/dialogs/PropertiesDialog.java uses unchecked or unsafe operations.

[javac] Note: Recompile with -Xlint:unchecked for details.
[javac] 2 errors

BUILD FAILED
/Users/svn/josm/build.xml:67: Compile failed; see the compiler error output for details.

Attachments (0)

Change History (1)

comment:1 by anonymous, 16 years ago

Resolution: fixed
Status: newclosed

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.