This is an automated email from the ASF dual-hosted git repository.
enorman pushed a commit to branch master
in repository
https://gitbox.apache.org/repos/asf/sling-org-apache-sling-jcr-jackrabbit-usermanager.git
The following commit(s) were added to refs/heads/master by this push:
new 3250680 cleanup - change tabs to spaces
3250680 is described below
commit 32506806913e3a6f83c34893250e89d49694e010
Author: Eric Norman <[email protected]>
AuthorDate: Fri May 28 10:31:58 2021 -0700
cleanup - change tabs to spaces
---
.../usermanager/impl/resource/AuthorizableResource.java | 1 +
.../org/apache/sling/jcr/jackrabbit/usermanager/it/Retry.java | 10 +++++-----
2 files changed, 6 insertions(+), 5 deletions(-)
diff --git
a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableResource.java
b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableResource.java
index 9f9fb67..6f18b72 100644
---
a/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableResource.java
+++
b/src/main/java/org/apache/sling/jackrabbit/usermanager/impl/resource/AuthorizableResource.java
@@ -116,6 +116,7 @@ public class AuthorizableResource extends AbstractResource {
* (non-Javadoc)
* @see org.apache.sling.api.adapter.Adaptable#adaptTo(java.lang.Class)
*/
+ @Override
@SuppressWarnings("unchecked")
public <T> T adaptTo(Class<T> type) {
if (type == Map.class || type == ValueMap.class) {
diff --git
a/src/test/java/org/apache/sling/jcr/jackrabbit/usermanager/it/Retry.java
b/src/test/java/org/apache/sling/jcr/jackrabbit/usermanager/it/Retry.java
index 54b498a..5d1dcb3 100644
--- a/src/test/java/org/apache/sling/jcr/jackrabbit/usermanager/it/Retry.java
+++ b/src/test/java/org/apache/sling/jcr/jackrabbit/usermanager/it/Retry.java
@@ -40,11 +40,11 @@ public abstract class Retry {
}
protected void run() {
- // retry until the exec call returns true and doesn't throw any
exception
- await().atMost(timeoutMsec, TimeUnit.MILLISECONDS)
- .pollInterval(nextIterationDelay, TimeUnit.MILLISECONDS)
- .ignoreExceptions()
- .until(this::exec);
+ // retry until the exec call returns true and doesn't throw any
exception
+ await().atMost(timeoutMsec, TimeUnit.MILLISECONDS)
+ .pollInterval(nextIterationDelay, TimeUnit.MILLISECONDS)
+ .ignoreExceptions()
+ .until(this::exec);
}
protected abstract boolean exec();