package com.thoughtworks.acceptance.someobjects;

import com.thoughtworks.xstream.converters.basic.AbstractSingleValueConverter;

public class ZConverter extends AbstractSingleValueConverter {

    public boolean canConvert(Class type) {
        return type.equals(Z.class);
    }

    public Object fromString(String str) {
        return new Z("z");
    }

}

@@ -96,35 +96,29 @@
 sic.Abstract
-SingleValue
+Basic
 Converter;%0A%0A
@@ -161,19 +161,13 @@
 ract
-SingleValue
+Basic
 Conv
@@ -268,21 +268,24 @@
 %7D%0A%0A    p
-ublic
+rotected
  Object 

Revert to 1.1.1 converter ... it is part of compatibility test.