aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorAdrian Cumiskey <acumiskey@apache.org>2008-05-28 10:11:09 +0000
committerAdrian Cumiskey <acumiskey@apache.org>2008-05-28 10:11:09 +0000
commit4a4ec49722df7527eb3084b742f5d21c8b33fbd5 (patch)
treebb82da71bb11313820ff3a79a1329220604de8b2 /src
parentdf1aab82cfb90510c5108cb87e03623aa1c77be2 (diff)
downloadxmlgraphics-fop-4a4ec49722df7527eb3084b742f5d21c8b33fbd5.tar.gz
xmlgraphics-fop-4a4ec49722df7527eb3084b742f5d21c8b33fbd5.zip
finalised log and cleanup
git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/branches/Temp_AFPGOCAResources@660891 13f79535-47bb-0310-9956-ffa450edef68
Diffstat (limited to 'src')
-rw-r--r--src/java/org/apache/fop/area/IDTracker.java14
1 files changed, 6 insertions, 8 deletions
diff --git a/src/java/org/apache/fop/area/IDTracker.java b/src/java/org/apache/fop/area/IDTracker.java
index e8b53b20c..a701af70b 100644
--- a/src/java/org/apache/fop/area/IDTracker.java
+++ b/src/java/org/apache/fop/area/IDTracker.java
@@ -20,8 +20,6 @@
package org.apache.fop.area;
import java.util.ArrayList;
-import java.util.HashMap;
-import java.util.HashSet;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
@@ -36,20 +34,20 @@ import org.apache.commons.logging.LogFactory;
*/
public class IDTracker {
- private static Log log = LogFactory.getLog(IDTracker.class);
+ private static final Log log = LogFactory.getLog(IDTracker.class);
// HashMap of ID's whose area is located on one or more consecutive
// PageViewports. Each ID has an arraylist of PageViewports that
// form the defined area of this ID
- private Map idLocations = new HashMap();
+ private Map idLocations = new java.util.HashMap();
// idref's whose target PageViewports have yet to be identified
// Each idref has a HashSet of Resolvable objects containing that idref
- private Map unresolvedIDRefs = new HashMap();
+ private Map unresolvedIDRefs = new java.util.HashMap();
- private Set unfinishedIDs = new HashSet();
+ private Set unfinishedIDs = new java.util.HashSet();
- private Set alreadyResolvedIDs = new HashSet();
+ private Set alreadyResolvedIDs = new java.util.HashSet();
/**
* Tie a PageViewport with an ID found on a child area of the PV. Note that
@@ -198,7 +196,7 @@ public class IDTracker {
public void addUnresolvedIDRef(String idref, Resolvable res) {
Set todo = (Set) unresolvedIDRefs.get(idref);
if (todo == null) {
- todo = new HashSet();
+ todo = new java.util.HashSet();
unresolvedIDRefs.put(idref, todo);
}
// add Resolvable object to this HashSet