Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
xunliu committed Oct 30, 2024
1 parent 0f1e518 commit 68ce9f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ public MetadataObject metadataObject() {
*
* @return return a metadataObject object.
*/
public MetadataObject getNewMetadataObject() {
public MetadataObject newMetadataObject() {
return newMetadataObject;
}

Expand Down Expand Up @@ -137,7 +137,7 @@ private RemoveMetadataObject(MetadataObject metadataObject) {
*
* @return return a metadataObject.
*/
public MetadataObject getMetadataObject() {
public MetadataObject metadataObject() {
return metadataObject;
}

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,7 @@ public Boolean onMetadataUpdated(MetadataObjectChange... changes) throws Runtime
MetadataObject metadataObject =
((MetadataObjectChange.RenameMetadataObject) change).metadataObject();
MetadataObject newMetadataObject =
((MetadataObjectChange.RenameMetadataObject) change).getNewMetadataObject();
((MetadataObjectChange.RenameMetadataObject) change).newMetadataObject();
RangerMetadataObject rangerMetadataObject = translateMetadataObject(metadataObject);
RangerMetadataObject newRangerMetadataObject = translateMetadataObject(newMetadataObject);
if (rangerMetadataObject.equals(newRangerMetadataObject)) {
Expand All @@ -251,7 +251,7 @@ public Boolean onMetadataUpdated(MetadataObjectChange... changes) throws Runtime
doRenameMetadataObject(rangerMetadataObject, newRangerMetadataObject);
} else if (change instanceof MetadataObjectChange.RemoveMetadataObject) {
MetadataObject metadataObject =
((MetadataObjectChange.RemoveMetadataObject) change).getMetadataObject();
((MetadataObjectChange.RemoveMetadataObject) change).metadataObject();
RangerMetadataObject rangerMetadataObject = translateMetadataObject(metadataObject);
doRemoveMetadataObject(rangerMetadataObject);
} else {
Expand Down

0 comments on commit 68ce9f9

Please sign in to comment.