aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorThomas Wolf <thomas.wolf@paranor.ch>2018-09-17 20:25:01 +0200
committerThomas Wolf <thomas.wolf@paranor.ch>2018-11-05 12:08:55 +0100
commit2429ea2c41eec978b2adaebc862033f275a8c23c (patch)
treea9ab614f21485e319f7cce03e6eb3bf96572f041
parent416c40aefc81657e13391de7d8612edc6947413a (diff)
downloadjgit-2429ea2c41eec978b2adaebc862033f275a8c23c.tar.gz
jgit-2429ea2c41eec978b2adaebc862033f275a8c23c.zip
TransportSftp: remove final modifiers from parameters
Change-Id: I1b12a9765575a1368e0c6bd11d87084b2064a17e Signed-off-by: Thomas Wolf <thomas.wolf@paranor.ch>
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/transport/TransportSftp.java14
1 files changed, 6 insertions, 8 deletions
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<String, Ref> avail,
- final String dir, final String prefix)
- throws TransportException {
+ private void readLooseRefs(TreeMap<String, Ref> avail, String dir,
+ String prefix) throws TransportException {
final Collection<ChannelSftp.LsEntry> list;
try {
list = ftp.ls(dir);
@@ -426,8 +424,8 @@ public class TransportSftp extends SshTransport implements WalkTransport {
}
}
- private Ref readRef(final TreeMap<String, Ref> avail,
- final String path, final String name) throws TransportException {
+ private Ref readRef(TreeMap<String, Ref> avail, String path,
+ String name) throws TransportException {
final String line;
try (BufferedReader br = openReader(path)) {
line = br.readLine();