Skip to content

Commit

Permalink
use annotation instead of comment
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshSingla committed Oct 4, 2023
1 parent 300b9b7 commit 31241ff
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -175,7 +175,7 @@ private static MethodHandle defineClassJava8(MethodHandles.Lookup lookup) throws
* This method is referenced in Java 8 using method handle, therefore it is not actually unused, and shouldn't be
* removed (till Java 8 is supported)
*/
//noinspection unused
@SuppressWarnings("unused") // method is referenced and used in defineClassJava8
static int getArrayLength(byte[] bytes)
{
return bytes.length;
Expand Down

0 comments on commit 31241ff

Please sign in to comment.