Mercurial > hg4j
comparison src/org/tmatesoft/hg/core/HgStatusCommand.java @ 419:7f136a3fa671
Clean javadoc to fix obvious warnings
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 22 Mar 2012 21:36:41 +0100 |
| parents | 528b6780a8bd |
| children | 9c9c442b5f2e |
comparison
equal
deleted
inserted
replaced
| 418:528b6780a8bd | 419:7f136a3fa671 |
|---|---|
| 1 /* | 1 /* |
| 2 * Copyright (c) 2011 TMate Software Ltd | 2 * Copyright (c) 2011-2012 TMate Software Ltd |
| 3 * | 3 * |
| 4 * This program is free software; you can redistribute it and/or modify | 4 * This program is free software; you can redistribute it and/or modify |
| 5 * it under the terms of the GNU General Public License as published by | 5 * it under the terms of the GNU General Public License as published by |
| 6 * the Free Software Foundation; version 2 of the License. | 6 * the Free Software Foundation; version 2 of the License. |
| 7 * | 7 * |
| 143 } | 143 } |
| 144 | 144 |
| 145 /** | 145 /** |
| 146 * Limit status operation to certain sub-tree. | 146 * Limit status operation to certain sub-tree. |
| 147 * | 147 * |
| 148 * @param pathMatcher - matcher to use, pass <code>null/<code> to reset | 148 * @param scopeMatcher - matcher to use, pass <code>null/<code> to reset |
| 149 * @return <code>this</code> for convenience | 149 * @return <code>this</code> for convenience |
| 150 */ | 150 */ |
| 151 public HgStatusCommand match(Path.Matcher scopeMatcher) { | 151 public HgStatusCommand match(Path.Matcher scopeMatcher) { |
| 152 scope = scopeMatcher; | 152 scope = scopeMatcher; |
| 153 return this; | 153 return this; |
| 158 } | 158 } |
| 159 | 159 |
| 160 /** | 160 /** |
| 161 * Perform status operation according to parameters set. | 161 * Perform status operation according to parameters set. |
| 162 * | 162 * |
| 163 * @param handler callback to get status information | 163 * @param statusHandler callback to get status information |
| 164 * @throws IOException if there are (further unspecified) errors while walking working copy | 164 * @throws IOException if there are (further unspecified) errors while walking working copy |
| 165 * @throws IllegalArgumentException if handler is <code>null</code> | 165 * @throws IllegalArgumentException if handler is <code>null</code> |
| 166 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread) | 166 * @throws ConcurrentModificationException if this command already runs (i.e. being used from another thread) |
| 167 */ | 167 */ |
| 168 public void execute(HgStatusHandler statusHandler) throws CancellationException, HgException, IOException { | 168 public void execute(HgStatusHandler statusHandler) throws CancellationException, HgException, IOException { |
