]> source.dussan.org Git - jgit.git/commit
WorkTreeUpdater: re-format and clean-up 82/195182/4
authorThomas Wolf <twolf@apache.org>
Sun, 14 Aug 2022 15:47:36 +0000 (17:47 +0200)
committerHan-Wen Nienhuys <hanwen@google.com>
Wed, 17 Aug 2022 16:44:21 +0000 (18:44 +0200)
commitaaae9ecd573e39003bc0d89cc2f3a79d931df8b2
treef8fe20e9dfe5e93881741d47a74a9dcfea7cb0d2
parentb255eb0fb6ab9c7487423083e8df9b1e373bc37e
WorkTreeUpdater: re-format and clean-up

Reformat using the standard JGit formatter settings. Clean-ups:

* Try to improve javadoc.
* Remove blindly copy-pasted "@since 6.1" annotations.
* Get rid of private method nonNullNonBareRepo(); it's not needed.
* Simplify method nonNullRepo(), and annotate as @NonNull.
* Rename setInCoreFileSizeLimit() to getInCoreFileSizeLimit().

Change-Id: Ib1797e7cf925d87554307468330971e8ab2e05e9
Signed-off-by: Thomas Wolf <twolf@apache.org>
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/util/WorkTreeUpdater.java