Github user KellenSunderland commented on a diff in the pull request:
https://github.com/apache/incubator-joshua/pull/15#discussion_r64132090
--- Diff:
src/main/java/org/apache/joshua/util/encoding/FeatureTypeAnalyzer.java ---
@@ -122,7 +123,7 @@ public void inferTypes(boolean labeled) {
for (FeatureType ft : types)
ft.inferUncompressedType();
for (int id : featureToType.keySet())
- logger.info("Type inferred: " + (labeled ? Vocabulary.word(id) :
"Feature " + id) + " is "
+ LOG.info("Type inferred: {}" + (labeled ? Vocabulary.word(id) :
"Feature " + id) + " is "
--- End diff --
I think the formatting is a little bit broken here. Should it be something
like:
LOG.info("Type inferred: {} is {}", (labeled ? Vocabulary.word(id) :
"Feature " + id), types.get(featureToType.get(id)).encoder.getKey());
---
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.
---