----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/40049/#review105710 -----------------------------------------------------------
server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java (line 226) <https://reviews.apache.org/r/40049/#comment164327> is there any way we can refactor this so we don't need to check the identifier value twice? test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java (line 64) <https://reviews.apache.org/r/40049/#comment164328> not super related to your change, but can we refactor this try blok into multiple lines? - Abraham Fine On Nov. 7, 2015, 11:25 p.m., Jarek Cecho wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/40049/ > ----------------------------------------------------------- > > (Updated Nov. 7, 2015, 11:25 p.m.) > > > Review request for Sqoop. > > > Bugs: SQOOP-2670 > https://issues.apache.org/jira/browse/SQOOP-2670 > > > Repository: sqoop-sqoop2 > > > Description > ------- > > I've refactored the method responsible for retrieving links as described on > the JIRA. > > > Diffs > ----- > > server/src/main/java/org/apache/sqoop/handler/LinkRequestHandler.java > fe0c4d8 > server/src/main/java/org/apache/sqoop/server/v1/LinkServlet.java 3fb542f > > test/src/test/java/org/apache/sqoop/integration/server/InvalidRESTCallsTest.java > 856d21f > > Diff: https://reviews.apache.org/r/40049/diff/ > > > Testing > ------- > > I've added bunch of test cases to REST test verifying that we're behaving as > expected. > > > Thanks, > > Jarek Cecho > >
