Mercurial > hg4j
comparison src/org/tmatesoft/hg/repo/HgRepository.java @ 145:acc6151b1b7a
toString for friendly debug
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 18 Feb 2011 04:53:34 +0100 |
parents | 37a34044e6bd |
children | 1a7a9a20e1f9 |
comparison
equal
deleted
inserted
replaced
144:44185c4a850c | 145:acc6151b1b7a |
---|---|
103 parseRequires(); | 103 parseRequires(); |
104 dataPathHelper = impl.buildDataFilesHelper(); | 104 dataPathHelper = impl.buildDataFilesHelper(); |
105 repoPathHelper = impl.buildRepositoryFilesHelper(); | 105 repoPathHelper = impl.buildRepositoryFilesHelper(); |
106 } | 106 } |
107 | 107 |
108 @Override | |
109 public String toString() { | |
110 return getClass().getSimpleName() + "[" + getLocation() + (isInvalid() ? "(BAD)" : "") + "]"; | |
111 } | |
108 | 112 |
109 public String getLocation() { | 113 public String getLocation() { |
110 return repoLocation; | 114 return repoLocation; |
111 } | 115 } |
112 | 116 |