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-validation-examples] 07/24: SLING-4777 decouple model provider from the validation service
Date Fri, 20 Oct 2017 14:39:56 GMT
This is an automated email from the ASF dual-hosted git repository.

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

commit 00759fc57c9990fac06417c228676940ed208404
Author: Konrad Windszus <kwin@apache.org>
AuthorDate: Thu Jun 11 09:33:41 2015 +0000

    SLING-4777 decouple model provider from the validation service
    
    This closes #95
    
    git-svn-id: https://svn.apache.org/repos/asf/sling/trunk@1684841 13f79535-47bb-0310-9956-ffa450edef68
---
 .../java/org/apache/sling/validation/examples/models/UserModel.java | 6 +++---
 .../sling/validation/examples/servlets/ModifyUserServlet.java       | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/src/main/java/org/apache/sling/validation/examples/models/UserModel.java b/src/main/java/org/apache/sling/validation/examples/models/UserModel.java
index bd6d362..471bf5d 100644
--- a/src/main/java/org/apache/sling/validation/examples/models/UserModel.java
+++ b/src/main/java/org/apache/sling/validation/examples/models/UserModel.java
@@ -27,9 +27,9 @@ import javax.inject.Inject;
 
 import org.apache.sling.api.resource.Resource;
 import org.apache.sling.models.annotations.Model;
-import org.apache.sling.validation.api.ValidationModel;
-import org.apache.sling.validation.api.ValidationResult;
-import org.apache.sling.validation.api.ValidationService;
+import org.apache.sling.validation.ValidationResult;
+import org.apache.sling.validation.ValidationService;
+import org.apache.sling.validation.model.ValidationModel;
 
 @Model(adaptables = Resource.class)
 public class UserModel {
diff --git a/src/main/java/org/apache/sling/validation/examples/servlets/ModifyUserServlet.java
b/src/main/java/org/apache/sling/validation/examples/servlets/ModifyUserServlet.java
index 3acc333..5fb92bc 100644
--- a/src/main/java/org/apache/sling/validation/examples/servlets/ModifyUserServlet.java
+++ b/src/main/java/org/apache/sling/validation/examples/servlets/ModifyUserServlet.java
@@ -34,9 +34,9 @@ import org.apache.sling.api.servlets.SlingAllMethodsServlet;
 import org.apache.sling.commons.json.JSONArray;
 import org.apache.sling.commons.json.JSONException;
 import org.apache.sling.commons.json.JSONObject;
-import org.apache.sling.validation.api.ValidationModel;
-import org.apache.sling.validation.api.ValidationResult;
-import org.apache.sling.validation.api.ValidationService;
+import org.apache.sling.validation.ValidationResult;
+import org.apache.sling.validation.ValidationService;
+import org.apache.sling.validation.model.ValidationModel;
 
 @SlingServlet(
         resourceTypes = "/apps/validationdemo/components/user",

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

Mime
View raw message