@@ -49,7 +49,7 @@ public static <A, B,C> F<F<C, A>, F<C, B>> o(final F<A, B> f) {
4949 * @param g A function with which to compose this one.
5050 * @return The composed function such that this function is applied first.
5151 */
52- @ SuppressWarnings ({ "unchecked" } )
52+ @ SuppressWarnings ("unchecked" )
5353 public static <A , B , C > F <A , C > andThen (final F <A , B > f , final F <B , C > g ) {
5454 return o (g , f );
5555 }
@@ -259,7 +259,7 @@ public static <A, B> F<Promise<A>, Promise<B>> mapPromise(final F<A, B> f) {
259259 *
260260 * @return This function promoted to return its result on the left side of an Either.
261261 */
262- @ SuppressWarnings ({ "unchecked" } )
262+ @ SuppressWarnings ("unchecked" )
263263 public static <A , B , C > F <A , Either <B , C >> eitherLeftK (final F <A , B > f ) {
264264 return o (Either .<B , C >left_ (), f );
265265 }
@@ -270,7 +270,7 @@ public static <A, B, C> F<A, Either<B, C>> eitherLeftK(final F<A, B> f) {
270270 *
271271 * @return This function promoted to return its result on the right side of an Either.
272272 */
273- @ SuppressWarnings ({ "unchecked" } )
273+ @ SuppressWarnings ("unchecked" )
274274 public static <A , B , C > F <A , Either <C , B >> eitherRightK (final F <A , B > f ) {
275275 return o (Either .<C , B >right_ (), f );
276276 }
@@ -280,7 +280,7 @@ public static <A, B, C> F<A, Either<C, B>> eitherRightK(final F<A, B> f) {
280280 *
281281 * @return This function promoted to map over the left side of an Either.
282282 */
283- @ SuppressWarnings ({ "unchecked" } )
283+ @ SuppressWarnings ("unchecked" )
284284 public static <A , B , X > F <Either <A , X >, Either <B , X >> mapLeft (final F <A , B > f ) {
285285 return Either .<A , X , B >leftMap_ ().f (f );
286286 }
@@ -290,7 +290,7 @@ public static <A, B, X> F<Either<A, X>, Either<B, X>> mapLeft(final F<A, B> f) {
290290 *
291291 * @return This function promoted to map over the right side of an Either.
292292 */
293- @ SuppressWarnings ({ "unchecked" } )
293+ @ SuppressWarnings ("unchecked" )
294294 public static <A , B , X > F <Either <X , A >, Either <X , B >> mapRight (final F <A , B > f ) {
295295 return Either .<X , A , B >rightMap_ ().f (f );
296296 }
@@ -318,7 +318,7 @@ public static <A, B> F<Either<A, B>, B> onRight(final F<A, B> f) {
318318 *
319319 * @return This function promoted to return its value in an Iterable.
320320 */
321- @ SuppressWarnings ({ "unchecked" } )
321+ @ SuppressWarnings ("unchecked" )
322322 public static <A , B > F <A , IterableW <B >> iterableK (final F <A , B > f ) {
323323 return IterableW .<A , B >arrow ().f (f );
324324 }
@@ -328,7 +328,7 @@ public static <A, B> F<A, IterableW<B>> iterableK(final F<A, B> f) {
328328 *
329329 * @return This function promoted to map over Iterables.
330330 */
331- @ SuppressWarnings ({ "unchecked" } )
331+ @ SuppressWarnings ("unchecked" )
332332 public static <A , B > F <Iterable <A >, IterableW <B >> mapIterable (final F <A , B > f ) {
333333 return F1Functions .o (IterableW .<A , B >map ().f (f ), IterableW .<A , Iterable <A >>wrap ());
334334 }
@@ -338,7 +338,7 @@ public static <A, B> F<Iterable<A>, IterableW<B>> mapIterable(final F<A, B> f) {
338338 *
339339 * @return This function promoted to return its value in a NonEmptyList.
340340 */
341- @ SuppressWarnings ({ "unchecked" } )
341+ @ SuppressWarnings ("unchecked" )
342342 public static <A , B > F <A , NonEmptyList <B >> nelK (final F <A , B > f ) {
343343 return o (NonEmptyList .<B >nel (), f );
344344 }
@@ -387,7 +387,7 @@ public static <A, B> F<A, Tree<B>> treeK(final F<A, B> f) {
387387 *
388388 * @return This function promoted to map over a Tree.
389389 */
390- @ SuppressWarnings ({ "unchecked" } )
390+ @ SuppressWarnings ("unchecked" )
391391 public static <A , B > F <Tree <A >, Tree <B >> mapTree (final F <A , B > f ) {
392392 return Tree .<A , B >fmap_ ().f (f );
393393 }
0 commit comments