timoninmaxim commented on code in PR #11713:
URL: https://github.com/apache/ignite/pull/11713#discussion_r1882739909


##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCacheAdapter.java:
##########
@@ -200,9 +200,9 @@ public abstract class GridCacheAdapter<K, V> implements 
IgniteInternalCache<K, V
     /** Minimum version supporting partition preloading. */
     private static final IgniteProductVersion PRELOAD_PARTITION_SINCE = 
IgniteProductVersion.fromString("2.7.0");
 
-    /** Exception thrown when a non-transactional IgniteCache clear operation 
is invoked within a transaction. */
-    public static final String 
NON_TRANSACTIONAL_IGNITE_CACHE_CLEAR_IN_TX_ERROR_MESSAGE = "Failed to invoke a 
" +
-        "non-transactional IgniteCache clear operation within a transaction.";
+    /** Exception thrown when a non-transactional IgniteCache operation is 
invoked within a transaction. */
+    public static final String 
NON_TRANSACTIONAL_IGNITE_CACHE_IN_TX_ERROR_MESSAGE = "Failed to invoke a " +
+        "non-transactional IgniteCache %s operation within a transaction.";

Review Comment:
   The parameter is always 'clear'. No need parameterize this



-- 
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: notifications-unsubscr...@ignite.apache.org

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

Reply via email to