]> source.dussan.org Git - jgit.git/commitdiff
Cleanup: Remove trailing whitespace 03/103903/1
authorMatthias Sohn <matthias.sohn@sap.com>
Tue, 29 Aug 2017 22:27:16 +0000 (00:27 +0200)
committerMatthias Sohn <matthias.sohn@sap.com>
Tue, 29 Aug 2017 23:24:48 +0000 (01:24 +0200)
Change-Id: I7c08b60fb6afafd1874210320da3da7519632e08
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/PatchApplyException.java
org.eclipse.jgit/src/org/eclipse/jgit/api/errors/PatchFormatException.java
org.eclipse.jgit/src/org/eclipse/jgit/lib/RepositoryBuilder.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/SshSessionFactory.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/SshTransport.java
org.eclipse.jgit/src/org/eclipse/jgit/transport/resolver/FileResolver.java

index 389c776736394345e4d0d1fd8d58780de44e8038..4329860cd3d7518187084532cdc694afee08d4c2 100644 (file)
@@ -44,9 +44,9 @@ package org.eclipse.jgit.api.errors;
 
 /**
  * Exception thrown when applying a patch fails
- * 
+ *
  * @since 2.0
- * 
+ *
  */
 public class PatchApplyException extends GitAPIException {
        private static final long serialVersionUID = 1L;
index caff942a46717cc0348971a16eadaee088cf5db0..02ab423366cd5ba6a78b43329ca78912f7dffaa4 100644 (file)
@@ -50,9 +50,9 @@ import org.eclipse.jgit.patch.FormatError;
 
 /**
  * Exception thrown when applying a patch fails due to an invalid format
- * 
+ *
  * @since 2.0
- * 
+ *
  */
 public class PatchFormatException extends GitAPIException {
        private static final long serialVersionUID = 1L;
index e989caf83c0267e1459a7b4e4a420bbf1efee1ce..95be2d1f0dfe966e4eff9492973686ecd61bdefb 100644 (file)
@@ -55,7 +55,7 @@ import java.io.File;
  * <p>
  * Single repository applications trying to be compatible with other Git
  * implementations are encouraged to use a model such as:
- * 
+ *
  * <pre>
  * new RepositoryBuilder() //
  *             .setGitDir(gitDirArgument) // --git-dir if supplied, no-op if null
@@ -63,7 +63,7 @@ import java.io.File;
  *             .findGitDir() // scan up the file system tree
  *             .build()
  * </pre>
- * 
+ *
  * @see org.eclipse.jgit.storage.file.FileRepositoryBuilder
  */
 public class RepositoryBuilder extends
index a1aeceb2fd7721afa5c484b2fa67a228e7e822c8..2d5029a0107f4d49feebe9d490b3bd8db0a9744a 100644 (file)
@@ -66,7 +66,7 @@ public abstract class SshSessionFactory {
         * <p>
         * A factory is always available. By default the factory will read from the
         * user's <code>$HOME/.ssh</code> and assume OpenSSH compatibility.
-        * 
+        *
         * @return factory the current factory for this JVM.
         */
        public static SshSessionFactory getInstance() {
index 6f17ebf09453e7b823f41ec8a9f9972af50502a5..74865dc6dcd87d0428f78c0a3e1c52b5522e4a9d 100644 (file)
@@ -120,7 +120,7 @@ public abstract class SshTransport extends TcpTransport {
 
        /**
         * Get the default SSH session
-        * 
+        *
         * @return a remote session
         * @throws TransportException
         *             in case of error with opening SSH session
index 7654d462eb070652587d19d64cebcb8270988757..8ab112e5f9e70e919032fcdf99cab50e31bb7a9d 100644 (file)
@@ -244,11 +244,11 @@ public class FileResolver<C> implements RepositoryResolver<C> {
                        return true; // no absolute paths
 
                if (name.startsWith("../")) //$NON-NLS-1$
-                       return true; // no "l../etc/passwd" 
+                       return true; // no "l../etc/passwd"
                if (name.contains("/../")) //$NON-NLS-1$
-                       return true; // no "foo/../etc/passwd" 
+                       return true; // no "foo/../etc/passwd"
                if (name.contains("/./")) //$NON-NLS-1$
-                       return true; // "foo/./foo" is insane to ask 
+                       return true; // "foo/./foo" is insane to ask
                if (name.contains("//")) //$NON-NLS-1$
                        return true; // double slashes is sloppy, don't use it