Github user KellenSunderland commented on a diff in the pull request:
https://github.com/apache/incubator-joshua/pull/15#discussion_r64131585
--- Diff: src/main/java/org/apache/joshua/decoder/ff/lm/ArpaFile.java ---
@@ -209,10 +206,10 @@ public int getOrder() throws FileNotFoundException {
} else {
Matcher matcher = pattern.matcher(line);
if (matcher.matches()) {
- if (logger.isLoggable(Level.FINEST)) logger.finest("DOES
match: \'" + line + "\'");
+ LOG.debug("DOES match: '{}'", line);
order = Integer.valueOf(matcher.group(1));
- } else if (logger.isLoggable(Level.FINEST)) {
- logger.finest("Doesn't match: \'" + line + "\'");
+ } else {
+ LOG.debug("Doesn't match: '{}'", line );
--- End diff --
extra space after line.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---