Mercurial > hg4j
comparison src/org/tmatesoft/hg/internal/Internals.java @ 150:6b55f10ef54b
Unused variables removed.
| author | Alexander Kitaev <kitaev@gmail.com> |
|---|---|
| date | Thu, 24 Feb 2011 18:53:33 +0100 |
| parents | 46291ec605a0 |
| children | 706bcc7cfee4 |
comparison
equal
deleted
inserted
replaced
| 149:868a5a6e9f93 | 150:6b55f10ef54b |
|---|---|
| 30 * @author Artem Tikhomirov | 30 * @author Artem Tikhomirov |
| 31 * @author TMate Software Ltd. | 31 * @author TMate Software Ltd. |
| 32 */ | 32 */ |
| 33 public class Internals { | 33 public class Internals { |
| 34 | 34 |
| 35 private int revlogVersion = 0; | |
| 36 private int requiresFlags = 0; | 35 private int requiresFlags = 0; |
| 37 private List<Filter.Factory> filterFactories; | 36 private List<Filter.Factory> filterFactories; |
| 38 | 37 |
| 39 | 38 |
| 40 public Internals() { | 39 public Internals() { |
| 41 } | 40 } |
| 42 | 41 |
| 43 public/*for tests, otherwise pkg*/ void setStorageConfig(int version, int flags) { | 42 public/*for tests, otherwise pkg*/ void setStorageConfig(int version, int flags) { |
| 44 revlogVersion = version; | |
| 45 requiresFlags = flags; | 43 requiresFlags = flags; |
| 46 } | 44 } |
| 47 | 45 |
| 48 // XXX perhaps, should keep both fields right here, not in the HgRepository | 46 // XXX perhaps, should keep both fields right here, not in the HgRepository |
| 49 public PathRewrite buildDataFilesHelper() { | 47 public PathRewrite buildDataFilesHelper() { |
