----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/59573/#review176056 -----------------------------------------------------------
Fix it, then Ship it! ambari-server/src/main/java/org/apache/ambari/server/topology/validators/RequiredConfigPropertiesValidator.java Line 87 (original), 89 (patched) <https://reviews.apache.org/r/59573/#comment249386> Can you please add `<>` to get rid of the unchecked warning, since you are already modifying this file? ambari-server/src/test/java/org/apache/ambari/server/topology/validators/RequiredConfigPropertiesValidatorTest.java Lines 148-149 (original), 150-151 (patched) <https://reviews.apache.org/r/59573/#comment249385> * please use `<>` instead of `<String>` * please consider using `Collections.singletonList` for single item list - Attila Doroszlai On May 25, 2017, 12:01 p.m., Laszlo Puskas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/59573/ > ----------------------------------------------------------- > > (Updated May 25, 2017, 12:01 p.m.) > > > Review request for Ambari, Attila Doroszlai, Jonathan Hurley, and Sandor > Magyari. > > > Bugs: AMBARI-21126 > https://issues.apache.org/jira/browse/AMBARI-21126 > > > Repository: ambari > > > Description > ------- > > Assertions in the failing tests are mad on generated strings that were > different due to the (unordered) collections used to generate them. > > Using sorted collections to make messages predictable. > > > Diffs > ----- > > > ambari-server/src/main/java/org/apache/ambari/server/topology/validators/RequiredConfigPropertiesValidator.java > 759d9e9 > > ambari-server/src/test/java/org/apache/ambari/server/topology/validators/RequiredConfigPropertiesValidatorTest.java > 8ead623 > > > Diff: https://reviews.apache.org/r/59573/diff/1/ > > > Testing > ------- > > Unit tests running. (Both java 7 and 8) > > > Thanks, > > Laszlo Puskas > >
