File tree 4 files changed +2
-8
lines changed 4 files changed +2
-8
lines changed Original file line number Diff line number Diff line change @@ -36,7 +36,6 @@ public ReflectionObjectDecoder(ClassInfo classInfo) {
36
36
37
37
protected final void init (ClassInfo classInfo ) throws Exception {
38
38
39
- System .out .println ("INIT" );
40
39
Class clazz = classInfo .clazz ;
41
40
ClassDescriptor desc = ClassDescriptor .getDecodingClassDescriptor (classInfo , true );
42
41
for (Binding param : desc .ctor .parameters ) {
@@ -118,7 +117,6 @@ public class OnlyField implements Decoder {
118
117
119
118
public Object decode (JsonIterator iter ) throws IOException {
120
119
try {
121
- System .out .println ("ONLY FIELD" );
122
120
return decode_ (iter );
123
121
} catch (RuntimeException e ) {
124
122
throw e ;
@@ -184,7 +182,6 @@ public class WithCtor implements Decoder {
184
182
@ Override
185
183
public Object decode (JsonIterator iter ) throws IOException {
186
184
try {
187
- System .out .println ("WITH CTOR" );
188
185
return decode_ (iter );
189
186
} catch (RuntimeException e ) {
190
187
throw e ;
@@ -264,7 +261,6 @@ public class WithWrapper implements Decoder {
264
261
@ Override
265
262
public Object decode (JsonIterator iter ) throws IOException {
266
263
try {
267
- System .out .println ("WITH WRAPPER" );
268
264
return decode_ (iter );
269
265
} catch (RuntimeException e ) {
270
266
throw e ;
Original file line number Diff line number Diff line change @@ -48,7 +48,6 @@ public class OnlyFieldRecord implements Decoder {
48
48
public Object decode (JsonIterator iter ) throws IOException {
49
49
50
50
try {
51
- System .out .println ("ONLY FIELD RECORD" );
52
51
return decode_ (iter );
53
52
} catch (RuntimeException e ) {
54
53
throw e ;
Original file line number Diff line number Diff line change @@ -207,8 +207,6 @@ private static ConstructorDescriptor getRecordCtor(Class<?> clazz) {
207
207
ConstructorDescriptor cctor = new ConstructorDescriptor ();
208
208
try {
209
209
Class <?>[] canonicalParameterTypes = Arrays .stream (clazz .getRecordComponents ()).map (RecordComponent ::getType ).toArray (Class <?>[]::new );
210
- System .out .println ("Canonical Parameter Types : " );
211
- System .out .println (Arrays .toString (canonicalParameterTypes ));
212
210
cctor .ctor = clazz .getDeclaredConstructor (canonicalParameterTypes );
213
211
} catch (Exception e ) {
214
212
cctor .ctor = null ;
Original file line number Diff line number Diff line change @@ -25,7 +25,8 @@ public TestRecord0() {
25
25
}
26
26
}
27
27
28
- public void test_print_record_reflection_info () {
28
+ // remove "disabled" to run the function
29
+ public void disabled_test_print_record_reflection_info () {
29
30
30
31
Class <TestRecord1 > clazz = TestRecord1 .class ;
31
32
You can’t perform that action at this time.
0 commit comments