From: Thomas Wolf Date: Mon, 17 Sep 2018 18:25:01 +0000 (+0200) Subject: TransportSftp: remove final modifiers from parameters X-Git-Tag: v5.2.0.201811281532-m3~46^2~1 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=2429ea2c41eec978b2adaebc862033f275a8c23c;p=jgit.git TransportSftp: remove final modifiers from parameters Change-Id: I1b12a9765575a1368e0c6bd11d87084b2064a17e Signed-off-by: Thomas Wolf --- diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java index f129ba34da..e040e0c1cc 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java @@ -323,9 +323,8 @@ public class TransportSftp extends SshTransport implements WalkTransport { } @Override - OutputStream writeFile(final String path, - final ProgressMonitor monitor, final String monitorTask) - throws IOException { + OutputStream writeFile(String path, ProgressMonitor monitor, + String monitorTask) throws IOException { try { return ftp.put(path); } catch (SftpException je) { @@ -401,9 +400,8 @@ public class TransportSftp extends SshTransport implements WalkTransport { } @SuppressWarnings("unchecked") - private void readLooseRefs(final TreeMap avail, - final String dir, final String prefix) - throws TransportException { + private void readLooseRefs(TreeMap avail, String dir, + String prefix) throws TransportException { final Collection list; try { list = ftp.ls(dir); @@ -426,8 +424,8 @@ public class TransportSftp extends SshTransport implements WalkTransport { } } - private Ref readRef(final TreeMap avail, - final String path, final String name) throws TransportException { + private Ref readRef(TreeMap avail, String path, + String name) throws TransportException { final String line; try (BufferedReader br = openReader(path)) { line = br.readLine();