You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by mm...@apache.org on 2020/03/04 15:01:38 UTC
[syncope] branch SYNCOPE-163-1 updated: fix type cast
This is an automated email from the ASF dual-hosted git repository.
mmoayyed pushed a commit to branch SYNCOPE-163-1
in repository https://gitbox.apache.org/repos/asf/syncope.git
The following commit(s) were added to refs/heads/SYNCOPE-163-1 by this push:
new 39242f2 fix type cast
39242f2 is described below
commit 39242f2d832b3441001d241b25f8a5c5c3169de2
Author: Misagh Moayyed <mm...@gmail.com>
AuthorDate: Wed Mar 4 18:30:44 2020 +0330
fix type cast
---
.../jpa/entity/authentication/AbstractClientApplication.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/authentication/AbstractClientApplication.java b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/authentication/AbstractClientApplication.java
index ebdfd9d..c772267 100644
--- a/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/authentication/AbstractClientApplication.java
+++ b/core/persistence-jpa/src/main/java/org/apache/syncope/core/persistence/jpa/entity/authentication/AbstractClientApplication.java
@@ -86,7 +86,7 @@ public class AbstractClientApplication extends AbstractGeneratedKeyEntity implem
}
public void setAccessPolicy(final AccessPolicy accessPolicy) {
- checkType(authenticationPolicy, JPAAccessPolicy.class);
+ checkType(accessPolicy, JPAAccessPolicy.class);
this.accessPolicy = (JPAAccessPolicy) accessPolicy;
}