From 49e4513e734ccd563c564393356beca040d4feaa Mon Sep 17 00:00:00 2001 From: orimarko Date: Thu, 22 Nov 2018 08:29:48 +0200 Subject: [PATCH] Fix typo Fix typo ora to or a --- .../resources/org/sonar/l10n/java/rules/squid/S3878_java.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/java-checks/src/main/resources/org/sonar/l10n/java/rules/squid/S3878_java.html b/java-checks/src/main/resources/org/sonar/l10n/java/rules/squid/S3878_java.html index ce088b46051..e23b4a1b684 100644 --- a/java-checks/src/main/resources/org/sonar/l10n/java/rules/squid/S3878_java.html +++ b/java-checks/src/main/resources/org/sonar/l10n/java/rules/squid/S3878_java.html @@ -1,6 +1,6 @@

There's no point in creating an array solely for the purpose of passing it as a varargs (...) argument; varargs is an array. Simply pass the elements directly. They will be consolidated into an array automatically. Incidentally passing an array where Object ... -is expected makes the intent ambiguous: Is the array supposed to be one object ora collection of objects?

+is expected makes the intent ambiguous: Is the array supposed to be one object or a collection of objects?

Noncompliant Code Example

 public void callTheThing() {