changeset 4967:9d380c47ef14

ECLIPSE: work around Eclipse jdk8 compiler problem
author snorthov
date Wed, 04 Sep 2013 13:26:08 -0400
parents fd5c3a88cd07
children 906d256bc339
files modules/fxml/src/main/java/javafx/fxml/FXMLLoader.java
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/modules/fxml/src/main/java/javafx/fxml/FXMLLoader.java	Wed Sep 04 10:09:51 2013 -0700
+++ b/modules/fxml/src/main/java/javafx/fxml/FXMLLoader.java	Wed Sep 04 13:26:08 2013 -0400
@@ -2809,9 +2809,9 @@
     private HashMap<Class, Map<String, Method>> getControllerMethods() throws LoadException {
         if (controllerMethods == null) {
             controllerMethods = new HashMap<>();
-            controllerMethods.put(null, new HashMap<>());
+            controllerMethods.put(null, new HashMap<String,Method>());
             for (Class c: SUPPORTED_TYPES) {
-                controllerMethods.put(c, new HashMap<>());
+                controllerMethods.put(c, new HashMap<String,Method>());
             }
 
             Class<?> controllerType = controller.getClass();