Skip to content

Commit

Permalink
fix foolish bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Bosn committed Apr 18, 2014
1 parent 2724f87 commit abd665d
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -645,6 +645,7 @@ private String mockjsValue(Parameter para, int index) {
private String processMockValueWithParams(Parameter para, String mockValue) {

Pattern p = Pattern.compile(Patterns.MOCK_TEMPLATE_PATTERN);
if (mockValue == null) mockValue = "";
Matcher matcher = p.matcher(mockValue);
while (matcher.find()) {
int c = matcher.groupCount();
Expand Down

0 comments on commit abd665d

Please sign in to comment.