extends Key
/**
* Returns a stream of values from underlying storage that are updated based on the current transaction changes;
* i.e. the result contains updates and excludes of records that have been created, updated or deleted in this
- * transaction by methods {@link MapKeycloakTransaction#create}, {@link MapKeycloakTransaction#update},
+ * transaction by methods {@link MapKeycloakTransaction#create}, {@link MapKeycloakTransaction#create},
* {@link MapKeycloakTransaction#delete}, etc.
*
* Updates to the returned instances of {@code V} would be visible in the current transaction
@@ -79,8 +83,6 @@ public interface MapKeycloakTransaction extends Key
/**
* Instructs this transaction to remove values (identified by {@code mcb} filter) from the underlying store on commit.
*
- * @param artificialKey key to record the transaction with, must be a key that does not exist in this transaction to
- * prevent collisions with other operations in this transaction
* @param queryParameters parameters for the query like firstResult, maxResult, requested ordering, etc.
* @return number of removed objects (might return {@code -1} if not supported)
*/
diff --git a/model/map/src/main/java/org/keycloak/models/map/storage/chm/MapModelCriteriaBuilder.java b/model/map/src/main/java/org/keycloak/models/map/storage/chm/MapModelCriteriaBuilder.java
index ca7d047aee..ce816adb22 100644
--- a/model/map/src/main/java/org/keycloak/models/map/storage/chm/MapModelCriteriaBuilder.java
+++ b/model/map/src/main/java/org/keycloak/models/map/storage/chm/MapModelCriteriaBuilder.java
@@ -35,12 +35,12 @@ import java.util.stream.Collectors;
public class MapModelCriteriaBuilder implements ModelCriteriaBuilder> {
@FunctionalInterface
- public static interface UpdatePredicatesFunc {
+ public interface UpdatePredicatesFunc {
MapModelCriteriaBuilder apply(MapModelCriteriaBuilder builder, Operator op, Object[] params);
}
- private static final Predicate