]> source.dussan.org Git - sonarqube.git/commitdiff
SONAR-21121 Renamed allowUserToSignUp to allowUsersToSignUp
authorAurelien Poscia <aurelien.poscia@sonarsource.com>
Tue, 19 Dec 2023 13:59:06 +0000 (14:59 +0100)
committersonartech <sonartech@sonarsource.com>
Fri, 22 Dec 2023 20:03:03 +0000 (20:03 +0000)
server/sonar-webserver-common/src/main/java/org/sonar/server/common/UpdatedValue.java

index 10f3d8783c5454458ded093cab91c8195a6904b7..96698102429f1deb3dbfb1577dce24b7a9ca2fa9 100644 (file)
@@ -19,6 +19,7 @@
  */
 package org.sonar.server.common;
 
+import java.util.StringJoiner;
 import javax.annotation.Nullable;
 import java.util.Objects;
 import java.util.function.Consumer;
@@ -85,4 +86,11 @@ public class UpdatedValue<T> {
       return defaultValue;
     }
   }
+
+  @Override
+  public String toString() {
+    return new StringJoiner(", ", UpdatedValue.class.getSimpleName() + "[", "]")
+      .add(String.valueOf(value))
+      .toString();
+  }
 }