diff options
Diffstat (limited to 'util')
-rw-r--r-- | util/src/main/java/org/aspectj/util/FileUtil.java | 6 | ||||
-rw-r--r-- | util/src/main/java/org/aspectj/util/PartialOrder.java | 16 |
2 files changed, 11 insertions, 11 deletions
diff --git a/util/src/main/java/org/aspectj/util/FileUtil.java b/util/src/main/java/org/aspectj/util/FileUtil.java index 588a46c43..34b2cc17f 100644 --- a/util/src/main/java/org/aspectj/util/FileUtil.java +++ b/util/src/main/java/org/aspectj/util/FileUtil.java @@ -324,7 +324,7 @@ public class FileUtil { /** * Flatten File[] to String. * - * @param files the File[] of paths to flatten - null ignored + * @param paths the String[] of paths to flatten - null ignored * @param infix the String infix to use - null treated as File.pathSeparator */ public static String flatten(String[] paths, String infix) { @@ -1288,9 +1288,9 @@ public class FileUtil { * result. * * @param sought the String text to seek in the file - * @param sources the List of String paths to the source files + * @param sourcePath the String of paths to the source files * @param listAll if false, only list first match in file - * @param List sink the List for String entries of the form {sourcePath}:line:column + * @param sink the List of String entries of the form {sourcePath}:line:column * @return String error if any, or add String entries to sink */ public static String lineSeek(String sought, String sourcePath, boolean listAll, List<String> sink) { diff --git a/util/src/main/java/org/aspectj/util/PartialOrder.java b/util/src/main/java/org/aspectj/util/PartialOrder.java index ec3ddae28..936bf79ed 100644 --- a/util/src/main/java/org/aspectj/util/PartialOrder.java +++ b/util/src/main/java/org/aspectj/util/PartialOrder.java @@ -31,14 +31,14 @@ public class PartialOrder { */ public interface PartialComparable { /** - * @returns <ul> - * <li>+1 if this is greater than other</li> - * <li>-1 if this is less than other</li> - * <li>0 if this is not comparable to other</li> - * </ul> + * @return <ul> + * <li>+1 if this is greater than other</li> + * <li>-1 if this is less than other</li> + * <li>0 if this is not comparable to other</li> + * </ul> * - * <b> Note: returning 0 from this method doesn't mean the same thing as returning 0 from - * java.util.Comparable.compareTo()</b> + * <b> Note: returning 0 from this method doesn't mean the same thing as returning 0 from + * java.util.Comparable.compareTo()</b> */ int compareTo(Object other); @@ -110,7 +110,7 @@ public class PartialOrder { /** * @param objects must all implement PartialComparable * - * @returns the same members as objects, but sorted according to their partial order. returns null if the objects are cyclical + * @return the same members as objects, but sorted according to their partial order. returns null if the objects are cyclical * */ public static <T extends PartialComparable> List<T> sort(List<T> objects) { |