diff options
author | Alex Blewitt <alex.blewitt@gmail.com> | 2009-10-19 09:48:00 +0100 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2009-10-31 14:48:44 -0700 |
commit | 4d91645e890527efbe04ffaee12b4aa3637733c4 (patch) | |
tree | d3efbcdb2ea2b9e7187057d55b060d1d75b6a024 /org.eclipse.jgit/src/org/eclipse/jgit/util | |
parent | f3d75800a0fb687f65e64b82235140f86be6171e (diff) | |
download | jgit-4d91645e890527efbe04ffaee12b4aa3637733c4.tar.gz jgit-4d91645e890527efbe04ffaee12b4aa3637733c4.zip |
Remove trailing whitespace at end of line
As discussed on the egit-dev mailing list, we prefer not to have
trailing whitespace in our source code. Correct all currently
offending lines by trimming them.
Change-Id: I002b1d1980071084c0bc53242c8f5900970e6845
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit/src/org/eclipse/jgit/util')
6 files changed, 35 insertions, 35 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java index a52a6530ef..c4f4242f90 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS.java @@ -66,7 +66,7 @@ public abstract class FS { /** * Does this operating system and JRE support the execute flag on files? - * + * * @return true if this implementation can provide reasonably accurate * executable bit information; false otherwise. */ @@ -77,7 +77,7 @@ public abstract class FS { * <p> * Not all platforms and JREs support executable flags on files. If the * feature is unsupported this method will always return false. - * + * * @param f * abstract path to test. * @return true if the file is believed to be executable by the user. @@ -90,7 +90,7 @@ public abstract class FS { * Not all platforms and JREs support executable flags on files. If the * feature is unsupported this method will always return false and no * changes will be made to the file specified. - * + * * @param f * path to modify the executable status of. * @param canExec @@ -109,7 +109,7 @@ public abstract class FS { * <p> * Not all platforms and JREs require path name translation. Currently only * Cygwin on Win32 require translation for Cygwin based paths. - * + * * @param dir * directory relative to which the path name is. * @param name @@ -131,7 +131,7 @@ public abstract class FS { * <p> * Not all platforms and JREs require path name translation. Currently only * Cygwin on Win32 require translation for Cygwin based paths. - * + * * @param dir * directory relative to which the path name is. * @param name @@ -154,7 +154,7 @@ public abstract class FS { * <p> * Not all platforms and JREs require path name translation. Currently only * Cygwin on Win32 requires translation of the Cygwin HOME directory. - * + * * @return the user's home directory; null if the user does not have one. */ public static File userHome() { @@ -167,7 +167,7 @@ public abstract class FS { /** * Determine the user's home directory (location where preferences are). - * + * * @return the user's home directory; null if the user does not have one. */ protected File userHomeImpl() { diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java index 79bf1e82e8..c86f3e1e43 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_Win32.java @@ -71,4 +71,4 @@ class FS_Win32 extends FS { public boolean setExecute(final File f, final boolean canExec) { return false; } -}
\ No newline at end of file +} diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java index a42871dbc3..030e127f7a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/NB.java @@ -106,7 +106,7 @@ public final class NB { /** * Read the entire byte array into memory, or throw an exception. - * + * * @param fd * input stream to read the data from. * @param dst @@ -194,7 +194,7 @@ public final class NB { * This function performs an unsigned compare operation, even though Java * does not natively support unsigned integer values. Negative numbers are * treated as larger than positive ones. - * + * * @param a * the first value to compare. * @param b @@ -226,7 +226,7 @@ public final class NB { /** * Convert sequence of 4 bytes (network byte order) into signed value. - * + * * @param intbuf * buffer to acquire the 4 bytes of data from. * @param offset @@ -247,7 +247,7 @@ public final class NB { /** * Convert sequence of 4 bytes (network byte order) into unsigned value. - * + * * @param intbuf * buffer to acquire the 4 bytes of data from. * @param offset @@ -267,7 +267,7 @@ public final class NB { /** * Convert sequence of 8 bytes (network byte order) into unsigned value. - * + * * @param intbuf * buffer to acquire the 8 bytes of data from. * @param offset @@ -302,7 +302,7 @@ public final class NB { /** * Write a 32 bit integer as a sequence of 4 bytes (network byte order). - * + * * @param intbuf * buffer to write the 4 bytes of data into. * @param offset diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawCharSequence.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawCharSequence.java index c89705cb6d..4eeecdbf2d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawCharSequence.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawCharSequence.java @@ -94,4 +94,4 @@ public final class RawCharSequence implements CharSequence { b.append(charAt(i)); return b.toString(); } -}
\ No newline at end of file +} diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java index 9254eb3d79..ca6188692c 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawParseUtils.java @@ -126,7 +126,7 @@ public final class RawParseUtils { * The argument and return values from this method make it easy to chain * writing, for example: * </p> - * + * * <pre> * final byte[] tmp = new byte[64]; * int ptr = tmp.length; @@ -137,7 +137,7 @@ public final class RawParseUtils { * tmp[--ptr] = 0; * final String str = new String(tmp, ptr, tmp.length - ptr); * </pre> - * + * * @param b * buffer to write into. * @param o @@ -171,7 +171,7 @@ public final class RawParseUtils { * sequence, and may start with a '+' or a '-' to indicate sign position. * Any other characters will cause the method to stop and return the current * result to the caller. - * + * * @param b * buffer to scan. * @param ptr @@ -225,7 +225,7 @@ public final class RawParseUtils { * sequence, and may start with a '+' or a '-' to indicate sign position. * Any other characters will cause the method to stop and return the current * result to the caller. - * + * * @param b * buffer to scan. * @param ptr @@ -364,7 +364,7 @@ public final class RawParseUtils { * <p> * The sequence "-0315" will be parsed as the numeric value -195, as the * lower two positions count minutes, not 100ths of an hour. - * + * * @param b * buffer to scan. * @param ptr @@ -380,7 +380,7 @@ public final class RawParseUtils { /** * Locate the first position after a given character. - * + * * @param b * buffer to scan. * @param ptr @@ -417,7 +417,7 @@ public final class RawParseUtils { * Locate the first position after either the given character or LF. * <p> * This method stops on the first match it finds from either chrA or '\n'. - * + * * @param b * buffer to scan. * @param ptr @@ -534,7 +534,7 @@ public final class RawParseUtils { /** * Locate the "author " header line data. - * + * * @param b * buffer to scan. * @param ptr @@ -556,7 +556,7 @@ public final class RawParseUtils { /** * Locate the "committer " header line data. - * + * * @param b * buffer to scan. * @param ptr @@ -608,7 +608,7 @@ public final class RawParseUtils { /** * Locate the "encoding " header line. - * + * * @param b * buffer to scan. * @param ptr @@ -639,7 +639,7 @@ public final class RawParseUtils { * to apply to this buffer to evaluate its contents as character data. * <p> * If no encoding header is present, {@link Constants#CHARSET} is assumed. - * + * * @param b * buffer to scan. * @return the Java character set representation. Never null. @@ -659,7 +659,7 @@ public final class RawParseUtils { * return value of {@link #author(byte[], int)} or * {@link #committer(byte[], int)}, as these methods provide the proper * position within the buffer. - * + * * @param raw * the buffer to parse character data from. * @param nameB @@ -768,7 +768,7 @@ public final class RawParseUtils { * * If the byte stream cannot be decoded that way, the platform default is tried * and if that too fails, the fail-safe ISO-8859-1 encoding is tried. - * + * * @param buffer * buffer to pull raw bytes from. * @return a string representation of the range <code>[start,end)</code>, @@ -804,7 +804,7 @@ public final class RawParseUtils { * * If the byte stream cannot be decoded that way, the platform default is tried * and if that too fails, the fail-safe ISO-8859-1 encoding is tried. - * + * * @param cs * character set to use when decoding the buffer. * @param buffer @@ -821,7 +821,7 @@ public final class RawParseUtils { * * If the byte stream cannot be decoded that way, the platform default is tried * and if that too fails, the fail-safe ISO-8859-1 encoding is tried. - * + * * @param cs * character set to use when decoding the buffer. * @param buffer @@ -942,7 +942,7 @@ public final class RawParseUtils { /** * Locate the position of the commit message body. - * + * * @param b * buffer to scan. * @param ptr @@ -990,7 +990,7 @@ public final class RawParseUtils { * Locate the end of a paragraph. * <p> * A paragraph is ended by two consecutive LF bytes. - * + * * @param b * buffer to scan. * @param start diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawSubStringPattern.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawSubStringPattern.java index ae135afab7..67d67b90c4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/RawSubStringPattern.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/RawSubStringPattern.java @@ -59,7 +59,7 @@ public class RawSubStringPattern { /** * Construct a new substring pattern. - * + * * @param patternText * text to locate. This should be a literal string, as no * meta-characters are supported by this implementation. The @@ -78,7 +78,7 @@ public class RawSubStringPattern { /** * Match a character sequence against this pattern. - * + * * @param rcs * the sequence to match. Must not be null but the length of the * sequence is permitted to be 0. @@ -123,7 +123,7 @@ public class RawSubStringPattern { /** * Get the literal pattern string this instance searches for. - * + * * @return the pattern string given to our constructor. */ public String pattern() { |