mawiesne commented on code in PR #59: URL: https://github.com/apache/opennlp-sandbox/pull/59#discussion_r1082234405
########## opennlp-wsd/src/main/java/opennlp/tools/disambiguator/WSDHelper.java: ########## @@ -606,7 +604,7 @@ public static boolean areStringArraysEqual(String[] array1, String[] array2) { public static ArrayList<WordPOS> getAllRelevantWords(String[] sentence) { - ArrayList<WordPOS> relevantWords = new ArrayList<WordPOS>(); + ArrayList<WordPOS> relevantWords = new ArrayList<>(); Review Comment: Will check. -- 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: dev-unsubscr...@opennlp.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org