diff --git a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java index f8a210c1d..a133ca6a7 100644 --- a/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java +++ b/org.eclipse.jgit.junit.http/src/org/eclipse/jgit/junit/http/HttpTestCase.java @@ -92,7 +92,7 @@ public void tearDown() throws Exception { } /** - * Create the {@linkAppServer}.This default implementation creates a server + * Create the {@link AppServer}.This default implementation creates a server * without SSLsupport listening for HTTP connections on a dynamically chosen * port, which can be gotten once the server has been started via its * {@link org.eclipse.jgit.junit.http.AppServer#getPort()} method. diff --git a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/Response.java b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/Response.java index dc972e04e..a80e5b9c3 100644 --- a/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/Response.java +++ b/org.eclipse.jgit.lfs.server/src/org/eclipse/jgit/lfs/server/Response.java @@ -46,11 +46,10 @@ import java.util.Map; /** - * POJOs for Gson serialization/deserialization + * POJOs for Gson serialization/de-serialization. * - * See - * {@link LFS - * API specification} + * See the LFS + * API specification * * @since 4.3 */ diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/CleanFilter.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/CleanFilter.java index cee456ca2..4a98286dd 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/CleanFilter.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/CleanFilter.java @@ -66,7 +66,7 @@ * content with content of a so-called LFS pointer file. The pointer file * content will then be added to the git repository. Additionally this filter * writes the original content in a so-called 'media file' to '.git/lfs/objects/ - * /' + * <first-two-characters-of-contentid>/<rest-of-contentid>' * * @see Git * LFS Specification diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/Lfs.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/Lfs.java index 7e6b99ed3..138996d82 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/Lfs.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/Lfs.java @@ -49,7 +49,7 @@ import org.eclipse.jgit.lfs.lib.AnyLongObjectId; /** - * Class which represents the lfs folder hierarchy inside a .git folder + * Class which represents the lfs folder hierarchy inside a {@code .git} folder * * @since 4.6 */ @@ -64,7 +64,8 @@ public class Lfs { * Constructor for Lfs. * * @param root - * the path to the LFS media directory. Will be "/.git/lfs" + * the path to the LFS media directory. Will be + * {@code "/.git/lfs"} */ public Lfs(Path root) { this.root = root; @@ -110,9 +111,9 @@ public Path getLfsObjDir() { * * @param id * the id of the mediafile - * @return the file which stores the original content. This will be files - * underneath - * "/.git/lfs/objects//" + * @return the file which stores the original content. Its path will look + * like + * {@code "/.git/lfs/objects//"} */ public Path getMediaFile(AnyLongObjectId id) { String idStr = id.name(); diff --git a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java index 6cec2bd37..d5b96ab0f 100644 --- a/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java +++ b/org.eclipse.jgit.lfs/src/org/eclipse/jgit/lfs/lib/Constants.java @@ -133,14 +133,15 @@ public static MessageDigest newMessageDigest() { } /** - * Content type used by LFS REST API as defined in - * {@link "https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md"} + * Content type used by LFS REST API as defined in + * https://github.com/github/git-lfs/blob/master/docs/api/v1/http-v1-batch.md */ public static final String CONTENT_TYPE_GIT_LFS_JSON = "application/vnd.git-lfs+json"; /** - * "arbitrary binary data" as defined in RFC 2046 - * {@link "https://www.ietf.org/rfc/rfc2046.txt"} + * "Arbitrary binary data" as defined in + * RFC 2046 */ public static final String HDR_APPLICATION_OCTET_STREAM = "application/octet-stream"; } diff --git a/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java b/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java index a98dd1cf9..b2115a4b7 100644 --- a/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java +++ b/org.eclipse.jgit.pgm.test/tst/org/eclipse/jgit/pgm/CheckoutTest.java @@ -502,7 +502,8 @@ public void fileModeTestFolderThenFileWithMissingInWorkingTree() *
  • Create branch '1' *
  • Modify file 'a' *
  • Commit - *
  • Delete file 'a' & replace by folder 'a' in the working tree & index + *
  • Delete file 'a' and replace by folder 'a' in the working tree and + * index *
  • Checkout branch '1' * *

    @@ -555,7 +556,8 @@ public void fileModeTestFileThenFileWithFolderInIndex() throws Exception { *

  • Create branch '1' *
  • Modify file 'a' *
  • Commit - *
  • Delete file 'a' & replace by folder 'a' in the working tree & index + *
  • Delete file 'a' and replace by folder 'a' in the working tree and + * index *
  • Checkout branch '1' * *

    diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java index 5f7434b41..cc21b473e 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/CommitOnlyTest.java @@ -70,19 +70,19 @@ * --------------------------------------------------------------------- * | HEAD DirCache Worktree | HEAD DirCache * --------------------------------------------------------------------- - * f1_1 | - - c | => e: path unknown - * f1_2 | - c - | => no changes + * f1_1 | - - c | => e: path unknown + * f1_2 | - c - | => no changes * f1_3 | c - - | - - * f1_4 | - c c | c c * f1_5 | c c - | - - - * f1_6 | c - c | => no changes - * f1_7 | c c c | => no changes + * f1_6 | c - c | => no changes + * f1_7 | c c c | => no changes * --------------------------------------------------------------------- * f1_8 | - c c' | c' c' * f1_9 | c - c' | c' c' * f1_10 | c c' - | - - * f1_11 | c c c' | c' c' - * f1_12 | c c' c | => no changes + * f1_12 | c c' c | => no changes * f1_13 | c c' c' | c' c' * --------------------------------------------------------------------- * f1_14 | c c' c'' | c'' c'' @@ -97,7 +97,7 @@ * --------------------------------------------------------------------------- * | HEAD DirCache Worktree | HEAD DirCache * --------------------------------------------------------------------------- - * f1_1_f2_14 | - - c | => e: path unknown + * f1_1_f2_14 | - - c | => e: path unknown * f1_2_f2_14 | - c - | - - * f1_6_f2_14 | c - c | c c * f1_7_f2_14 | c c c | c c diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/DescribeCommandTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/DescribeCommandTest.java index 6a667830e..d78a32840 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/DescribeCommandTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/api/DescribeCommandTest.java @@ -158,9 +158,9 @@ public void testDescribeMultiMatch() throws Exception { * Make sure it finds a tag when not all ancestries include a tag. * *

    -	 * c1 -+-> T  -
    +	 * c1 -+-> T  -
     	 *     |       |
    -	 *     +-> c3 -+-> c4
    +	 *     +-> c3 -+-> c4
     	 * 
    * * @throws Exception @@ -193,9 +193,9 @@ private void branch(String name, ObjectId base) throws GitAPIException { * When t2 dominates t1, it's clearly preferable to describe by using t2. * *
    -	 * t1 -+-> t2  -
    +	 * t1 -+-> t2  -
     	 *     |       |
    -	 *     +-> c3 -+-> c4
    +	 *     +-> c3 -+-> c4
     	 * 
    * * @throws Exception @@ -225,9 +225,9 @@ public void t1DominatesT2() throws Exception { * When t1 is nearer than t2, t2 should be found * *
    -	 * c1 -+-> c2 -> t1 -+
    +	 * c1 -+-> c2 -> t1 -+
     	 *     |             |
    -	 *     +-> t2 -> c3 -+-> c4
    +	 *     +-> t2 -> c3 -+-> c4
     	 * 
    * * @throws Exception @@ -254,9 +254,9 @@ public void t1nearerT2() throws Exception { * paths * *
    -	 * c1 -+-> t1 -> c2 -+
    +	 * c1 -+-> t1 -> c2 -+
     	 *     |             |
    -	 *     +-> t2 -> c3 -+-> c4
    +	 *     +-> t2 -> c3 -+-> c4
     	 * 
    * * @throws Exception diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java index 05573b946..4d42bd19c 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/lib/DirCacheCheckoutTest.java @@ -218,8 +218,8 @@ public void testResetHard() throws IOException, NoFilepatternException, /** * Reset hard from unclean condition. *

    - * WorkDir: Empty
    - * Index: f/g
    + * WorkDir: Empty
    + * Index: f/g
    * Merge: x * * @throws Exception diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFollowFilterTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFollowFilterTest.java index 186018549..ab2705cbe 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFollowFilterTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/revwalk/RevWalkFollowFilterTest.java @@ -145,8 +145,9 @@ public void testMultiRename() throws Exception { /** * Assert which renames should have happened, in traversal order. + * * @param expectedRenames - * the rename specs, each one in the form "srcPath->destPath" + * the rename specs, each one in the form "srcPath->destPath" */ protected void assertRenames(String... expectedRenames) { Assert.assertEquals("Unexpected number of renames. Expected: " + diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/symlinks/SymlinksTest.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/symlinks/SymlinksTest.java index 274fa539c..7d54399ef 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/symlinks/SymlinksTest.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/symlinks/SymlinksTest.java @@ -206,7 +206,7 @@ public void fileModeTestSymlinkThenFolder() throws Exception { * Steps: 1.Add file 'b' 2.Commit 3.Create branch '1' 4.Add symlink 'a' * 5.Commit 6.Checkout branch '1' * - * The working tree should not contain 'a' -> FileMode.MISSING after the + * The working tree should not contain 'a' -> FileMode.MISSING after the * checkout. * * @throws Exception diff --git a/org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorWithTimeControl.java b/org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorWithTimeControl.java index ff5730e72..717a2f3b2 100644 --- a/org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorWithTimeControl.java +++ b/org.eclipse.jgit.test/tst/org/eclipse/jgit/treewalk/FileTreeIteratorWithTimeControl.java @@ -58,10 +58,10 @@ *

    * This iterator is configured by a list of strictly increasing long values * t(0), t(1), ..., t(n). For each file with a modification between t(x) and - * t(x+1) [ t(x) <= time < t(x+1) ] this iterator will report t(x). For files - * with a modification time smaller t(0) a modification time of 0 is returned. - * For files with a modification time greater or equal t(n) t(n) will be - * returned. + * t(x+1) [ t(x) <= time < t(x+1) ] this iterator will report t(x). For + * files with a modification time smaller t(0) a modification time of 0 is + * returned. For files with a modification time greater or equal t(n) t(n) will + * be returned. *

    * This class was written especially to test racy-git problems */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java b/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java index e1d99460f..19bdd3577 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/api/PushCommand.java @@ -331,8 +331,7 @@ public PushCommand setRefLeaseSpecs(List specs) { } /** - * Get RefSpecs. - *

    + * Get {@code RefSpec}s. * * @return the ref specs */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java index 5842e14cd..f1df0da45 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attribute.java @@ -58,7 +58,6 @@ * following (with lower priority) nodes from setting the attribute to a value * at all
  • * - *

    * * @since 3.7 */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attributes.java b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attributes.java index 5fcd596a6..125ee5961 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attributes.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/attributes/Attributes.java @@ -53,7 +53,6 @@ /** * Represents a set of attributes for a path - *

    * * @since 4.2 */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/ignore/FastIgnoreRule.java b/org.eclipse.jgit/src/org/eclipse/jgit/ignore/FastIgnoreRule.java index 8abd7fa92..460f0ed4b 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/ignore/FastIgnoreRule.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/ignore/FastIgnoreRule.java @@ -55,7 +55,7 @@ /** * "Fast" (compared with IgnoreRule) git ignore rule implementation supporting - * also double star ** pattern. + * also double star {@code **} pattern. *

    * This class is immutable and thread safe. * diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java index 637ce1627..69989a451 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/dfs/DfsGarbageCollector.java @@ -289,7 +289,7 @@ public DfsGarbageCollector setCoalesceGarbageLimit(long limit) { * * @return garbage packs older than this limit (in milliseconds) will be * pruned as part of the garbage collection process if the value is - * > 0, otherwise garbage packs are retained. + * > 0, otherwise garbage packs are retained. */ public long getGarbageTtlMillis() { return garbageTtlMillis; diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java index 89801c543..c1fbe65de 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/internal/storage/file/GC.java @@ -1448,7 +1448,7 @@ public void setPackExpire(Date packExpire) { * it exits without performing any work. Some JGit commands run * {@code gc --auto} after performing operations that could create many * loose objects. - *

    + *

    * Housekeeping is required if there are too many loose objects or too many * packs in the repository. If the number of loose objects exceeds the value * of the gc.auto option JGit GC consolidates all existing packs into a @@ -1456,13 +1456,13 @@ public void setPackExpire(Date packExpire) { * combine all loose objects into a single pack using {@code repack -d -l}. * Setting the value of {@code gc.auto} to 0 disables automatic packing of * loose objects. - *

    + *

    * If the number of packs exceeds the value of {@code gc.autoPackLimit}, * then existing packs (except those marked with a .keep file) are * consolidated into a single pack by using the {@code -A} option of repack. * Setting {@code gc.autoPackLimit} to 0 disables automatic consolidation of * packs. - *

    + *

    * Like git the following jgit commands run auto gc: *

      *
    • fetch
    • diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BranchConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BranchConfig.java index 6b8553cdf..596da0349 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/BranchConfig.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/BranchConfig.java @@ -159,7 +159,7 @@ public boolean isRemoteLocal() { } /** - * Get the remote this branch is configured to fetch from/push to> + * Get the remote this branch is configured to fetch from/push to * * @return the remote this branch is configured to fetch from/push to, or * {@code null} if not defined diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java index fda670bbb..8c448af90 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/lib/Repository.java @@ -1431,10 +1431,10 @@ public static boolean isValidRefName(final String refName) { * Normalizes the passed branch name into a possible valid branch name. The * validity of the returned name should be checked by a subsequent call to * {@link #isValidRefName(String)}. - *

      + *

      * Future implementations of this method could be more restrictive or more * lenient about the validity of specific characters in the returned name. - *

      + *

      * The current implementation returns the trimmed input string if this is * already a valid branch name. Otherwise it returns a trimmed string with * special characters not allowed by {@link #isValidRefName(String)} @@ -2079,7 +2079,7 @@ public Set getRemoteNames() { * collection; if not, exit without performing any work. Some JGit commands * run autoGC after performing operations that could create many loose * objects. - *

      + *

      * Currently this option is supported for repositories of type * {@code FileRepository} only. See * {@link org.eclipse.jgit.internal.storage.file.GC#setAuto(boolean)} for diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java b/org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java index 06a63109b..1d970db94 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/submodule/SubmoduleWalk.java @@ -81,7 +81,7 @@ public class SubmoduleWalk implements AutoCloseable { /** - * The values for the config param submodule..ignore + * The values for the config parameter submodule.<name>.ignore * * @since 3.6 */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpConfig.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpConfig.java index 368bdc913..101ce3568 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpConfig.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/HttpConfig.java @@ -63,8 +63,8 @@ /** * A representation of the "http.*" config values in a git * {@link org.eclipse.jgit.lib.Config}. git provides for setting values for - * specific URLs through "http..* subsections. git always considers only - * the initial original URL for such settings, not any redirected URL. + * specific URLs through "http.<url>.*" subsections. git always considers + * only the initial original URL for such settings, not any redirected URL. * * @since 4.9 */ diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java index f96d2698e..a41e47ec8 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/transport/URIish.java @@ -689,7 +689,7 @@ private String format(final boolean includePassword, boolean escapeNonAscii) { } /** - * * Retrieve the git attributes for the current entry. * - *

      Git attribute computation

      + *

      Git attribute computation

      * *
        *
      • Get the attributes matching the current path entry from the info file @@ -568,7 +568,7 @@ public AttributesNodeProvider getAttributesNodeProvider() { *
      * * - *

      Iterator constraints

      + *

      Iterator constraints

      * *

      * In order to have a correct list of attributes for the current entry, this diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java index a1c479553..08c278e38 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FileUtils.java @@ -575,7 +575,6 @@ public static String relativizeGitPath(String base, String other) { * * * This will return "..\\another_project\\pom.xml". - *

      * *

      * Note that this will return the empty String if base diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/LongMap.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/LongMap.java index e00289247..09eee4202 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/LongMap.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/LongMap.java @@ -44,7 +44,7 @@ package org.eclipse.jgit.util; /** - * Simple Map. + * Simple Map<long, Object>. * * @param * type of the value instance. diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java index fdb6600d0..b4736d3e4 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/StringUtils.java @@ -107,7 +107,7 @@ public static String toLowerCase(final String in) { * {@link java.lang.Character#toTitleCase(char)}. No other letters are * changed. *

      - * + *

      * A null input String returns null. *

      * diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolStreamTypeUtil.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolStreamTypeUtil.java index e5b3fa55e..822961f8d 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolStreamTypeUtil.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/io/EolStreamTypeUtil.java @@ -70,6 +70,7 @@ private EolStreamTypeUtil() { *
    • global attributes
    • *
    • info attributes
    • *
    • working tree .gitattributes
    • + *
    * * @param op * is the diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/time/MonotonicClock.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/time/MonotonicClock.java index 1d4f5e840..c7c874d2a 100644 --- a/org.eclipse.jgit/src/org/eclipse/jgit/util/time/MonotonicClock.java +++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/time/MonotonicClock.java @@ -65,7 +65,7 @@ * } * * try (ProposedTimestamp t2 = clk.propose()) { - * assert t2.millis() > r1; + * assert t2.millis() > r1; * } * *