You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@sling.apache.org by cz...@apache.org on 2020/09/02 09:48:20 UTC

[sling-org-apache-sling-api] branch master updated: SLING-9140 : Add minimal class javadoc and @since

This is an automated email from the ASF dual-hosted git repository.

cziegeler pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-api.git


The following commit(s) were added to refs/heads/master by this push:
     new 686b7c5  SLING-9140 : Add minimal class javadoc and @since
686b7c5 is described below

commit 686b7c5c775dd88affacc82b2ab92eedbe443da6
Author: Carsten Ziegeler <cz...@apache.org>
AuthorDate: Wed Sep 2 11:48:06 2020 +0200

    SLING-9140 : Add minimal class javadoc and @since
---
 .../java/org/apache/sling/api/wrappers/ValueMapUtil.java   | 14 +++++++++-----
 1 file changed, 9 insertions(+), 5 deletions(-)

diff --git a/src/main/java/org/apache/sling/api/wrappers/ValueMapUtil.java b/src/main/java/org/apache/sling/api/wrappers/ValueMapUtil.java
index 5283a32..a17513d 100644
--- a/src/main/java/org/apache/sling/api/wrappers/ValueMapUtil.java
+++ b/src/main/java/org/apache/sling/api/wrappers/ValueMapUtil.java
@@ -16,15 +16,19 @@
  */
 package org.apache.sling.api.wrappers;
 
+import static java.util.Arrays.asList;
+
+import java.util.List;
+
 import org.apache.sling.api.resource.ValueMap;
 import org.apache.sling.api.wrappers.impl.CachingValueMap;
 import org.apache.sling.api.wrappers.impl.MergingValueMap;
 import org.jetbrains.annotations.NotNull;
 
-import java.util.List;
-
-import static java.util.Arrays.asList;
-
+/**
+ * Factory methods to create {@code ValueMap}s.
+ * @since 2.7
+ */
 public final class ValueMapUtil {
 
     /**
@@ -88,7 +92,7 @@ public final class ValueMapUtil {
     public static ValueMap cache(@NotNull ValueMap valueMap) {
         return new CachingValueMap(valueMap);
     }
-    
+
     /**
      * private constructor to hide implicit public one
      */