changeset 383:994b5813a925

Few comments
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Mon, 13 Feb 2012 12:47:24 +0100
parents 82336b7c54f4
children 4b97847d0b2d
files src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java src/org/tmatesoft/hg/core/HgLogCommand.java src/org/tmatesoft/hg/internal/RepositoryComparator.java src/org/tmatesoft/hg/repo/HgBundle.java src/org/tmatesoft/hg/repo/HgDataFile.java src/org/tmatesoft/hg/repo/HgRemoteRepository.java
diffstat 6 files changed, 9 insertions(+), 9 deletions(-) [+]
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/core/HgChangesetTreeHandler.java	Mon Feb 13 12:47:24 2012 +0100
@@ -31,7 +31,7 @@
 	 * @param entry access to various pieces of information about current tree node. Instances might be 
 	 * reused across calls and shall not be kept by client's code
 	 * @throws HgCallbackTargetException.Wrap wrapper object for any exception user code may produce. Wrapped exception would get re-thrown with {@link HgCallbackTargetException} 
-	 * @throws CancelledException FIXME 
+	 * @throws CancelledException if execution of the operation was cancelled
 	 */
 	public void next(HgChangesetTreeHandler.TreeElement entry) throws HgCallbackTargetException.Wrap, CancelledException;
 
--- a/src/org/tmatesoft/hg/core/HgLogCommand.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/core/HgLogCommand.java	Mon Feb 13 12:47:24 2012 +0100
@@ -204,7 +204,7 @@
 	 * 
 	 * @param handler callback to process changesets.
 	 * @throws HgCallbackTargetException to re-throw exception from the handler
-	 * @throws HgException FIXME
+	 * @throws HgException FIXME EXCEPTIONS
 	 * @throws CancelledException if execution of the command was cancelled
 	 * @throws IllegalArgumentException when inspector argument is null
 	 * @throws ConcurrentModificationException if this log command instance is already running
@@ -266,7 +266,7 @@
 	 * TODO documentation 
 	 * @param handler
 	 * @throws HgCallbackTargetException to re-throw exception from the handler
-	 * @throws HgException FIXME
+	 * @throws HgException FIXME EXCEPTIONS
 	 * @throws CancelledException if execution of the command was cancelled
 	 */
 	public void execute(HgChangesetTreeHandler handler) throws HgCallbackTargetException, HgException, CancelledException {
@@ -366,7 +366,7 @@
 			}
 		}
 		if (date != null) {
-			// FIXME
+			// FIXME implement date support for log
 		}
 		count++;
 		csetTransform.next(revisionNumber, nodeid, cset);
--- a/src/org/tmatesoft/hg/internal/RepositoryComparator.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/internal/RepositoryComparator.java	Mon Feb 13 12:47:24 2012 +0100
@@ -486,7 +486,7 @@
 			toQuery.clear();
 		}
 		if (rootIndex == -1) {
-			throw new HgBadStateException("Shall not happen, provided between output is correct"); // FIXME
+			throw new HgBadStateException("Shall not happen, provided between output is correct"); // FIXME EXCEPTIONS
 		}
 		result[rootIndex] = branchRoot;
 		boolean resultOk = true;
@@ -503,7 +503,7 @@
 			System.out.println("Total queries:" + totalQueries);
 		}
 		if (!resultOk) {
-			throw new HgBadStateException("See console for details"); // FIXME
+			throw new HgBadStateException("See console for details"); // FIXME EXCEPTIONS
 		}
 		return fromRootToHead;
 	}
--- a/src/org/tmatesoft/hg/repo/HgBundle.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/repo/HgBundle.java	Mon Feb 13 12:47:24 2012 +0100
@@ -169,7 +169,7 @@
 				} catch (CancelledException ex) {
 					return false;
 				} catch (Exception ex) {
-					throw new HgBadStateException(ex); // FIXME
+					throw new HgBadStateException(ex); // FIXME EXCEPTIONS
 				}
 				return true;
 			}
--- a/src/org/tmatesoft/hg/repo/HgDataFile.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/repo/HgDataFile.java	Mon Feb 13 12:47:24 2012 +0100
@@ -204,7 +204,7 @@
 	 * 
  	 * @param fileRevisionIndex - revision local index, non-negative. From predefined constants, {@link HgRepository#TIP} and {@link HgRepository#WORKING_COPY} make sense. 
 	 * @param sink
-	 * @throws HgDataStreamException FIXME
+	 * @throws HgDataStreamException FIXME EXCEPTIONS
 	 * @throws HgInvalidControlFileException if access to revlog index/data entry failed
 	 * @throws CancelledException if execution of the operation was cancelled
 	 * @throws HgInvalidRevisionException if supplied argument doesn't represent revision index in this revlog
--- a/src/org/tmatesoft/hg/repo/HgRemoteRepository.java	Fri Feb 10 13:56:24 2012 +0100
+++ b/src/org/tmatesoft/hg/repo/HgRemoteRepository.java	Mon Feb 13 12:47:24 2012 +0100
@@ -124,7 +124,7 @@
 		if (Boolean.FALSE.booleanValue()) {
 			throw HgRepository.notImplemented();
 		}
-		return false; // FIXME
+		return false; // FIXME implement remote repository hello/check
 	}
 
 	/**