File tree Expand file tree Collapse file tree 1 file changed +4
-7
lines changed
src/test/java/com/rusticisoftware/tincan Expand file tree Collapse file tree 1 file changed +4
-7
lines changed Original file line number Diff line number Diff line change 2323import java .util .ArrayList ;
2424import java .util .List ;
2525import java .util .Properties ;
26+ import java .util .logging .Level ;
2627
2728import lombok .extern .java .Log ;
2829
@@ -349,17 +350,13 @@ public void testRetrieveState() throws Exception {
349350 Assert .assertEquals (value , new String (retrievedState .getContents ()));
350351 }
351352
352- private RemoteLRS getLRS () {
353+ private RemoteLRS getLRS () throws Exception {
353354 return getLRS (TCAPIVersion .V100 );
354355 }
355356
356- private RemoteLRS getLRS (TCAPIVersion version ) {
357+ private RemoteLRS getLRS (TCAPIVersion version ) throws Exception {
357358 RemoteLRS obj = new RemoteLRS ();
358- try {
359- obj .setEndpoint (config .getProperty ("endpoint" ));
360- } catch (MalformedURLException e ) {
361- e .printStackTrace ();
362- }
359+ obj .setEndpoint (config .getProperty ("endpoint" ));
363360 obj .setVersion (version );
364361 obj .setUsername (config .getProperty ("username" ));
365362 obj .setPassword (config .getProperty ("password" ));
You can’t perform that action at this time.
0 commit comments