Mercurial > jhg
comparison src/org/tmatesoft/hg/internal/PathGlobMatcher.java @ 295:981f9f50bb6c
Issue 11: Error log facility. SessionContext to share common facilities
author | Artem Tikhomirov <tikhomirov.artem@gmail.com> |
---|---|
date | Fri, 16 Sep 2011 05:35:32 +0200 |
parents | 1ec6b327a6ac |
children | 528b6780a8bd |
comparison
equal
deleted
inserted
replaced
294:32890bab7209 | 295:981f9f50bb6c |
---|---|
42 regexp[i++] = glob2regexp(s); | 42 regexp[i++] = glob2regexp(s); |
43 } | 43 } |
44 try { | 44 try { |
45 delegate = new PathRegexpMatcher(regexp); | 45 delegate = new PathRegexpMatcher(regexp); |
46 } catch (PatternSyntaxException ex) { | 46 } catch (PatternSyntaxException ex) { |
47 ex.printStackTrace(); | |
48 throw new IllegalArgumentException(ex); | 47 throw new IllegalArgumentException(ex); |
49 } | 48 } |
50 } | 49 } |
51 | 50 |
52 | 51 |