Skip to content

Commit 697a1b2

Browse files
committed
fix Try javadoc
1 parent 4410b34 commit 697a1b2

File tree

10 files changed

+27
-27
lines changed

10 files changed

+27
-27
lines changed

core/src/main/java/fj/Try.java

Lines changed: 18 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,9 @@
1616
public class Try {
1717

1818
/**
19-
* Promotes the TryCatch0 to a Validation that returns an Exception on the failure side and its result on the success side.
19+
* Promotes the Try0 to a Validation that returns an Exception on the failure side and its result on the success side.
2020
*
21-
* @param t A TryCatch0 to promote
21+
* @param t A Try0 to promote
2222
* @return A Validation with an Exception on the failure side and its result on the success side.
2323
*/
2424
static public <A, E extends Exception> P1<Validation<E, A>> f(final Try0<A, E> t) {
@@ -32,9 +32,9 @@ static public <A, E extends Exception> P1<Validation<E, A>> f(final Try0<A, E> t
3232
}
3333

3434
/**
35-
* Promotes the TryCatch1 to a Validation that returns an Exception on the failure side and its result on the success side.
35+
* Promotes the Try1 to a Validation that returns an Exception on the failure side and its result on the success side.
3636
*
37-
* @param t A TryCatch1 to promote
37+
* @param t A Try1 to promote
3838
* @return A Validation with an Exception on the failure side and its result on the success side.
3939
*/
4040
static public <A, B, E extends Exception> F<A, Validation<E, B>> f(final Try1<A, B, E> t) {
@@ -48,9 +48,9 @@ static public <A, B, E extends Exception> F<A, Validation<E, B>> f(final Try1<A,
4848
}
4949

5050
/**
51-
* Promotes the TryCatch2 to a Validation that returns an Exception on the failure side and its result on the success side.
51+
* Promotes the Try2 to a Validation that returns an Exception on the failure side and its result on the success side.
5252
*
53-
* @param t A TryCatch2 to promote
53+
* @param t A Try2 to promote
5454
* @return A Validation with an Exception on the failure side and its result on the success side.
5555
*/
5656
static public <A, B, C, E extends Exception> F2<A, B, Validation<E, C>> f(final Try2<A, B, C, E> t) {
@@ -64,9 +64,9 @@ static public <A, B, C, E extends Exception> F2<A, B, Validation<E, C>> f(final
6464
}
6565

6666
/**
67-
* Promotes the TryCatch3 to a Validation that returns an Exception on the failure side and its result on the success side.
67+
* Promotes the Try3 to a Validation that returns an Exception on the failure side and its result on the success side.
6868
*
69-
* @param t A TryCatch3 to promote
69+
* @param t A Try3 to promote
7070
* @return A Validation with an Exception on the failure side and its result on the success side.
7171
*/
7272
static public <A, B, C, D, E extends Exception> F3<A, B, C, Validation<E, D>> f(final Try3<A, B, C, D, E> t) {
@@ -80,9 +80,9 @@ static public <A, B, C, D, E extends Exception> F3<A, B, C, Validation<E, D>> f(
8080
}
8181

8282
/**
83-
* Promotes the TryCatch4 to a Validation that returns an Exception on the failure side and its result on the success side.
83+
* Promotes the Try4 to a Validation that returns an Exception on the failure side and its result on the success side.
8484
*
85-
* @param t A TryCatch4 to promote
85+
* @param t A Try4 to promote
8686
* @return A Validation with an Exception on the failure side and its result on the success side.
8787
*/
8888
static public <A, B, C, D, E, Z extends Exception> F4<A, B, C, D, Validation<Z, E>> f(final Try4<A, B, C, D, E, Z> t) {
@@ -96,9 +96,9 @@ static public <A, B, C, D, E, Z extends Exception> F4<A, B, C, D, Validation<Z,
9696
}
9797

9898
/**
99-
* Promotes the TryCatch5 to a Validation that returns an Exception on the failure side and its result on the success side.
99+
* Promotes the Try5 to a Validation that returns an Exception on the failure side and its result on the success side.
100100
*
101-
* @param t A TryCatch5 to promote
101+
* @param t A Try5 to promote
102102
* @return A Validation with an Exception on the failure side and its result on the success side.
103103
*/
104104
static public <A, B, C, D, E, F, Z extends Exception> F5<A, B, C, D, E, Validation<Z, F>> f(final Try5<A, B, C, D, E, F, Z> t) {
@@ -112,9 +112,9 @@ static public <A, B, C, D, E, F, Z extends Exception> F5<A, B, C, D, E, Validati
112112
}
113113

114114
/**
115-
* Promotes the TryCatch6 to a Validation that returns an Exception on the failure side and its result on the success side.
115+
* Promotes the Try6 to a Validation that returns an Exception on the failure side and its result on the success side.
116116
*
117-
* @param t A TryCatch6 to promote
117+
* @param t A Try6 to promote
118118
* @return A Validation with an Exception on the failure side and its result on the success side.
119119
*/
120120
static public <A, B, C, D, E, F, G, Z extends Exception> F6<A, B, C, D, E, F, Validation<Z, G>> f(final Try6<A, B, C, D, E, F, G, Z> t) {
@@ -128,9 +128,9 @@ static public <A, B, C, D, E, F, G, Z extends Exception> F6<A, B, C, D, E, F, Va
128128
}
129129

130130
/**
131-
* Promotes the TryCatch7 to a Validation that returns an Exception on the failure side and its result on the success side.
131+
* Promotes the Try7 to a Validation that returns an Exception on the failure side and its result on the success side.
132132
*
133-
* @param t A TryCatch7 to promote
133+
* @param t A Try7 to promote
134134
* @return A Validation with an Exception on the failure side and its result on the success side.
135135
*/
136136
static public <A, B, C, D, E, F, G, H, Z extends Exception> F7<A, B, C, D, E, F, G, Validation<Z, H>> f(final Try7<A, B, C, D, E, F, G, H, Z> t) {
@@ -144,9 +144,9 @@ static public <A, B, C, D, E, F, G, H, Z extends Exception> F7<A, B, C, D, E, F,
144144
}
145145

146146
/**
147-
* Promotes the TryCatch8 to a Validation that returns an Exception on the failure side and its result on the success side.
147+
* Promotes the Try8 to a Validation that returns an Exception on the failure side and its result on the success side.
148148
*
149-
* @param t A TryCatch8 to promote
149+
* @param t A Try8 to promote
150150
* @return A Validation with an Exception on the failure side and its result on the success side.
151151
*/
152152
public static <A, B, C, D, E, F, G, H, I, Z extends Exception> F8<A, B, C, D, E, F, G, H, Validation<Z, I>> f(final Try8<A, B, C, D, E, F, G, H, I, Z> t) {

core/src/main/java/fj/function/Try0.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to a <code>P1</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try0)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try1.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try1)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F2</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try2)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try3.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F3</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try3)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try4.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F4</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try4)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try5.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F5</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try5)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try6.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F6</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try6)
99
* @version %build.number%
1010
*/
1111

core/src/main/java/fj/function/Try7.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
*
77
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F7</code>.
88
*
9-
* @see fj.Try#f
9+
* @see fj.Try#f(Try7)
1010
* @version %build.number%
1111
*/
1212

core/src/main/java/fj/function/Try8.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
*
66
* Used to instantiate a lambda that may throw an <code>Exception</code> before converting to an <code>F8</code>.
77
*
8-
* @see fj.Try#f
8+
* @see fj.Try#f(Try8)
99
* @version %build.number%
1010
*/
1111

0 commit comments

Comments
 (0)