enable maven checkstyle (#6829)

This commit is contained in:
chaokunyang
2020-01-21 15:41:54 +08:00
committed by Hao Chen
parent c957ed58ed
commit 289e5e8aff
18 changed files with 81 additions and 72 deletions
@@ -1,7 +1,6 @@
package org.ray.api;
import org.ray.api.id.ActorId;
import org.ray.api.id.UniqueId;
/**
* A handle to an actor.
@@ -22,7 +22,7 @@ public class ActorCreationOptions extends BaseTaskOptions {
public final String jvmOptions;
private ActorCreationOptions(Map<String, Double> resources, int maxReconstructions,
boolean useDirectCall, String jvmOptions) {
boolean useDirectCall, String jvmOptions) {
super(resources);
this.maxReconstructions = maxReconstructions;
this.useDirectCall = useDirectCall;
@@ -52,10 +52,10 @@ public class ActorCreationOptions extends BaseTaskOptions {
// Since direct call is not fully supported yet (see issue #5559),
// users are not allowed to set the option to true.
// TODO (kfstorm): uncomment when direct call is ready.
// public Builder setUseDirectCall(boolean useDirectCall) {
// this.useDirectCall = useDirectCall;
// return this;
// }
// public Builder setUseDirectCall(boolean useDirectCall) {
// this.useDirectCall = useDirectCall;
// return this;
// }
public Builder setJvmOptions(String jvmOptions) {
this.jvmOptions = jvmOptions;