syncope-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1429894 - /syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java
Date Mon, 07 Jan 2013 16:54:01 GMT
Author: ilgrosso
Date: Mon Jan  7 16:54:01 2013
New Revision: 1429894

URL: http://svn.apache.org/viewvc?rev=1429894&view=rev
Log:
[SYNCOPE-262] Reverting dynamic cast in policy spec serialization due to Jenkins compilation
error (not able to reproduce it with latest OpenJDK 6 / 7, though)

Modified:
    syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java

Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java?rev=1429894&r1=1429893&r2=1429894&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java
(original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/persistence/beans/Policy.java
Mon Jan  7 16:54:01 2013
@@ -69,6 +69,6 @@ public abstract class Policy extends Abs
     }
 
     public <T extends AbstractPolicySpec> void setSpecification(final T policy) {
-        specification = XMLSerializer.<T>serialize(policy);
+        specification = XMLSerializer.serialize(policy);
     }
 }



Mime
View raw message