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 = (PDFDestination)obj2; >> + return dest1.getIDRef().compareTo(dest2.getIDRef()); >> + } >> + return 0; > > Shouldn't the content of the if block be indented?
Yes, of course. Looks like I made the change a bit quickly. Thanks for spotting that. Vincent