diff --git a/server-spi-private/src/main/java/org/keycloak/events/EventBuilder.java b/server-spi-private/src/main/java/org/keycloak/events/EventBuilder.java
index 5716bd5744..92ad9dd4bb 100755
--- a/server-spi-private/src/main/java/org/keycloak/events/EventBuilder.java
+++ b/server-spi-private/src/main/java/org/keycloak/events/EventBuilder.java
@@ -152,7 +152,7 @@ public class EventBuilder {
* Add event detail where strings from the input Collection are filtered not to contain null
and then joined using ::
character.
*
* @param key of the detail
- * @param value, can be null
+ * @param values, can be null
* @return builder for chaining
*/
public EventBuilder detail(String key, Collection values) {
@@ -166,7 +166,7 @@ public class EventBuilder {
* Add event detail where strings from the input Stream are filtered not to contain null
and then joined using ::
character.
*
* @param key of the detail
- * @param value, can be null
+ * @param values, can be null
* @return builder for chaining
*/
public EventBuilder detail(String key, Stream values) {