Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgLogCommand.java @ 383:994b5813a925
Few comments
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> | 
|---|---|
| date | Mon, 13 Feb 2012 12:47:24 +0100 | 
| parents | 9517df1ef7ec | 
| children | 0ae53c32ecef | 
   comparison
  equal
  deleted
  inserted
  replaced
| 382:82336b7c54f4 | 383:994b5813a925 | 
|---|---|
| 202 | 202 | 
| 203 /** | 203 /** | 
| 204 * | 204 * | 
| 205 * @param handler callback to process changesets. | 205 * @param handler callback to process changesets. | 
| 206 * @throws HgCallbackTargetException to re-throw exception from the handler | 206 * @throws HgCallbackTargetException to re-throw exception from the handler | 
| 207 * @throws HgException FIXME | 207 * @throws HgException FIXME EXCEPTIONS | 
| 208 * @throws CancelledException if execution of the command was cancelled | 208 * @throws CancelledException if execution of the command was cancelled | 
| 209 * @throws IllegalArgumentException when inspector argument is null | 209 * @throws IllegalArgumentException when inspector argument is null | 
| 210 * @throws ConcurrentModificationException if this log command instance is already running | 210 * @throws ConcurrentModificationException if this log command instance is already running | 
| 211 */ | 211 */ | 
| 212 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 212 public void execute(HgChangesetHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 
| 264 | 264 | 
| 265 /** | 265 /** | 
| 266 * TODO documentation | 266 * TODO documentation | 
| 267 * @param handler | 267 * @param handler | 
| 268 * @throws HgCallbackTargetException to re-throw exception from the handler | 268 * @throws HgCallbackTargetException to re-throw exception from the handler | 
| 269 * @throws HgException FIXME | 269 * @throws HgException FIXME EXCEPTIONS | 
| 270 * @throws CancelledException if execution of the command was cancelled | 270 * @throws CancelledException if execution of the command was cancelled | 
| 271 */ | 271 */ | 
| 272 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 272 public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException { | 
| 273 if (handler == null) { | 273 if (handler == null) { | 
| 274 throw new IllegalArgumentException(); | 274 throw new IllegalArgumentException(); | 
| 364 if (!found) { | 364 if (!found) { | 
| 365 return; | 365 return; | 
| 366 } | 366 } | 
| 367 } | 367 } | 
| 368 if (date != null) { | 368 if (date != null) { | 
| 369 // FIXME | 369 // FIXME implement date support for log | 
| 370 } | 370 } | 
| 371 count++; | 371 count++; | 
| 372 csetTransform.next(revisionNumber, nodeid, cset); | 372 csetTransform.next(revisionNumber, nodeid, cset); | 
| 373 } | 373 } | 
| 374 | 374 | 
