1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-22 06:02:11 +02:00

Cosmetics.

This commit is contained in:
Sergey Prigogin 2015-02-23 16:27:43 -08:00
parent e424d5f1a3
commit 6744ecdeab
2 changed files with 4 additions and 3 deletions

View file

@ -47,8 +47,8 @@ import org.eclipse.core.runtime.NullProgressMonitor;
public class PDOMSearchTest extends PDOMTestBase { public class PDOMSearchTest extends PDOMTestBase {
final Comparator<IBinding> BINDING_COMPARATOR = new Comparator<IBinding>() { final Comparator<IBinding> BINDING_COMPARATOR = new Comparator<IBinding>() {
@Override @Override
public int compare(IBinding o1, IBinding o2) { public int compare(IBinding b1, IBinding b2) {
return o1.getName().compareTo(o2.getName()); return b1.getName().compareTo(b2.getName());
} }
}; };

View file

@ -351,7 +351,8 @@ public class CharArrayUtils {
/** /**
* Finds an array of chars in an array of arrays of chars. * Finds an array of chars in an array of arrays of chars.
* @return offset where the array was found or <code>-1</code> *
* @return offset where the array was found or {@code -1}
*/ */
public static int indexOf(final char[] searchFor, final char[][] searchIn) { public static int indexOf(final char[] searchFor, final char[][] searchIn) {
for (int i = 0; i < searchIn.length; i++) { for (int i = 0; i < searchIn.length; i++) {