From 15c2dc9f79bd9f96bb7f877f360b5761778469ae Mon Sep 17 00:00:00 2001 From: Niki Roo Date: Fri, 22 Jun 2018 16:59:34 +0000 Subject: [PATCH] Fix SerialTest : Some optimization could replace the anonymous inner classes it used with their base classes, since nothing was done in said anonymous inner classes --- src/be/nikiroo/utils/test/SerialTest.java | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/be/nikiroo/utils/test/SerialTest.java b/src/be/nikiroo/utils/test/SerialTest.java index 0221e652..8fb17220 100644 --- a/src/be/nikiroo/utils/test/SerialTest.java +++ b/src/be/nikiroo/utils/test/SerialTest.java @@ -37,6 +37,7 @@ class SerialTest extends TestLauncher { @Override public void test() throws Exception { Data data = new Data() { + int value = 42; }; String encoded = new Exporter().append(data).toString(false); @@ -56,6 +57,7 @@ class SerialTest extends TestLauncher { @Override public void test() throws Exception { Data[] data = new Data[] { new Data() { + int value = 42; } }; String encoded = new Exporter().append(data).toString(false); -- 2.27.0