Skip to content

Commit

Permalink
Spotless
Browse files Browse the repository at this point in the history
Signed-off-by: Thomas Farr <[email protected]>
  • Loading branch information
Xtansia committed Nov 5, 2024
1 parent 101e90d commit 1f66ddc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,7 @@
import java.util.List;
import java.util.concurrent.ConcurrentLinkedQueue;
import java.util.stream.Collectors;
import javax.net.ssl.SSLContext;
import org.apache.hc.core5.function.Supplier;
import org.apache.hc.core5.http.HttpRequest;
import org.apache.hc.core5.http.ProtocolException;
Expand Down Expand Up @@ -61,8 +62,6 @@
import software.amazon.awssdk.regions.Region;
import software.amazon.awssdk.utils.AttributeMap;

import javax.net.ssl.SSLContext;

@RunWith(Parameterized.class)
public class AwsSdk2TransportTests {
private static final Region TEST_REGION = Region.AP_SOUTHEAST_2;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -241,7 +241,7 @@ private static <This, A> Function<A, This> findCtor(Class<This> clazz, Class<A>
var handle = MethodHandles.lookup().findConstructor(clazz, MethodType.methodType(void.class, aType));
return (a) -> {
try {
//noinspection unchecked
// noinspection unchecked
return (This) handle.invoke(a);
} catch (Throwable e) {
throw new RuntimeException(e);
Expand All @@ -260,7 +260,7 @@ private static <Return, A, B, C> TriFunction<A, B, C, Return> findStaticMethod(
var handle = MethodHandles.lookup().findStatic(clazz, name, MethodType.methodType(rType, aType, bType, cType));
return (a, b, c) -> {
try {
//noinspection unchecked
// noinspection unchecked
return (Return) handle.invoke(a, b, c);
} catch (Throwable e) {
throw new RuntimeException(e);
Expand Down

0 comments on commit 1f66ddc

Please sign in to comment.