Skip to content

Commit 84f351c

Browse files
committed
minor formatting
1 parent 5018448 commit 84f351c

File tree

1 file changed

+0
-9
lines changed
  • src/main/java/net/tascalate/concurrent

1 file changed

+0
-9
lines changed

src/main/java/net/tascalate/concurrent/Try.java

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -110,19 +110,10 @@ static <R> Supplier<Try<R>> call(Supplier<? extends R> supplier) {
110110
};
111111
}
112112

113-
114113
@SuppressWarnings("unchecked")
115114
static <R> Try<R> nothing() {
116115
return (Try<R>)NOTHING;
117116
}
118-
119-
/*
120-
@SuppressWarnings("unchecked")
121-
static <T, E extends Throwable> T sneakyThrow(Throwable e) throws E {
122-
throw (E) e;
123-
}
124-
*/
125-
126117

127118
private static final Try<Object> NOTHING = success(null);
128119
}

0 commit comments

Comments
 (0)