File tree Expand file tree Collapse file tree
src/test/java/org/mastodon Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3838 */
3939public class StartImageJ
4040{
41- public static void main ( String ... args )
41+ public static void main ( final String ... args )
4242 {
43- Context context = new Context ();
44- UIService uiService = context .service ( UIService .class );
43+ @ SuppressWarnings ( "resource" )
44+ final Context context = new Context ();
45+ final UIService uiService = context .service ( UIService .class );
4546 uiService .showUI ();
4647 }
4748}
Original file line number Diff line number Diff line change 4040 */
4141public class StartMastodonLauncher
4242{
43- public static void main ( String ... args )
43+ public static void main ( final String ... args )
4444 {
45- Context context = new Context ();
46- UIService uiService = context .service ( UIService .class );
45+ @ SuppressWarnings ( "resource" )
46+ final Context context = new Context ();
47+ final UIService uiService = context .service ( UIService .class );
4748 uiService .showUI ();
48- CommandService commandService = context .service ( CommandService .class );
49+ final CommandService commandService = context .service ( CommandService .class );
4950 commandService .run ( MastodonLauncherCommand .class , true );
5051 }
5152}
You can’t perform that action at this time.
0 commit comments