Skip to main content
diff options
authorDavid Pursehouse2020-02-27 06:27:31 -0500
committerDavid Pursehouse2020-02-27 06:27:31 -0500
commit5a6b6eee35f07615f5d496781ee37f8ffe56b7d3 (patch)
treeb45fc5270a414f8096d974c6cd15f48304fa97fa /org.eclipse.jgit.http.server/src/org
parentabb461533fccfd59117c3415cf9c0ed06e460473 (diff)
Move array designators from the variable to the type
As reported by Sonar Lint: Array designators should always be located on the type for better code readability. Otherwise, developers must look both at the type and the variable name to know whether or not a variable is an array. Change-Id: If6b41fed3483d0992d402d8680552ab4bef89ffb Signed-off-by: David Pursehouse <>
Diffstat (limited to 'org.eclipse.jgit.http.server/src/org')
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/
index 010810508a..06b31a547d 100644
--- a/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/
+++ b/org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/glue/
@@ -138,7 +138,7 @@ class RegexPipeline extends UrlPipeline {
// build a request for them so RegexGroupFilter can pick
// a different capture group later. Continue using the
// first capture group as the path info.
- WrappedRequest groups[] = new WrappedRequest[cur.groupCount()];
+ WrappedRequest[] groups = new WrappedRequest[cur.groupCount()];
for (int groupId = 1; groupId <= cur.groupCount(); groupId++) {
final int s = cur.start(groupId);
final String path, info;

Back to the top