diff options
author | Matthias Sohn <matthias.sohn@sap.com> | 2017-12-17 21:36:30 +0100 |
---|---|---|
committer | Matthias Sohn <matthias.sohn@sap.com> | 2017-12-18 01:08:02 +0100 |
commit | f677ee4893ae5e72f717bc949a9b82599309a7d7 (patch) | |
tree | 5103ebc24156c5fbd80560ee74c6ff1387715442 /org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java | |
parent | 5d64d3d83a60f3663e22786eeed7cec03fe6ed40 (diff) | |
download | jgit-f677ee4893ae5e72f717bc949a9b82599309a7d7.tar.gz jgit-f677ee4893ae5e72f717bc949a9b82599309a7d7.zip |
Fix javadoc in org.eclipse.jgit.pgm
Change-Id: I74616f6e8ef69bef4db2f13a9b47ddf57714fd1f
Signed-off-by: Matthias Sohn <matthias.sohn@sap.com>
Diffstat (limited to 'org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java')
-rw-r--r-- | org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java index adcfea4dc3..4238f207e0 100644 --- a/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java +++ b/org.eclipse.jgit.pgm/src/org/eclipse/jgit/pgm/Status.java @@ -86,6 +86,7 @@ class Status extends TextBuiltin { @Option(name = "--", metaVar = "metaVar_paths", handler = RestOfArgumentsHandler.class) protected List<String> filterPaths; + /** {@inheritDoc} */ @Override protected void run() throws Exception { try (Git git = new Git(db)) { @@ -261,6 +262,15 @@ class Status extends TextBuiltin { } } + /** + * Print section header + * + * @param pattern + * a {@link java.lang.String} object. + * @param arguments + * a {@link java.lang.Object} object. + * @throws java.io.IOException + */ protected void printSectionHeader(String pattern, Object... arguments) throws IOException { if (!porcelain) { @@ -272,6 +282,14 @@ class Status extends TextBuiltin { } } + /** + * Print String list + * + * @param list + * a {@link java.util.Collection} object. + * @return a int. + * @throws java.io.IOException + */ protected int printList(Collection<String> list) throws IOException { if (!list.isEmpty()) { List<String> sortedList = new ArrayList<>(list); @@ -286,6 +304,26 @@ class Status extends TextBuiltin { return 0; } + /** + * Print String list + * + * @param status1 + * a {@link java.lang.String} object. + * @param status2 + * a {@link java.lang.String} object. + * @param status3 + * a {@link java.lang.String} object. + * @param list + * a {@link java.util.Collection} object. + * @param set1 + * a {@link java.util.Collection} object. + * @param set2 + * a {@link java.util.Collection} object. + * @param set3 + * a {@link java.util.Collection} object. + * @return a int. + * @throws java.io.IOException + */ protected int printList(String status1, String status2, String status3, Collection<String> list, Collection<String> set1, Collection<String> set2, |