szetszwo commented on code in PR #981:
URL: https://github.com/apache/ratis/pull/981#discussion_r1419692226


##########
ratis-common/src/main/java/org/apache/ratis/util/Preconditions.java:
##########
@@ -93,14 +94,8 @@ static void assertNull(Object object, String name) {
         + name + " = " + object + " != null, class = " + object.getClass());
   }
 
-  static <T> T assertNotNull(T object, Supplier<String> message) {
-    assertTrue(object != null, message);
-    return object;
-  }

Review Comment:
   You are right. I should change it in a compatible way since Ratis is a 
library.



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to