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 f129ba34d..e040e0c1c 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 @@ void deleteFile(String path) throws IOException { } @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 @@ Map readAdvertisedRefs() throws TransportException { } @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 @@ private void readLooseRefs(final TreeMap avail, } } - 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();