Skip to content

Commit ffad3a1

Browse files
Excavator: Remove calls to deprecated APIs
1 parent b8db398 commit ffad3a1

File tree

3 files changed

+0
-6
lines changed

3 files changed

+0
-6
lines changed

errors/src/test/java/com/palantir/conjure/java/api/errors/RemoteExceptionTest.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@
2424

2525
public final class RemoteExceptionTest {
2626

27-
@SuppressWarnings("for-rollout:deprecation")
2827
@Test
2928
public void testJavaSerialization() {
3029
// With explicit error instance

extras/jackson-support/src/main/java/com/palantir/conjure/java/api/ext/jackson/ObjectMappers.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff 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())

test-utils/src/main/java/com/palantir/conjure/java/api/testing/Assertions.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@
2323
import org.assertj.core.util.CanIgnoreReturnValue;
2424
import org.assertj.core.util.CheckReturnValue;
2525

26-
@SuppressWarnings("for-rollout:deprecation")
2726
@CheckReturnValue
2827
public 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());

0 commit comments

Comments
 (0)