Modify

Opened 9 years ago

#12788 new enhancement

Misleading message for different defaul values

Reported by: naoliv Owned by: *Martin*
Priority: minor Milestone:
Component: Plugin simplifyArea Version:
Keywords: Cc:

Description

I was seeing this message in console:

INFO: Defaults for simplify-area.angle.threshold differ: 10 != 10.0
INFO: Defaults for simplify-area.dist.threshold differ: 3 != 3.0
INFO: Defaults for simplify-area.dist.factor differ: 3 != 3.0

But they are actually the same value (3 as int = 3.0 as float)

Shouldn't these values be treated as equal?

JOSM:

URL:http://josm.openstreetmap.de/svn/trunk
Repository:UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last:Changed Date: 2016-04-26 22:05:51 +0200 (Tue, 26 Apr 2016)
Build-Date:2016-04-27 01:31:55
Revision:10159
Relative:URL: ^/trunk

Identification: JOSM/1.5 (10159 pt_BR) Linux Debian GNU/Linux testing (stretch)
Memory Usage: 356 MB / 10206 MB (95 MB allocated, but free)
Java version: 1.8.0_77-Debian-8u77-b03-3+b1-b1, Oracle Corporation, OpenJDK 64-Bit Server VM
VM arguments: [-Dawt.useSystemAAFontSettings=on]
Dataset consistency test: No problems found

Plugins:
- Create_grid_of_ways (31772)
- DxfImport (1006)
- OpeningHoursEditor (31772)
- PicLayer (31895)
- RoadSigns (31895)
- SimplifyArea (31895)
- apache-commons (31895)
- buildings_tools (31895)
- conflation (0.1.9)
- contourmerge (1014)
- download_along (31772)
- editgpx (32148)
- ejml (31895)
- geotools (31895)
- imagery_offset_db (32046)
- importvec (31772)
- indoorhelper (32134)
- jts (31772)
- log4j (31895)
- measurement (31895)
- merge-overlap (31967)
- opendata (32139)
- pbf (32128)
- pdfimport (32019)
- poly (31772)
- reverter (32005)
- scripting (30722)
- todo (29154)
- turnrestrictions (31895)
- undelete (31895)
- utilsplugin2 (32099)

Attachments (0)

Change History (0)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain *Martin*.
as The resolution will be set. Next status will be 'closed'.
to The owner will be changed from *Martin* to the specified user.
Next status will be 'needinfo'. The owner will be changed from *Martin* to naoliv.
as duplicate The resolution will be set to duplicate. Next status will be 'closed'. The specified ticket will be cross-referenced with this ticket.
The owner will be changed from *Martin* to anonymous. Next status will be 'assigned'.

Add Comment


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