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

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

commit 7a57b018edbb6263bbb0fd776377c968eeff184f
Author: Stefan Seifert <[email protected]>
AuthorDate: Thu Jun 11 14:21:17 2015 +0000

    SLING-4775 move the now supported method out of the "unsupported 
operations" block
    
    git-svn-id: 
https://svn.apache.org/repos/asf/sling/trunk/testing/mocks/sling-mock@1684899 
13f79535-47bb-0310-9956-ffa450edef68
---
 .../testing/mock/sling/services/MockSlingSettingService.java   | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git 
a/src/main/java/org/apache/sling/testing/mock/sling/services/MockSlingSettingService.java
 
b/src/main/java/org/apache/sling/testing/mock/sling/services/MockSlingSettingService.java
index 26fac00..e665609 100644
--- 
a/src/main/java/org/apache/sling/testing/mock/sling/services/MockSlingSettingService.java
+++ 
b/src/main/java/org/apache/sling/testing/mock/sling/services/MockSlingSettingService.java
@@ -59,15 +59,15 @@ public final class MockSlingSettingService implements 
SlingSettingsService {
         this.runModes = runModes;
     }
 
-    // --- unsupported operations ---
     @Override
-    public String getAbsolutePathWithinSlingHome(String relativePath) {
-        throw new UnsupportedOperationException();
+    public String getSlingId() {
+        return slingId;
     }
 
+    // --- unsupported operations ---
     @Override
-    public String getSlingId() {
-        return slingId;
+    public String getAbsolutePathWithinSlingHome(String relativePath) {
+        throw new UnsupportedOperationException();
     }
 
     @Override

-- 
To stop receiving notification emails like this one, please contact
"[email protected]" <[email protected]>.

Reply via email to