[geos-devel] [GEOS] #860: Prefer empty to size of zero

GEOS geos-trac at osgeo.org
Tue Aug 27 09:19:54 PDT 2019


#860: Prefer empty to size of zero
------------------------+---------------------------
 Reporter:  goatbar     |       Owner:  geos-devel@…
     Type:  defect      |      Status:  closed
 Priority:  major       |   Milestone:  3.6.4
Component:  Default     |     Version:  3.6.2
 Severity:  Unassigned  |  Resolution:  fixed
 Keywords:              |
------------------------+---------------------------
Changes (by Daniel Baston <dbaston@…>):

 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"c4bfa4585e74bd63f1df1000a115ff3aa2ddd327/git" c4bfa45/git]:
 {{{
 #!CommitTicketReference repository="git"
 revision="c4bfa4585e74bd63f1df1000a115ff3aa2ddd327"
 Use empty() instead of size() where possible

 Fixes #860
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/geos/ticket/860#comment:3>
GEOS <http://trac.osgeo.org/geos>
GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).


More information about the geos-devel mailing list