bharatviswa504 commented on a change in pull request #648: HDDS-1340. Add List 
Containers API for Recon
URL: https://github.com/apache/hadoop/pull/648#discussion_r272771612
 
 

 ##########
 File path: 
hadoop-ozone/ozone-recon/src/test/java/org/apache/hadoop/ozone/recon/api/TestContainerKeyService.java
 ##########
 @@ -176,6 +192,10 @@ public void testGetKeysForContainer() throws Exception {
     ContainerKeyMapperTask containerKeyMapperTask = new ContainerKeyMapperTask(
         ozoneManagerServiceProvider, containerDbServiceProvider);
     containerKeyMapperTask.run();
+  }
+
+  @Test
+  public void testGetKeysForContainer() throws Exception {
 
 Review comment:
   No need to throws Exception here, as we never throw an exception from this 
method.
   
   
   Exception 'java.lang.Exception' is never thrown in the method less... (⌘F1) 
   Inspection info: Reports exceptions that are declared in a method's 
signature but never thrown by the method itself or its 
implementations/derivatives

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
[email protected]


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to