Mercurial > jhg
comparison src/org/tmatesoft/hg/core/HgRepoFacade.java @ 431:12f668401613
FIXMEs: awkward API refactored, what need to be internal got hidden; public aspects got captured in slim interfaces
| author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
|---|---|
| date | Thu, 29 Mar 2012 20:54:04 +0200 |
| parents | 9c9c442b5f2e |
| children | 32453f30de07 |
comparison
equal
deleted
inserted
replaced
| 430:d280759c2a3f | 431:12f668401613 |
|---|---|
| 39 public class HgRepoFacade { | 39 public class HgRepoFacade { |
| 40 private HgRepository repo; | 40 private HgRepository repo; |
| 41 private final SessionContext context; | 41 private final SessionContext context; |
| 42 | 42 |
| 43 public HgRepoFacade() { | 43 public HgRepoFacade() { |
| 44 this(new BasicSessionContext(null, null)); | 44 this(new BasicSessionContext(null)); |
| 45 } | 45 } |
| 46 | 46 |
| 47 public HgRepoFacade(SessionContext ctx) { | 47 public HgRepoFacade(SessionContext ctx) { |
| 48 if (ctx == null) { | 48 if (ctx == null) { |
| 49 throw new IllegalArgumentException(); | 49 throw new IllegalArgumentException(); |
