Fix some compiler warnings
This commit is contained in:
parent
a5b5d236e1
commit
7b53cebd3d
|
@ -81,9 +81,9 @@ public final class JerseyClientConnectionErrorInstrumentation extends Instrument
|
|||
@Advice.OnMethodExit(suppress = Throwable.class)
|
||||
public static void handleError(
|
||||
@Advice.FieldValue("requestContext") final ClientRequest context,
|
||||
@Advice.Return(readOnly = false) Future future) {
|
||||
@Advice.Return(readOnly = false) Future<?> future) {
|
||||
if (!(future instanceof WrappedFuture)) {
|
||||
future = new WrappedFuture(future, context);
|
||||
future = new WrappedFuture<>(future, context);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -81,9 +81,9 @@ public final class ResteasyClientConnectionErrorInstrumentation extends Instrume
|
|||
@Advice.OnMethodExit(suppress = Throwable.class)
|
||||
public static void handleError(
|
||||
@Advice.FieldValue("configuration") final ClientConfiguration context,
|
||||
@Advice.Return(readOnly = false) Future future) {
|
||||
@Advice.Return(readOnly = false) Future<?> future) {
|
||||
if (!(future instanceof WrappedFuture)) {
|
||||
future = new WrappedFuture(future, context);
|
||||
future = new WrappedFuture<>(future, context);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue