Skip to content

Commit

Permalink
[hotfix][runtime] Fix code-style in ZooKeeperJobGraphStore
Browse files Browse the repository at this point in the history
This closes apache#11996.
  • Loading branch information
zhengcanbin authored and tillrohrmann committed Jun 23, 2020
1 parent e7bbee9 commit 5687118
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -308,7 +308,7 @@ public Collection<JobID> getJobIds() throws Exception {

for (String path : paths) {
try {
jobIds.add(jobIdfromPath(path));
jobIds.add(jobIdFromPath(path));
} catch (Exception exception) {
LOG.warn("Could not parse job id from {}. This indicates a malformed path.", path, exception);
}
Expand Down Expand Up @@ -445,7 +445,7 @@ public static String getPathForJob(JobID jobId) {
* @param path in ZooKeeper
* @return JobID associated with the given path
*/
public static JobID jobIdfromPath(final String path) {
public static JobID jobIdFromPath(final String path) {
return JobID.fromHexString(path);
}
}

0 comments on commit 5687118

Please sign in to comment.