Skip to content

Commit 6c47c85

Browse files
author
slfan1989
committed
YARN-11445. Fix CheckStyle.
1 parent 2a213de commit 6c47c85

3 files changed

Lines changed: 7 additions & 8 deletions

File tree

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/ClusterInfo.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class ClusterInfo {
4444
protected String hadoopVersionBuiltOn;
4545
protected String haZooKeeperConnectionState;
4646

47-
protected String subClusterId;
47+
private String subClusterId;
4848

4949
public ClusterInfo() {
5050
} // JAXB needs this

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-resourcemanager/src/main/java/org/apache/hadoop/yarn/server/resourcemanager/webapp/dao/ClusterUserInfo.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -64,11 +64,11 @@ public String getRequestedUser() {
6464
return requestedUser;
6565
}
6666

67-
public String getSubClusterId() {
68-
return subClusterId;
69-
}
67+
public String getSubClusterId() {
68+
return subClusterId;
69+
}
7070

71-
public void setSubClusterId(String subClusterId) {
72-
this.subClusterId = subClusterId;
73-
}
71+
public void setSubClusterId(String subClusterId) {
72+
this.subClusterId = subClusterId;
73+
}
7474
}

hadoop-yarn-project/hadoop-yarn/hadoop-yarn-server/hadoop-yarn-server-router/src/main/java/org/apache/hadoop/yarn/server/router/webapp/dao/FederationClusterUserInfo.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
*/
1818
package org.apache.hadoop.yarn.server.router.webapp.dao;
1919

20-
import org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ClusterInfo;
2120
import org.apache.hadoop.yarn.server.resourcemanager.webapp.dao.ClusterUserInfo;
2221

2322
import javax.xml.bind.annotation.XmlAccessType;

0 commit comments

Comments
 (0)