Skip to content

Commit 389a308

Browse files
committed
fixing 1.8.0_162 inference
1 parent 067056f commit 389a308

File tree

1 file changed

+2
-1
lines changed
  • src/main/java/com/jnape/palatable/lambda/functor/builtin

1 file changed

+2
-1
lines changed

src/main/java/com/jnape/palatable/lambda/functor/builtin/State.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -172,8 +172,9 @@ public <B> State<S, B> discardL(Applicative<B, State<S, ?>> appB) {
172172
* @param <A> the state and result type
173173
* @return the new {@link State} instance
174174
*/
175+
@SuppressWarnings("RedundantTypeArguments")
175176
public static <A> State<A, A> get() {
176-
return state(Tuple2::fill);
177+
return state(Tuple2::<A>fill);
177178
}
178179

179180
/**

0 commit comments

Comments
 (0)