We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e4c5919 commit 2eb4402Copy full SHA for 2eb4402
src/main/java/com/uber/cadence/internal/compatibility/thrift/EnumMapper.java
@@ -35,7 +35,6 @@
35
import com.uber.cadence.TimeoutType;
36
import com.uber.cadence.WorkflowExecutionCloseStatus;
37
import com.uber.cadence.WorkflowIdReusePolicy;
38
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
39
40
class EnumMapper {
41
@@ -270,7 +269,7 @@ public static EncodingType encodingType(com.uber.cadence.api.v1.EncodingType t)
270
269
case ENCODING_TYPE_JSON:
271
return EncodingType.JSON;
272
case ENCODING_TYPE_PROTO3:
273
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
274
}
275
throw new IllegalArgumentException("unexpected enum value");
276
0 commit comments