sling-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From romb...@apache.org
Subject [sling-org-apache-sling-testing-resourceresolver-mock] 02/06: cosmetic: add info about Sling API dependency for copied classes
Date Tue, 07 Nov 2017 10:21:54 GMT
This is an automated email from the ASF dual-hosted git repository.

rombert pushed a commit to annotated tag org.apache.sling.testing.resourceresolver-mock-1.1.18
in repository https://gitbox.apache.org/repos/asf/sling-org-apache-sling-testing-resourceresolver-mock.git

commit 515baffbd874645259ec1fb1a56e83cf9131c986
Author: Stefan Seifert <sseifert@apache.org>
AuthorDate: Fri Mar 10 13:40:36 2017 +0000

    cosmetic: add info about Sling API dependency for copied classes
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/resourceresolver-mock@1786338
13f79535-47bb-0310-9956-ffa450edef68
---
 src/main/java/org/apache/sling/testing/resourceresolver/DateUtils.java  | 1 +
 .../java/org/apache/sling/testing/resourceresolver/ObjectConverter.java | 1 +
 .../org/apache/sling/testing/resourceresolver/ValueMapDecorator.java    | 1 +
 .../org/apache/sling/testing/resourceresolver/ObjectConverterTest.java  | 2 +-
 4 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/src/main/java/org/apache/sling/testing/resourceresolver/DateUtils.java b/src/main/java/org/apache/sling/testing/resourceresolver/DateUtils.java
index e78e621..3e21b97 100644
--- a/src/main/java/org/apache/sling/testing/resourceresolver/DateUtils.java
+++ b/src/main/java/org/apache/sling/testing/resourceresolver/DateUtils.java
@@ -26,6 +26,7 @@ import org.apache.jackrabbit.util.ISO8601;
 /**
  * This is copied from org.apache.sling.api.wrappers.impl.DateUtils
  * to avoid dependency to latest Sling API.
+ * This can be removed when Sling API 2.17.0 or higher is referenced.
  */
 final class DateUtils {
     
diff --git a/src/main/java/org/apache/sling/testing/resourceresolver/ObjectConverter.java
b/src/main/java/org/apache/sling/testing/resourceresolver/ObjectConverter.java
index f405499..9899467 100644
--- a/src/main/java/org/apache/sling/testing/resourceresolver/ObjectConverter.java
+++ b/src/main/java/org/apache/sling/testing/resourceresolver/ObjectConverter.java
@@ -28,6 +28,7 @@ import java.util.List;
 /**
  * This is copied from org.apache.sling.api.wrappers.impl.ObjectConverter
  * to avoid dependency to latest Sling API.
+ * This can be removed when Sling API 2.17.0 or higher is referenced.
  */
 final class ObjectConverter {
     
diff --git a/src/main/java/org/apache/sling/testing/resourceresolver/ValueMapDecorator.java
b/src/main/java/org/apache/sling/testing/resourceresolver/ValueMapDecorator.java
index 52c7f36..916291e 100644
--- a/src/main/java/org/apache/sling/testing/resourceresolver/ValueMapDecorator.java
+++ b/src/main/java/org/apache/sling/testing/resourceresolver/ValueMapDecorator.java
@@ -27,6 +27,7 @@ import org.apache.sling.api.resource.ValueMap;
 /**
  * This is copied from org.apache.sling.api.wrappers.ValueMapDectorator
  * to avoid dependency to latest Sling API.
+ * This can be removed when Sling API 2.17.0 or higher is referenced.
  */
 class ValueMapDecorator implements ValueMap {
 
diff --git a/src/test/java/org/apache/sling/testing/resourceresolver/ObjectConverterTest.java
b/src/test/java/org/apache/sling/testing/resourceresolver/ObjectConverterTest.java
index 8b9e4cc..1ef7949 100644
--- a/src/test/java/org/apache/sling/testing/resourceresolver/ObjectConverterTest.java
+++ b/src/test/java/org/apache/sling/testing/resourceresolver/ObjectConverterTest.java
@@ -33,7 +33,7 @@ import java.util.TimeZone;
 import org.junit.Test;
 
 /**
- * This is copied from org.apache.sling.testing.resourceresolver.ObjectConverterTest
+ * This is copied from org.apache.sling.api.wrappers.impl.ObjectConverterTest
  */
 public class ObjectConverterTest {
     

-- 
To stop receiving notification emails like this one, please contact
"commits@sling.apache.org" <commits@sling.apache.org>.

Mime
View raw message