diff options
Diffstat (limited to 'src/java')
-rw-r--r-- | src/java/org/apache/fop/pdf/DestinationComparator.java | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/java/org/apache/fop/pdf/DestinationComparator.java b/src/java/org/apache/fop/pdf/DestinationComparator.java index 0b4cd3eed..87d6a00ff 100644 --- a/src/java/org/apache/fop/pdf/DestinationComparator.java +++ b/src/java/org/apache/fop/pdf/DestinationComparator.java @@ -32,9 +32,9 @@ public class DestinationComparator implements java.util.Comparator { public int compare (Object obj1, Object obj2) { if (obj1 instanceof PDFDestination && obj2 instanceof PDFDestination) { - PDFDestination dest1 = (PDFDestination)obj1; - PDFDestination dest2 = (PDFDestination)obj2; - return dest1.getIDRef().compareTo(dest2.getIDRef()); + PDFDestination dest1 = (PDFDestination)obj1; + PDFDestination dest2 = (PDFDestination)obj2; + return dest1.getIDRef().compareTo(dest2.getIDRef()); } return 0; } |