Skip to content

Commit

Permalink
small refactor
Browse files Browse the repository at this point in the history
  • Loading branch information
c-eg committed May 5, 2023
1 parent c8834c8 commit a8416c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -50,21 +50,21 @@ public class ShowRenamerApplication extends Application {
*
* @param args the ags.
*/
public static void main(String[] args) {
public static void main(final String[] args) {
launch(args);
}

/**
* @inheritDoc
*/
@Override
public void start(Stage primaryStage) throws Exception {
final Parent root = FXMLLoader.load(ShowRenamerApplication.class.getResource("/view/rename.fxml"));
final Scene scene = new Scene(root, WIDTH, HEIGHT);

public void start(final Stage primaryStage) throws Exception {
primaryStage.setMinWidth(WIDTH);
primaryStage.setMinHeight(HEIGHT);
primaryStage.setTitle("Show Renamer");

final Parent root = FXMLLoader.load(ShowRenamerApplication.class.getResource("/view/rename.fxml"));
final Scene scene = new Scene(root);
primaryStage.setScene(scene);

final Image appIcon = new Image(ShowRenamerApplication.class.getResourceAsStream("/images/show-renamer-icon.png"));
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ public class ShowRenamerLauncher {
*
* @param args the args.
*/
public static void main(String[] args) {
public static void main(final String[] args) {
ShowRenamerApplication.main(args);
}
}

0 comments on commit a8416c6

Please sign in to comment.