dk2k commented on a change in pull request #478:
URL: https://github.com/apache/tika/pull/478#discussion_r787916159
##########
File path:
tika-core/src/main/java/org/apache/tika/language/detect/LanguageNames.java
##########
@@ -42,13 +42,13 @@ public static String normalizeName(String languageTag) {
}
public static boolean isMacroLanguage(String languageTag) {
- Locale locale = Locale.forLanguageTag(languageTag);
+ // Locale locale = Locale.forLanguageTag(languageTag); unused
// TODO make it so.
return false;
}
public static boolean hasMacroLanguage(String languageTag) {
- Locale locale = Locale.forLanguageTag(languageTag);
+ // Locale locale = Locale.forLanguageTag(languageTag); // unused
Review comment:
there is a todo below, commented line may help later
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]