Re: svn commit: r529507 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/DestinationComparator.java

2007-04-17 Thread Vincent Hennebert
Hi Paul, Paul Vinkenoog a écrit : > Hello Vincent, > >> +public int compare (Object obj1, Object obj2) { >> +if (obj1 instanceof PDFDestination && obj2 instanceof >> PDFDestination) { >> +PDFDestination dest1 = (PDFDestination)obj1; >> +PDFDestination dest2 = (PDFDest

Re: svn commit: r529507 - /xmlgraphics/fop/trunk/src/java/org/apache/fop/pdf/DestinationComparator.java

2007-04-17 Thread Paul Vinkenoog
Hello Vincent, > +public int compare (Object obj1, Object obj2) { > +if (obj1 instanceof PDFDestination && obj2 instanceof > PDFDestination) { > +PDFDestination dest1 = (PDFDestination)obj1; > +PDFDestination dest2 = (PDFDestination)obj2; > +return dest1.getIDR