--- old/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java 2015-04-14 14:42:46.813177398 -0700 +++ new/src/java.desktop/share/classes/javax/swing/plaf/basic/BasicDirectoryModel.java 2015-04-14 14:42:46.665177395 -0700 @@ -1,5 +1,5 @@ /* - * Copyright (c) 1998, 2014, Oracle and/or its affiliates. All rights reserved. + * Copyright (c) 1998, 2015, Oracle and/or its affiliates. All rights reserved. * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER. * * This code is free software; you can redistribute it and/or modify it @@ -219,12 +219,14 @@ /** * Obsolete - not used. + * @param e list data event */ public void intervalAdded(ListDataEvent e) { } /** * Obsolete - not used. + * @param e list data event */ public void intervalRemoved(ListDataEvent e) { } @@ -238,7 +240,12 @@ ShellFolder.sort(v); } - // Obsolete - not used + /** + * Obsolete - not used + * @return a comparison of the file names + * @param a a file + * @param b another file + */ protected boolean lt(File a, File b) { // First ignore case when comparing int diff = a.getName().toLowerCase().compareTo(b.getName().toLowerCase());