Title: [2328] trunk/xstream/src/java/com/thoughtworks/xstream/converters/reflection/SerializableConverter.java: Fix double wrapped ReflectionProvider.
Revision
2328
Author
joehni
Date
2015-02-11 17:57:37 -0600 (Wed, 11 Feb 2015)

Log Message

Fix double wrapped ReflectionProvider.

Modified Paths


Diff

Modified: trunk/xstream/src/java/com/thoughtworks/xstream/converters/reflection/SerializableConverter.java (2327 => 2328)


--- trunk/xstream/src/java/com/thoughtworks/xstream/converters/reflection/SerializableConverter.java	2015-02-11 01:17:27 UTC (rev 2327)
+++ trunk/xstream/src/java/com/thoughtworks/xstream/converters/reflection/SerializableConverter.java	2015-02-11 23:57:37 UTC (rev 2328)
@@ -1,12 +1,12 @@
 /*
  * Copyright (C) 2004, 2005, 2006 Joe Walnes.
- * Copyright (C) 2006, 2007, 2008, 2010, 2011, 2012, 2013, 2014 XStream Committers.
+ * Copyright (C) 2006, 2007, 2008, 2010, 2011, 2012, 2013, 2014, 2015 XStream Committers.
  * All rights reserved.
  *
  * The software in this package is published under the terms of the BSD
  * style license a copy of which has been included with this distribution in
  * the LICENSE.txt file.
- * 
+ *
  * Created on 21. December 2004 by Joe Walnes
  */
 package com.thoughtworks.xstream.converters.reflection;
@@ -52,7 +52,7 @@
  * <li>ObjectStreamField[] serialPersistentFields</li>
  * <li>ObjectInputValidation</li>
  * </ul>
- * 
+ *
  * @author Joe Walnes
  * @author J&ouml;rg Schaible
  */
@@ -72,7 +72,7 @@
 
     /**
      * Construct a SerializableConverter.
-     * 
+     *
      * @param mapper the mapper chain instance
      * @param reflectionProvider the reflection provider
      * @param classLoaderReference the reference to the {@link ClassLoader} of the XStream instance
@@ -99,7 +99,7 @@
      */
     @Deprecated
     public SerializableConverter(final Mapper mapper, final ReflectionProvider reflectionProvider) {
-        this(mapper, new UnserializableParentsReflectionProvider(reflectionProvider), new ClassLoaderReference(null));
+        this(mapper, reflectionProvider, new ClassLoaderReference(null));
     }
 
     @Override

To unsubscribe from this list please visit:

http://xircles.codehaus.org/manage_email

Reply via email to