Skip to content
Permalink
Browse files
Remove unnecessary array creation for varargs.
  • Loading branch information
garydgregory committed Dec 18, 2019
1 parent e1c6c76 commit 3fd73a641c3f729586824da1c17aa8efd0e895f8
Showing 1 changed file with 1 addition and 1 deletion.
@@ -82,7 +82,7 @@ public void setUpInvalidInternetAddressTest()
{
try
{
validateMethod = InternetAddress.class.getMethod("validate", new Class [0]);
validateMethod = InternetAddress.class.getMethod("validate");
}
catch (final Exception e)
{

0 comments on commit 3fd73a6

Please sign in to comment.