[CELEBORN-1273] Move java classes under scala src to java
### What changes were proposed in this pull request? Just fix minor typo: ``` ls **/scala/**/*.java common/src/main/scala/org/apache/celeborn/common/meta/WorkerEventInfo.java common/src/main/scala/org/apache/celeborn/common/meta/WorkerStatus.java ``` After this: ``` ls **/scala/**/*.java zsh: no matches found: **/scala/**/*.java ls **/java/**/*.scala zsh: no matches found: **/java/**/*.scala ``` ### Why are the changes needed? Fix code format. ### Does this PR introduce _any_ user-facing change? No. ### How was this patch tested? Existing UT. Closes #2310 from turboFei/scala_java. Authored-by: Fei Wang <fwang12@ebay.com> Signed-off-by: SteNicholas <programgeek@163.com>
This commit is contained in:
parent
93818d96d5
commit
4f23af49c9
@ -17,11 +17,11 @@
|
||||
|
||||
package org.apache.celeborn.common.meta;
|
||||
|
||||
import org.apache.celeborn.common.protocol.WorkerEventType;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Objects;
|
||||
|
||||
import org.apache.celeborn.common.protocol.WorkerEventType;
|
||||
|
||||
public class WorkerEventInfo implements Serializable {
|
||||
private static final long serialVersionUID = 5681914909039445235L;
|
||||
private int eventTypeValue;
|
||||
@ -17,10 +17,10 @@
|
||||
|
||||
package org.apache.celeborn.common.meta;
|
||||
|
||||
import org.apache.celeborn.common.protocol.PbWorkerStatus;
|
||||
|
||||
import java.util.Objects;
|
||||
|
||||
import org.apache.celeborn.common.protocol.PbWorkerStatus;
|
||||
|
||||
public class WorkerStatus {
|
||||
private int stateValue;
|
||||
private long stateStartTime;
|
||||
@ -55,7 +55,8 @@ public class WorkerStatus {
|
||||
return false;
|
||||
}
|
||||
WorkerStatus that = (WorkerStatus) o;
|
||||
return getStateValue() == that.getStateValue() && getStateStartTime() == that.getStateStartTime();
|
||||
return getStateValue() == that.getStateValue()
|
||||
&& getStateStartTime() == that.getStateStartTime();
|
||||
}
|
||||
|
||||
@Override
|
||||
Loading…
Reference in New Issue
Block a user