aboutsummaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
authorSimon Pepping <spepping@apache.org>2011-01-04 13:36:10 +0000
committerSimon Pepping <spepping@apache.org>2011-01-04 13:36:10 +0000
commit7c5be87cdb9d68effe8e968773b9159f02db06d1 (patch)
tree3f28aeb15b6de2730b08d86ba34f5f6ee0a5d4f0 /examples
parente058f4d959c3135516348affa098598fd835da50 (diff)
downloadxmlgraphics-fop-7c5be87cdb9d68effe8e968773b9159f02db06d1.tar.gz
xmlgraphics-fop-7c5be87cdb9d68effe8e968773b9159f02db06d1.zip
Add type-safe parameters to collections; replace XGC jar to benefit from new type-safe methods
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@1055034 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'examples')
-rw-r--r--examples/plan/src/org/apache/fop/plan/PlanElementMapping.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java b/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java
index 781fd8371..5b8a0b5bb 100644
--- a/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java
+++ b/examples/plan/src/org/apache/fop/plan/PlanElementMapping.java
@@ -45,7 +45,7 @@ public class PlanElementMapping extends ElementMapping {
/** {@inheritDoc} */
protected void initialize() {
if (foObjs == null) {
- foObjs = new java.util.HashMap();
+ foObjs = new java.util.HashMap<String, Maker>();
foObjs.put("plan", new PE());
foObjs.put(DEFAULT, new PlanMaker());
}