Skip to content

Commit ae7db70

Browse files
committed
clean - reemoved syso/sout (#19)
1 parent 8dc32ff commit ae7db70

File tree

4 files changed

+2
-8
lines changed

4 files changed

+2
-8
lines changed

src/main/java/com/jsoniter/ReflectionObjectDecoder.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,6 @@ public ReflectionObjectDecoder(ClassInfo classInfo) {
3636

3737
protected final void init(ClassInfo classInfo) throws Exception {
3838

39-
System.out.println("INIT");
4039
Class clazz = classInfo.clazz;
4140
ClassDescriptor desc = ClassDescriptor.getDecodingClassDescriptor(classInfo, true);
4241
for (Binding param : desc.ctor.parameters) {
@@ -118,7 +117,6 @@ public class OnlyField implements Decoder {
118117

119118
public Object decode(JsonIterator iter) throws IOException {
120119
try {
121-
System.out.println("ONLY FIELD");
122120
return decode_(iter);
123121
} catch (RuntimeException e) {
124122
throw e;
@@ -184,7 +182,6 @@ public class WithCtor implements Decoder {
184182
@Override
185183
public Object decode(JsonIterator iter) throws IOException {
186184
try {
187-
System.out.println("WITH CTOR");
188185
return decode_(iter);
189186
} catch (RuntimeException e) {
190187
throw e;
@@ -264,7 +261,6 @@ public class WithWrapper implements Decoder {
264261
@Override
265262
public Object decode(JsonIterator iter) throws IOException {
266263
try {
267-
System.out.println("WITH WRAPPER");
268264
return decode_(iter);
269265
} catch (RuntimeException e) {
270266
throw e;

src/main/java/com/jsoniter/ReflectionRecordDecoder.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ public class OnlyFieldRecord implements Decoder {
4848
public Object decode(JsonIterator iter) throws IOException {
4949

5050
try {
51-
System.out.println("ONLY FIELD RECORD");
5251
return decode_(iter);
5352
} catch (RuntimeException e) {
5453
throw e;

src/main/java/com/jsoniter/spi/ClassDescriptor.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -207,8 +207,6 @@ private static ConstructorDescriptor getRecordCtor(Class<?> clazz) {
207207
ConstructorDescriptor cctor = new ConstructorDescriptor();
208208
try {
209209
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));
212210
cctor.ctor = clazz.getDeclaredConstructor(canonicalParameterTypes);
213211
} catch (Exception e) {
214212
cctor.ctor = null;

src/test/java/com/jsoniter/TestRecord.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@ public TestRecord0() {
2525
}
2626
}
2727

28-
public void test_print_record_reflection_info() {
28+
// remove "disabled" to run the function
29+
public void disabled_test_print_record_reflection_info() {
2930

3031
Class<TestRecord1> clazz = TestRecord1.class;
3132

0 commit comments

Comments
 (0)