aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2010-11-19 11:25:15 +0000
committerSimon Pepping <spepping@apache.org>2010-11-19 11:25:15 +0000
commitbf82c8fb0162ff0c8f31092b73756746b424c3a4 (patch)
treeb07689142d7797be799e869f415f2ebcba14a5ff /examples
parentb418c6d6c8623f4689b22585c18cf8d5808b7554 (diff)
downloadxmlgraphics-fop-bf82c8fb0162ff0c8f31092b73756746b424c3a4.tar.gz
xmlgraphics-fop-bf82c8fb0162ff0c8f31092b73756746b424c3a4.zip
Reverting renaming of public methods of rev. 1036179
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1036809 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r--examples/embedding/java/embedding/ExampleFO2PDF.java4
-rw-r--r--examples/embedding/java/embedding/MultipleFO2PDF.java4
2 files changed, 4 insertions, 4 deletions
diff --git a/examples/embedding/java/embedding/ExampleFO2PDF.java b/examples/embedding/java/embedding/ExampleFO2PDF.java
index 20d27c128..6ae674908 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 0da9ae14c..a9ace7cf0 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.");