예제 #1
0
 private static void parseReplyTime(Topic.Builder topicBuilder, TextNode textNode) {
   final String text = textNode.text();
   final Matcher matcher = PATTERN_REPLY_TIME.matcher(text);
   if (!matcher.find()) {
     throw new FatalException("match reply time for topic failed: " + text);
   }
   final String time = matcher.group(1);
   topicBuilder.setReplyTime(time);
 }