apoorvmittal10 commented on code in PR #17957:
URL: https://github.com/apache/kafka/pull/17957#discussion_r1867899468


##########
core/src/test/java/kafka/server/share/SharePartitionTest.java:
##########
@@ -771,24 +768,20 @@ public void testMaybeInitializeWithReadException() {
         Persister persister = Mockito.mock(Persister.class);
         // Complete the future exceptionally for read state.
         
Mockito.when(persister.readState(Mockito.any())).thenReturn(FutureUtils.failedFuture(new
 RuntimeException("Read exception")));
-        SharePartition sharePartition = 
SharePartitionBuilder.builder().withPersister(persister).build();
+        SharePartition sharePartition1 = 
SharePartitionBuilder.builder().withPersister(persister).build();

Review Comment:
   nitL why do you need change in varibale names?



-- 
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.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to