You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@syncope.apache.org by an...@apache.org on 2014/08/04 11:07:38 UTC
svn commit: r1615514 - in /syncope/trunk: ./
core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java
Author: andreapatricelli
Date: Mon Aug 4 09:07:38 2014
New Revision: 1615514
URL: http://svn.apache.org/r1615514
Log:
merge from branch 1_2_X
Modified:
syncope/trunk/ (props changed)
syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java
Propchange: syncope/trunk/
------------------------------------------------------------------------------
Merged /syncope/branches/1_2_X:r1615089-1615505
Modified: syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java
URL: http://svn.apache.org/viewvc/syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java?rev=1615514&r1=1615513&r2=1615514&view=diff
==============================================================================
--- syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java (original)
+++ syncope/trunk/core/src/main/java/org/apache/syncope/core/util/GuardedStringSerializer.java Mon Aug 4 09:07:38 2014
@@ -42,7 +42,7 @@ class GuardedStringSerializer extends Js
boolean readOnly = false;
try {
- Field field = GuardedString.class.getDeclaredField("_readOnly");
+ Field field = GuardedString.class.getDeclaredField("readOnly");
field.setAccessible(true);
readOnly = field.getBoolean(source);
} catch (Exception e) {
@@ -52,7 +52,7 @@ class GuardedStringSerializer extends Js
boolean disposed = false;
try {
- Field field = GuardedString.class.getDeclaredField("_disposed");
+ Field field = GuardedString.class.getDeclaredField("disposed");
field.setAccessible(true);
disposed = field.getBoolean(source);
} catch (Exception e) {
@@ -74,7 +74,7 @@ class GuardedStringSerializer extends Js
String base64SHA1Hash = null;
try {
- Field field = GuardedString.class.getDeclaredField("_base64SHA1Hash");
+ Field field = GuardedString.class.getDeclaredField("base64SHA1Hash");
field.setAccessible(true);
base64SHA1Hash = field.get(source).toString();
} catch (Exception e) {