Mercurial > dive4elements > river
comparison flys-artifacts/src/main/java/de/intevation/flys/exports/ChartGenerator.java @ 3555:b1912514e0f5
s/container.size() == 0/container.isEmpty()/
flys-artifacts/trunk@5149 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Sat, 28 Jul 2012 21:48:15 +0000 |
parents | 0b9b2a0c4e64 |
children | dd6e25980c91 |
comparison
equal
deleted
inserted
replaced
3554:9b356ed24411 | 3555:b1912514e0f5 |
---|---|
421 * @param plot Plot to add annotations to. | 421 * @param plot Plot to add annotations to. |
422 */ | 422 */ |
423 protected void addAnnotationsToRenderer(XYPlot plot) { | 423 protected void addAnnotationsToRenderer(XYPlot plot) { |
424 logger.debug("addAnnotationsToRenderer"); | 424 logger.debug("addAnnotationsToRenderer"); |
425 | 425 |
426 if (annotations == null || annotations.size() == 0) { | 426 if (annotations == null || annotations.isEmpty()) { |
427 logger.debug("addAnnotationsToRenderer: no annotations."); | 427 logger.debug("addAnnotationsToRenderer: no annotations."); |
428 return; | 428 return; |
429 } | 429 } |
430 | 430 |
431 // OPTMIMIZE: Pre-calculate positions | 431 // OPTMIMIZE: Pre-calculate positions |