Skip to content

Commit

Permalink
unused noinspection
Browse files Browse the repository at this point in the history
  • Loading branch information
LakshSingla committed Oct 4, 2023
1 parent 6ac8c0b commit e575639
Showing 1 changed file with 5 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -171,6 +171,11 @@ private static MethodHandle defineClassJava8(MethodHandles.Lookup lookup) throws
return defineClass;
}

/**
* 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
static int getArrayLength(byte[] bytes)
{
return bytes.length;
Expand Down

0 comments on commit e575639

Please sign in to comment.