diff options
author | Simon Pepping <spepping@apache.org> | 2010-11-17 19:45:27 +0000 |
---|---|---|
committer | Simon Pepping <spepping@apache.org> | 2010-11-17 19:45:27 +0000 |
commit | cfa853d5b2a728fa90c12cd1a44ca1a3eec1a12e (patch) | |
tree | fd4917a892fb3a096ebcac26112539eba4bdde25 /examples | |
parent | 43798aa8a3f263ca8ff0ba6de96a046a79f21011 (diff) | |
download | xmlgraphics-fop-cfa853d5b2a728fa90c12cd1a44ca1a3eec1a12e.tar.gz xmlgraphics-fop-cfa853d5b2a728fa90c12cd1a44ca1a3eec1a12e.zip |
findbugs-reported bug squashing; 959 bugs left (findbugs 1.3.9)
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036179 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r-- | examples/embedding/java/embedding/ExampleFO2PDF.java | 4 | ||||
-rw-r--r-- | examples/embedding/java/embedding/MultipleFO2PDF.java | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/embedding/java/embedding/ExampleFO2PDF.java b/examples/embedding/java/embedding/ExampleFO2PDF.java index 6ae674908..20d27c128 100644 --- a/examples/embedding/java/embedding/ExampleFO2PDF.java +++ b/examples/embedding/java/embedding/ExampleFO2PDF.java @@ -94,8 +94,8 @@ public class ExampleFO2PDF { for (java.util.Iterator it = pageSequences.iterator(); it.hasNext();) { PageSequenceResults pageSequenceResults = (PageSequenceResults)it.next(); System.out.println("PageSequence " - + (String.valueOf(pageSequenceResults.getID()).length() > 0 - ? pageSequenceResults.getID() : "<no id>") + + (String.valueOf(pageSequenceResults.getId()).length() > 0 + ? pageSequenceResults.getId() : "<no id>") + " generated " + pageSequenceResults.getPageCount() + " pages."); } System.out.println("Generated " + foResults.getPageCount() + " pages in total."); diff --git a/examples/embedding/java/embedding/MultipleFO2PDF.java b/examples/embedding/java/embedding/MultipleFO2PDF.java index a9ace7cf0..0da9ae14c 100644 --- a/examples/embedding/java/embedding/MultipleFO2PDF.java +++ b/examples/embedding/java/embedding/MultipleFO2PDF.java @@ -147,8 +147,8 @@ public class MultipleFO2PDF { for (java.util.Iterator it = pageSequences.iterator(); it.hasNext();) { PageSequenceResults pageSequenceResults = (PageSequenceResults)it.next(); System.out.println("PageSequence " - + (String.valueOf(pageSequenceResults.getID()).length() > 0 - ? pageSequenceResults.getID() : "<no id>") + + (String.valueOf(pageSequenceResults.getId()).length() > 0 + ? pageSequenceResults.getId() : "<no id>") + " generated " + pageSequenceResults.getPageCount() + " pages."); } System.out.println("Generated " + foResults.getPageCount() + " pages in total."); |