Version 4.5.0
[nikiroo-utils.git] / src / be / nikiroo / utils / serial / SerialUtils.java
index 502d0ba72ccdd0da2b77cfca67e4cc5e3c25a87c..706d579970f9456fd430d4ae2020185aa8c7ed24 100644 (file)
@@ -66,8 +66,8 @@ public class SerialUtils {
                                                if (!SerialUtils.encode(builder, item)) {
                                                        try {
                                                                // use ZIP: if not
-                                                               builder.append(new Exporter().append(item)
-                                                                               .toString(true));
+                                                               new Exporter().append(item).appendTo(builder,
+                                                                               true, false);
                                                        } catch (NotSerializableException e) {
                                                                throw new UnknownFormatConversionException(e
                                                                                .getMessage());