Skip to content

Commit 370f947

Browse files
committed
removed println's
1 parent 883ea5a commit 370f947

File tree

2 files changed

+0
-8
lines changed

2 files changed

+0
-8
lines changed

java/src/json/ext/AbstractByteListDirectOutputStream.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,6 @@ abstract class AbstractByteListDirectOutputStream extends OutputStream {
1515
static {
1616
String useSegmentedOutputStream = System.getProperty(PROP_SEGMENTED_BUFFER, PROP_SEGMENTED_BUFFER_DEFAULT);
1717
USE_SEGMENTED_BUFFER = Boolean.parseBoolean(useSegmentedOutputStream);
18-
// XXX Is there a logger we can use here?
19-
// System.out.println("Using segmented output stream: " + USE_SEGMENTED_BUFFER);
2018
}
2119

2220
public static AbstractByteListDirectOutputStream create(int estimatedSize) {

java/src/json/ext/StringEncoder.java

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -134,25 +134,19 @@ class StringEncoder extends ByteListTranscoder {
134134
Class<?> vectorizedStringEncoderClass = StringEncoder.class.getClassLoader().loadClass(VECTORIZED_STRING_ENCODER_CLASS);
135135
Constructor<?> vectorizedStringEncoderConstructor = vectorizedStringEncoderClass.getDeclaredConstructor();
136136
scanner = (StringEncoder) vectorizedStringEncoderConstructor.newInstance();
137-
// System.out.println(scanner.getClass().getName() + " loaded successfully.");
138137
} catch (ClassNotFoundException | NoSuchMethodException | InstantiationException | IllegalAccessException | InvocationTargetException e) {
139138
// Fallback to the StringEncoder if we cannot load the VectorizedStringEncoder.
140-
// System.err.println("Failed to load VectorizedStringEncoder, falling back to StringEncoder:");
141-
// e.printStackTrace();
142139
scanner = null;
143140
}
144141
VECTORIZED_SCANNER = scanner;
145142
USE_VECTORIZED_BASIC_ENCODER = scanner != null;
146143
} else {
147-
System.err.println("VectorizedStringEncoder disabled.");
148144
VECTORIZED_SCANNER = null;
149145
USE_VECTORIZED_BASIC_ENCODER = false;
150146
}
151147

152148
USE_BASIC_SWAR_ENCODER = Boolean.parseBoolean(
153149
System.getProperty(USE_SWAR_BASIC_ENCODER_PROP, USE_SWAR_BASIC_ENCODER_DEFAULT));
154-
// XXX Is there a logger we can use here?
155-
// System.out.println("Using SWAR basic encoder: " + USE_BASIC_SWAR_ENCODER);
156150
}
157151

158152
OutputStream out;

0 commit comments

Comments
 (0)