You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@avro.apache.org by "github-code-scanning[bot] (via GitHub)" <gi...@apache.org> on 2023/07/19 14:06:08 UTC

[GitHub] [avro] github-code-scanning[bot] commented on a diff in pull request #2368: AVRO-2282: [Java] JsonEncoder with option to not flush output for optimization purpose.

github-code-scanning[bot] commented on code in PR #2368:
URL: https://github.com/apache/avro/pull/2368#discussion_r1268129452


##########
lang/java/avro/src/test/java/org/apache/avro/io/TestEncoders.java:
##########
@@ -332,4 +334,35 @@
 
     return new String(output.toByteArray(), StandardCharsets.UTF_8.name());
   }
+
+  @Test
+  public void testJsonEncoderInitAutoFlush() throws IOException {
+    Schema s = Schema.parse("\"int\"");

Review Comment:
   ## Deprecated method or constructor invocation
   
   Invoking [Schema.parse](1) should be avoided because it has been deprecated.
   
   [Show more details](https://github.com/apache/avro/security/code-scanning/3040)



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscribe@avro.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org