diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2020-02-27 20:27:31 +0900 |
---|---|---|
committer | David Pursehouse <david.pursehouse@gmail.com> | 2020-02-27 20:27:31 +0900 |
commit | 5a6b6eee35f07615f5d496781ee37f8ffe56b7d3 (patch) | |
tree | b45fc5270a414f8096d974c6cd15f48304fa97fa /org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java | |
parent | abb461533fccfd59117c3415cf9c0ed06e460473 (diff) | |
download | jgit-5a6b6eee35f07615f5d496781ee37f8ffe56b7d3.tar.gz jgit-5a6b6eee35f07615f5d496781ee37f8ffe56b7d3.zip |
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 <david.pursehouse@gmail.com>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java')
-rw-r--r-- | org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java index 8eac063884..8a88e175fe 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java @@ -2411,12 +2411,12 @@ public class UploadPack { } @Override - public void write(byte b[]) throws IOException { + public void write(byte[] b) throws IOException { out.write(b); } @Override - public void write(byte b[], int off, int len) throws IOException { + public void write(byte[] b, int off, int len) throws IOException { out.write(b, off, len); } |