Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgException.java @ 424:6437d261048a
Deprecated code removed
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Wed, 28 Mar 2012 15:42:15 +0200 |
| parents | 2747b0723867 |
| children | 48f993aa2f41 |
comparison
equal
deleted
inserted
replaced
| 423:9c9c442b5f2e | 424:6437d261048a |
|---|---|
| 48 */ | 48 */ |
| 49 public int getRevisionIndex() { | 49 public int getRevisionIndex() { |
| 50 return extras.getRevisionIndex(); | 50 return extras.getRevisionIndex(); |
| 51 } | 51 } |
| 52 | 52 |
| 53 /** | |
| 54 * @deprecated use {@link #getRevisionIndex()} | |
| 55 */ | |
| 56 @Deprecated | |
| 57 public int getRevisionNumber() { | |
| 58 return getRevisionIndex(); | |
| 59 } | |
| 60 | |
| 61 public HgException setRevisionIndex(int rev) { | 53 public HgException setRevisionIndex(int rev) { |
| 62 return extras.setRevisionIndex(rev); | 54 return extras.setRevisionIndex(rev); |
| 63 } | 55 } |
| 64 | 56 |
| 65 public boolean isRevisionIndexSet() { | 57 public boolean isRevisionIndexSet() { |
| 66 return extras.isRevisionIndexSet(); | 58 return extras.isRevisionIndexSet(); |
| 67 } | |
| 68 | |
| 69 /** | |
| 70 * @deprecated use {@link #setRevisionIndex(int)} | |
| 71 */ | |
| 72 @Deprecated | |
| 73 public final HgException setRevisionNumber(int rev) { | |
| 74 return setRevisionIndex(rev); | |
| 75 } | 59 } |
| 76 | 60 |
| 77 /** | 61 /** |
| 78 * @return non-null only when revision was supplied at construction time | 62 * @return non-null only when revision was supplied at construction time |
| 79 */ | 63 */ |
