Skip to content

Commit 6f04d60

Browse files
committed
formatting and linting
1 parent b994643 commit 6f04d60

File tree

7 files changed

+18
-12
lines changed

7 files changed

+18
-12
lines changed

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple2.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -238,7 +238,7 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
238238
}
239239

240240
/**
241-
* Returns a {@link SingletonHList}&lt;_1&gt; of the 1st element
241+
* Returns a <code>{@link SingletonHList}&lt;_1&gt;</code> of the first element.
242242
*
243243
* @return The {@link SingletonHList}&lt;_1&gt;
244244
*/

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple3.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
220220
}
221221

222222
/**
223-
* Returns a {@link Tuple2}&lt;_1, _2&gt; of all the elements of this {@link Tuple3}&lt;_1, _2, _3&gt; except the last
223+
* Returns a <code>{@link Tuple2}&lt;_1, _2&gt;</code> of all the elements of this
224+
* <code>{@link Tuple3}&lt;_1, _2, _3&gt;</code> except the last.
224225
*
225226
* @return The {@link Tuple2}&lt;_1, _2&gt; representing all but the last element
226227
*/
@@ -264,7 +265,7 @@ public static <A> Maybe<Tuple3<A, A, A>> fromIterable(Iterable<A> as) {
264265
public static <_1, _2> Pure<Tuple3<_1, _2, ?>> pureTuple(_1 _1, _2 _2) {
265266
return new Pure<Tuple3<_1, _2, ?>>() {
266267
@Override
267-
public <_3> Tuple3<_1, _2, _3> checkedApply(_3 _3) throws Throwable {
268+
public <_3> Tuple3<_1, _2, _3> checkedApply(_3 _3) {
268269
return tuple(_1, _2, _3);
269270
}
270271
};

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple4.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
247247
}
248248

249249
/**
250-
* Returns a {@link Tuple3}&lt;_1, _2, _3&gt; of all the elements of this {@link Tuple4}&lt;_1, _2, _3, _4&gt; except the last
250+
* Returns a <code>{@link Tuple3}&lt;_1, _2, _3&gt;</code> of all the elements of this
251+
* <code>{@link Tuple4}&lt;_1, _2, _3, _4&gt;</code> except the last.
251252
*
252253
* @return The {@link Tuple3}&lt;_1, _2, _3&gt; representing all but the last element
253254
*/
@@ -293,7 +294,7 @@ public static <A> Maybe<Tuple4<A, A, A, A>> fromIterable(Iterable<A> as) {
293294
public static <_1, _2, _3> Pure<Tuple4<_1, _2, _3, ?>> pureTuple(_1 _1, _2 _2, _3 _3) {
294295
return new Pure<Tuple4<_1, _2, _3, ?>>() {
295296
@Override
296-
public <_4> Tuple4<_1, _2, _3, _4> checkedApply(_4 _4) throws Throwable {
297+
public <_4> Tuple4<_1, _2, _3, _4> checkedApply(_4 _4) {
297298
return tuple(_1, _2, _3, _4);
298299
}
299300
};

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple5.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
274274
}
275275

276276
/**
277-
* Returns a {@link Tuple4}&lt;_1, _2, _3, _4&gt; of all the elements of this {@link Tuple5}&lt;_1, _2, _3, _4, _5&gt; except the last
277+
* Returns a <code>{@link Tuple4}&lt;_1, _2, _3, _4&gt;</code> of all the elements of this
278+
* <code>{@link Tuple5}&lt;_1, _2, _3, _4, _5&gt;</code> except the last.
278279
*
279280
* @return The {@link Tuple4}&lt;_1, _2, _3, _4&gt; representing all but the last element
280281
*/
@@ -322,7 +323,7 @@ public static <A> Maybe<Tuple5<A, A, A, A, A>> fromIterable(Iterable<A> as) {
322323
public static <_1, _2, _3, _4> Pure<Tuple5<_1, _2, _3, _4, ?>> pureTuple(_1 _1, _2 _2, _3 _3, _4 _4) {
323324
return new Pure<Tuple5<_1, _2, _3, _4, ?>>() {
324325
@Override
325-
public <_5> Tuple5<_1, _2, _3, _4, _5> checkedApply(_5 _5) throws Throwable {
326+
public <_5> Tuple5<_1, _2, _3, _4, _5> checkedApply(_5 _5) {
326327
return tuple(_1, _2, _3, _4, _5);
327328
}
328329
};

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple6.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
305305
}
306306

307307
/**
308-
* Returns a {@link Tuple5}&lt;_1, _2, _3, _4, _5&gt; of all the elements of this {@link Tuple6}&lt;_1, _2, _3, _4, _5, _6&gt; except the last
308+
* Returns a <code>{@link Tuple5}&lt;_1, _2, _3, _4, _5&gt;</code> of all the elements of this
309+
* <code>{@link Tuple6}&lt;_1, _2, _3, _4, _5, _6&gt;</code> except the last.
309310
*
310311
* @return The {@link Tuple5}&lt;_1, _2, _3, _4, _5&gt; representing all but the last element
311312
*/

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple7.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
335335
}
336336

337337
/**
338-
* Returns a {@link Tuple6}&lt;_1, _2, _3, _4, _5, _6&gt; of all the elements of this {@link Tuple7}&lt;_1, _2, _3, _4, _5, _6, _7&gt; except the last
338+
* Returns a <code>{@link Tuple6}&lt;_1, _2, _3, _4, _5, _6&gt;</code> of all the elements of this
339+
* <code>{@link Tuple7}&lt;_1, _2, _3, _4, _5, _6, _7&gt;</code> except the last.
339340
*
340341
* @return The {@link Tuple6}&lt;_1, _2, _3, _4, _5, _6&gt; representing all but the last element
341342
*/
@@ -388,7 +389,7 @@ public static <A> Maybe<Tuple7<A, A, A, A, A, A, A>> fromIterable(Iterable<A> as
388389
_5 _5, _6 _6) {
389390
return new Pure<Tuple7<_1, _2, _3, _4, _5, _6, ?>>() {
390391
@Override
391-
public <_7> Tuple7<_1, _2, _3, _4, _5, _6, _7> checkedApply(_7 _7) throws Throwable {
392+
public <_7> Tuple7<_1, _2, _3, _4, _5, _6, _7> checkedApply(_7 _7) {
392393
return tuple(_1, _2, _3, _4, _5, _6, _7);
393394
}
394395
};

src/main/java/com/jnape/palatable/lambda/adt/hlist/Tuple8.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -365,7 +365,8 @@ AppTrav extends Applicative<TravB, App>> AppTrav traverse(
365365
}
366366

367367
/**
368-
* Returns a {@link Tuple7}&lt;_1, _2, _3, _4, _5, _6, _7&gt; of all the elements of this {@link Tuple8}&lt;_1, _2, _3, _4, _5, _6, _7, _8&gt; except the last
368+
* Returns a <code>{@link Tuple7}&lt;_1, _2, _3, _4, _5, _6, _7&gt;</code> of all the elements of this
369+
* <code>{@link Tuple8}&lt;_1, _2, _3, _4, _5, _6, _7, _8&gt;</code> except the last.
369370
*
370371
* @return The {@link Tuple7}&lt;_1, _2, _3, _4, _5, _6, _7&gt; representing all but the last element
371372
*/
@@ -422,7 +423,7 @@ public static <A> Maybe<Tuple8<A, A, A, A, A, A, A, A>> fromIterable(Iterable<A>
422423
_7 _7) {
423424
return new Pure<Tuple8<_1, _2, _3, _4, _5, _6, _7, ?>>() {
424425
@Override
425-
public <_8> Tuple8<_1, _2, _3, _4, _5, _6, _7, _8> checkedApply(_8 _8) throws Throwable {
426+
public <_8> Tuple8<_1, _2, _3, _4, _5, _6, _7, _8> checkedApply(_8 _8) {
426427
return tuple(_1, _2, _3, _4, _5, _6, _7, _8);
427428
}
428429
};

0 commit comments

Comments
 (0)