Skip to content

Commit 79f2905

Browse files
author
Mark Perry
committed
Fixed javadoc warnings for core submodule
1 parent c502854 commit 79f2905

File tree

5 files changed

+18
-17
lines changed

5 files changed

+18
-17
lines changed

core/src/main/java/fj/Ord.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -662,11 +662,11 @@ public Ordering f(final A a2) {
662662
}
663663

664664
/**
665-
* An order instance that uses {@link Object#hashCode()} and {@link Object#equals()} for computing
665+
* An order instance that uses {@link Object#hashCode()} and {@link Object#equals} for computing
666666
* the order and equality. First the hashCode is compared, if this is equal, objects are compared
667-
* using {@link Object#equals()}.
667+
* using {@link Object#equals}.
668668
*
669-
* @return An order instance that is based on {@link Object#hashCode()} and {@link Object#equals()}.
669+
* @return An order instance that is based on {@link Object#hashCode()} and {@link Object#equals}.
670670
*/
671671
public static <A> Ord<A> hashEqualsOrd() {
672672
return Ord.<A> ord(new F<A, F<A, Ordering>>() {

core/src/main/java/fj/data/$.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* is the identity morphism from B to B.
88
*/
99
@SuppressWarnings({"UnusedDeclaration"})
10+
@Deprecated
1011
public final class $<A, B> implements P1<B> {
1112

1213
private final B b;

core/src/main/java/fj/data/IO.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@
2424
import fj.data.Iteratee.IterV;
2525

2626
/**
27-
* IO monad for processing files, with main methods {@link #enumFileLines(File, Option, IterV)},
28-
* {@link #enumFileChars(File, Option, IterV)} and {@link #enumFileCharChunks(File, Option, IterV)}
27+
* IO monad for processing files, with main methods {@link #enumFileLines },
28+
* {@link #enumFileChars} and {@link #enumFileCharChunks}
2929
* (the latter one is the fastest as char chunks read from the file are directly passed to the iteratee
3030
* without indirection in between).
3131
*
@@ -58,7 +58,7 @@ public Unit run() throws IOException {
5858
/**
5959
* An IO monad that reads lines from the given file (using a {@link BufferedReader}) and passes
6060
* lines to the provided iteratee. May not be suitable for files with very long
61-
* lines, consider to use {@link #enumFileCharChunks(File, IterV)} or {@link #enumFileChars(File, IterV)}
61+
* lines, consider to use {@link #enumFileCharChunks} or {@link #enumFileChars}
6262
* as an alternative.
6363
*
6464
* @param f the file to read, must not be <code>null</code>

core/src/main/java/fj/test/package-info.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* the testing and reporting of the status of those properties occurs by automating various aspects.
66
* For example, if a property is found to be false (i.e. a test fails), then the counter-example may
77
* be reduced while still falsifying the property so that the reported counter-example is the
8-
* simplest found (this is called {@link Shrink shrinking}). The expression of the property also
8+
* simplest found (this is called {@link fj.test.Shrink}). The expression of the property also
99
* serves as very rigorous documentation for the code under test; far surpassing that provided by
1010
* traditional testing techniques.
1111
*

core/src/main/java/fj/test/reflect/package-info.java

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,33 @@
11
/**
22
* A wrapper around the <code>fj.test</code> package that uses annotations for configuring properties to
3-
* check. The properties are found using {@link java.lang.reflect Java Reflection}. All annotations
3+
* check. The properties are found using reflection. All annotations
44
* are optional and a property is eligible for checking by default. A property is any of the
55
* following member descriptions, unless the member or enclosing class is annotated with
6-
* {@link NoCheck}.
6+
* {@link fj.test.reflect.NoCheck}.
77
*
88
<ul>
9-
<li>a static field of type {@link Property}.</li>
10-
<li>a static zero argument method that returns {@link Property}.</li>
11-
<li>a non-static field of type {@link Property} in a class with a zero-argument constructor.</li>
12-
<li>a non-static no-argument method that returns {@link Property} in a class with a no-argument
9+
<li>a static field of type {@link fj.test.Property}.</li>
10+
<li>a static zero argument method that returns {@link fj.test.Property}.</li>
11+
<li>a non-static field of type {@link fj.test.Property} in a class with a zero-argument constructor.</li>
12+
<li>a non-static no-argument method that returns {@link fj.test.Property} in a class with a no-argument
1313
constructor.</li>
1414
</ul>
1515
*
1616
* <p>
1717
* A property may be in zero or more categories by annotating the member or enclosing class with
18-
* {@link Category}. The property is in the set of categories that make up the
18+
* {@link fj.test.reflect.Category}. The property is in the set of categories that make up the
1919
* union of its member and enclosing class category annotation.
2020
* </p>
2121
* <p>
2222
* When a property is checked, it uses default configuration values, which may be overridden by
23-
* annotating the member or the enclosing class with the {@link CheckParams}
23+
* annotating the member or the enclosing class with the {@link fj.test.reflect.CheckParams}
2424
* annotation. The values used are first those specified on the member; or if the annotation does
2525
* not exist, then the enclosing class (default values otherwise).
2626
* </p>
2727
* <p>
2828
* A property can have a name associated with it by annotating the member with the
29-
* {@link Name} annotation. The name is a {@link String} that is used
30-
* only for reporting in check results. If the {@link Name} annotation does not
29+
* {@link fj.test.reflect.Name} annotation. The name is a {@link java.lang.String} that is used
30+
* only for reporting in check results. If the {@link fj.test.reflect.Name} annotation does not
3131
* appear on a property member, then the field or method name is used by default.
3232
* </p>
3333
*

0 commit comments

Comments
 (0)