----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/55781/#review163180 -----------------------------------------------------------
Can you help me understand what the introspectAndConvert method is trying to do? Its use of generics seems very strange to me and it has many unchecked casts which could fail at runtime. - Jared Stewart On Jan. 26, 2017, 12:35 a.m., Kevin Duling wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/55781/ > ----------------------------------------------------------- > > (Updated Jan. 26, 2017, 12:35 a.m.) > > > Review request for geode, Jinmei Liao, Jared Stewart, and Kirk Lund. > > > Repository: geode > > > Description > ------- > > Protection against an empty JSON object being sent as no-arguments in to a > function within the REST controller. > > > Diffs > ----- > > > geode-assembly/src/test/java/org/apache/geode/rest/internal/web/RestSecurityIntegrationTest.java > fc2da8b5b164da2f93472ad2dc1dc3a71cf700fd > > geode-assembly/src/test/java/org/apache/geode/rest/internal/web/controllers/NoArgumentFunction.java > PRE-CREATION > > geode-assembly/src/test/java/org/apache/geode/rest/internal/web/controllers/RestAPIsQueryAndFEJUnitTest.java > f05411049e3342c3ff84cefc329520802370f039 > > geode-web-api/src/main/java/org/apache/geode/rest/internal/web/controllers/AbstractBaseController.java > b9d2bf4dec5b8d091207b6a98ff30d11ba7cc822 > > geode-web-api/src/main/java/org/apache/geode/rest/internal/web/controllers/FunctionAccessController.java > 2169cb28cd80d675764ff185ca1ff7c6dbc2b525 > > Diff: https://reviews.apache.org/r/55781/diff/ > > > Testing > ------- > > precheckin successful > > > Thanks, > > Kevin Duling > >