File tree Expand file tree Collapse file tree 3 files changed +0
-6
lines changed
errors/src/test/java/com/palantir/conjure/java/api/errors
extras/jackson-support/src/main/java/com/palantir/conjure/java/api/ext/jackson
test-utils/src/main/java/com/palantir/conjure/java/api/testing Expand file tree Collapse file tree 3 files changed +0
-6
lines changed Original file line number Diff line number Diff line change 2424
2525public final class RemoteExceptionTest {
2626
27- @ SuppressWarnings ("for-rollout:deprecation" )
2827 @ Test
2928 public void testJavaSerialization () {
3029 // With explicit error instance
Original file line number Diff line number Diff line change @@ -96,7 +96,6 @@ public static ObjectMapper newCborServerObjectMapper() {
9696 * <li>Deserializing a null for a primitive field will throw an exception.
9797 * </ul>
9898 */
99- @ SuppressWarnings ("for-rollout:deprecation" )
10099 public static ObjectMapper withDefaultModules (ObjectMapper mapper ) {
101100 return mapper .registerModule (new GuavaModule ())
102101 .registerModule (new ShimJdk7Module ())
Original file line number Diff line number Diff line change 2323import org .assertj .core .util .CanIgnoreReturnValue ;
2424import org .assertj .core .util .CheckReturnValue ;
2525
26- @ SuppressWarnings ("for-rollout:deprecation" )
2726@ CheckReturnValue
2827public class Assertions extends org .assertj .core .api .Assertions {
2928
@@ -41,19 +40,16 @@ public static QosExceptionAssert assertThat(QosException actual) {
4140 return new QosExceptionAssert (actual );
4241 }
4342
44- @ SuppressWarnings ("for-rollout:deprecation" )
4543 @ CanIgnoreReturnValue
4644 public static ServiceExceptionAssert assertThatServiceExceptionThrownBy (ThrowingCallable shouldRaiseThrowable ) {
4745 return assertThatThrownBy (shouldRaiseThrowable ).asInstanceOf (ServiceExceptionAssert .instanceOfAssertFactory ());
4846 }
4947
50- @ SuppressWarnings ("for-rollout:deprecation" )
5148 @ CanIgnoreReturnValue
5249 public static RemoteExceptionAssert assertThatRemoteExceptionThrownBy (ThrowingCallable shouldRaiseThrowable ) {
5350 return assertThatThrownBy (shouldRaiseThrowable ).asInstanceOf (RemoteExceptionAssert .instanceOfAssertFactory ());
5451 }
5552
56- @ SuppressWarnings ("for-rollout:deprecation" )
5753 @ CanIgnoreReturnValue
5854 public static QosExceptionAssert assertThatQosExceptionThrownBy (ThrowingCallable shouldRaiseThrowable ) {
5955 return assertThatThrownBy (shouldRaiseThrowable ).asInstanceOf (QosExceptionAssert .instanceOfAssertFactory ());
You can’t perform that action at this time.
0 commit comments