diff src/org/tmatesoft/hg/repo/Revlog.java @ 424:6437d261048a

Deprecated code removed
author Artem Tikhomirov <tikhomirov.artem@gmail.com>
date Wed, 28 Mar 2012 15:42:15 +0200
parents 9c9c442b5f2e
children 48f993aa2f41
line wrap: on
line diff
--- a/src/org/tmatesoft/hg/repo/Revlog.java	Fri Mar 23 22:51:18 2012 +0100
+++ b/src/org/tmatesoft/hg/repo/Revlog.java	Wed Mar 28 15:42:15 2012 +0200
@@ -147,15 +147,6 @@
 	}
 	
 	/**
-	 * @deprecated use {@link #getRevisionIndex(Nodeid)} instead
-	 */
-	@Deprecated
-	public final int getLocalRevision(Nodeid nid) throws HgInvalidControlFileException, HgInvalidRevisionException {
-		return getRevisionIndex(nid);
-	}
-
-
-	/**
 	 * Note, {@link Nodeid#NULL} nodeid is not reported as known in any revlog.
 	 * 
 	 * @param nodeid
@@ -591,13 +582,6 @@
 			}
 			return sorted2natural[x]-1;
 		}
-		/**
-		 * @deprecated use {@link #revisionIndex(Nodeid)} instead
-		 */
-		@Deprecated
-		public int localRevision(Nodeid revision) {
-			return revisionIndex(revision);
-		}
 	}
 
 	protected abstract static class ErrorHandlingInspector implements RevlogStream.Inspector, CancelSupport {