From de14ca22d72be35e59ce370ef0edf8626db6cd82 Mon Sep 17 00:00:00 2001 From: Jerry James Date: Mon, 14 Sep 2020 08:27:01 -0600 Subject: Fix misplaced or incorrect javadoc tags --- util/src/main/java/org/aspectj/util/FileUtil.java | 6 +++--- util/src/main/java/org/aspectj/util/PartialOrder.java | 16 ++++++++-------- 2 files changed, 11 insertions(+), 11 deletions(-) (limited to 'util') 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 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 + * @return * - * Note: returning 0 from this method doesn't mean the same thing as returning 0 from - * java.util.Comparable.compareTo() + * Note: returning 0 from this method doesn't mean the same thing as returning 0 from + * java.util.Comparable.compareTo() */ 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 List sort(List objects) { -- cgit v1.2.3