sashapolo commented on code in PR #1526:
URL: https://github.com/apache/ignite-3/pull/1526#discussion_r1071211290


##########
modules/metastorage/src/main/java/org/apache/ignite/internal/metastorage/impl/MetaStorageManagerImpl.java:
##########
@@ -676,17 +676,15 @@ public Cursor<Entry> range(ByteArray keyFrom, @Nullable 
ByteArray keyTo) throws
      * @see ByteArray
      * @see Entry
      */
-    public @NotNull Cursor<Entry> prefixWithAppliedRevision(@NotNull ByteArray 
keyPrefix) throws NodeStoppingException {
+    public Cursor<Entry> prefixWithAppliedRevision(ByteArray keyPrefix) throws 
NodeStoppingException {
         if (!busyLock.enterBusy()) {

Review Comment:
   We use try-finally approach everywhere else, so I would prefer to leave this 
as-is for the sake of consistency



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