changeset 7973:bfc7194bdc83

[SCENEBUILDER] Fix raw type warning
author slions
date Thu, 04 Sep 2014 10:59:49 +0200
parents 9900c7afd0c6
children d00224d6d864
files apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java	Thu Sep 04 10:55:08 2014 +0200
+++ b/apps/scenebuilder/SceneBuilderApp/src/com/oracle/javafx/scenebuilder/app/preview/PreviewWindowController.java	Thu Sep 04 10:59:49 2014 +0200
@@ -192,7 +192,7 @@
         final Object sceneGraphRoot = fxomDocument.getSceneGraphRoot();
         assert sceneGraphRoot instanceof DialogPane;
         final DialogPane dialogPane = (DialogPane) sceneGraphRoot;
-        final Dialog dialog = new Dialog();
+        final Dialog<? extends Object> dialog = new Dialog<>();
         dialog.setDialogPane(dialogPane);
         if (dialogPane.getButtonTypes().isEmpty()) {
             dialog.getDialogPane().getButtonTypes().setAll(ButtonType.CLOSE);