Skip to content

Commit

Permalink
HDDS-11586. Remove duplicate OzoneManagerProtocolServerSideTranslator…
Browse files Browse the repository at this point in the history
…PB#OM_REQUESTS_PACKAGE
  • Loading branch information
jianghuazhu committed Oct 15, 2024
1 parent 2139367 commit 66d5591
Showing 1 changed file with 0 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,6 @@
*/
public class OzoneManagerProtocolServerSideTranslatorPB implements OzoneManagerProtocolPB {
private static final Logger LOG = LoggerFactory .getLogger(OzoneManagerProtocolServerSideTranslatorPB.class);
private static final String OM_REQUESTS_PACKAGE = "org.apache.hadoop.ozone";

private final OzoneManagerRatisServer omRatisServer;
private final RequestHandler handler;
Expand Down Expand Up @@ -123,7 +122,6 @@ public OzoneManagerProtocolServerSideTranslatorPB(

// TODO: make this injectable for testing...
this.requestValidations = new RequestValidations()
.fromPackage(OM_REQUESTS_PACKAGE)
.withinContext(ValidationContext.of(ozoneManager.getVersionManager(), ozoneManager.getMetadataManager()))
.load();
}
Expand Down

0 comments on commit 66d5591

Please sign in to comment.