git-svn-id: https://svn.apache.org/repos/asf/xmlgraphics/fop/trunk@529544
13f79535-47bb-0310-9956-
ffa450edef68
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;
}