mirror of
https://github.com/vale981/ray
synced 2025-03-05 18:11:42 -05:00
Replace NotImplementedException with UnsupportedOperationException (#5694)
This commit is contained in:
parent
ee5db5b67f
commit
1b880191b0
1 changed files with 1 additions and 2 deletions
|
@ -8,7 +8,6 @@ import org.ray.api.id.UniqueId;
|
|||
import org.ray.runtime.generated.Common.TaskSpec;
|
||||
import org.ray.runtime.generated.Common.TaskType;
|
||||
import org.ray.runtime.task.LocalModeTaskSubmitter;
|
||||
import sun.reflect.generics.reflectiveObjects.NotImplementedException;
|
||||
|
||||
/**
|
||||
* Worker context for local mode.
|
||||
|
@ -24,7 +23,7 @@ public class LocalModeWorkerContext implements WorkerContext {
|
|||
|
||||
@Override
|
||||
public UniqueId getCurrentWorkerId() {
|
||||
throw new NotImplementedException();
|
||||
throw new UnsupportedOperationException();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Add table
Reference in a new issue