Skip to content

Commit d78b7fb

Browse files
committed
Replace use of internal Sun API class
1 parent 85fecab commit d78b7fb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/main/java/com/siftscience/UnlabelResponse.java

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package com.siftscience;
22

33
import okhttp3.Response;
4-
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
54

65
import java.io.IOException;
76

@@ -17,6 +16,6 @@ public class UnlabelResponse extends SiftResponse {
1716
*/
1817
@Override
1918
void populateBodyFromJson(String jsonBody) {
20-
throw new NotImplementedException();
19+
throw new UnsupportedOperationException();
2120
}
2221
}

0 commit comments

Comments
 (0)