ZoomInTool.onMouseReleased illegal use of equals
------------------------------------------------
Key: GEOT-3450
URL: http://jira.codehaus.org/browse/GEOT-3450
Project: GeoTools
Issue Type: Bug
Components: swing
Affects Versions: 2.7-RC2
Environment: 32bit JDK 1.6.0_24 under both 32bit and 64bit Windows and
Linux (Ubuntu)
Reporter: Francois Genolini
Priority: Trivial
I ran FindBugs from Eclipse on org.geotools.swing.tool.ZoomInTool.java
method onMouseReleased illegally uses equals to compare different types in:
ev.getPoint().equals(this.startDragPos)
possible fix: write a method that will compare Point int x with Point2D double
getX() and int y with double getY()
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
------------------------------------------------------------------------------
Free Software Download: Index, Search & Analyze Logs and other IT data in
Real-Time with Splunk. Collect, index and harness all the fast moving IT data
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business
insights. http://p.sf.net/sfu/splunk-dev2dev
_______________________________________________
Geotools-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel