diff --git a/runners/spark/src/main/java/org/apache/beam/runners/spark/coders/StatelessJavaSerializer.java b/runners/spark/src/main/java/org/apache/beam/runners/spark/coders/StatelessJavaSerializer.java index 068472d7bfff..42102af940ec 100644 --- a/runners/spark/src/main/java/org/apache/beam/runners/spark/coders/StatelessJavaSerializer.java +++ b/runners/spark/src/main/java/org/apache/beam/runners/spark/coders/StatelessJavaSerializer.java @@ -59,8 +59,8 @@ class StatelessJavaSerializer extends Serializer { // with this particular signature spares exploring further ones, which involves // NoSuchMethodException(s) being thrown as part of the exploration process and may slow // things down, see Kryo#newSerializer() - public StatelessJavaSerializer(final Kryo ignore1, final Class ignore2) { - } + // https://github.com/EsotericSoftware/kryo/blob/kryo-2.21.x/src/com/esotericsoftware/kryo/Kryo.java#L319 + public StatelessJavaSerializer(final Kryo ignore1, final Class ignore2) {} public StatelessJavaSerializer() { this(null, null);