github-advanced-security[bot] commented on code in PR #3070:
URL: https://github.com/apache/avro/pull/3070#discussion_r1706344501


##########
lang/csharp/src/apache/test/IO/JsonCodecTests.cs:
##########
@@ -268,6 +268,61 @@
             }
         }
 
+        [Test]
+        [TestCase("float", "0", (float)0)]
+        [TestCase("float", "1", (float)1)]
+        [TestCase("float", "1.0", (float)1.0)]
+        [TestCase("double", "0", (double)0)]
+        [TestCase("double", "1", (double)1)]
+        [TestCase("double", "1.0", (double)1.0)]

Review Comment:
   ## Cast to same type
   
   This cast is redundant because the expression already has type Double.
   
   [Show more 
details](https://github.com/apache/avro/security/code-scanning/3261)



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to