< prev index next >

src/java.desktop/share/classes/java/beans/EventSetDescriptor.java

Print this page

        

@@ -1,7 +1,7 @@
 /*
- * Copyright (c) 1996, 2014, Oracle and/or its affiliates. All rights reserved.
+ * Copyright (c) 1996, 2018, Oracle and/or its affiliates. All rights reserved.
  * DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
  *
  * This code is free software; you can redistribute it and/or modify it
  * under the terms of the GNU General Public License version 2 only, as
  * published by the Free Software Foundation.  Oracle designates this

@@ -118,11 +118,11 @@
      *              introspection.
      */
     public EventSetDescriptor(Class<?> sourceClass,
                 String eventSetName,
                 Class<?> listenerType,
-                String listenerMethodNames[],
+                String[] listenerMethodNames,
                 String addListenerMethodName,
                 String removeListenerMethodName)
                 throws IntrospectionException {
         this(sourceClass, eventSetName, listenerType,
              listenerMethodNames, addListenerMethodName,

@@ -151,11 +151,11 @@
      * @since 1.4
      */
     public EventSetDescriptor(Class<?> sourceClass,
                 String eventSetName,
                 Class<?> listenerType,
-                String listenerMethodNames[],
+                String[] listenerMethodNames,
                 String addListenerMethodName,
                 String removeListenerMethodName,
                 String getListenerMethodName)
                 throws IntrospectionException {
         if (sourceClass == null || eventSetName == null || listenerType == null) {

@@ -213,11 +213,11 @@
      * @exception IntrospectionException if an exception occurs during
      *              introspection.
      */
     public EventSetDescriptor(String eventSetName,
                 Class<?> listenerType,
-                Method listenerMethods[],
+                Method[] listenerMethods,
                 Method addListenerMethod,
                 Method removeListenerMethod)
                 throws IntrospectionException {
         this(eventSetName, listenerType, listenerMethods,
              addListenerMethod, removeListenerMethod, null);

@@ -241,11 +241,11 @@
      *              introspection.
      * @since 1.4
      */
     public EventSetDescriptor(String eventSetName,
                 Class<?> listenerType,
-                Method listenerMethods[],
+                Method[] listenerMethods,
                 Method addListenerMethod,
                 Method removeListenerMethod,
                 Method getListenerMethod)
                 throws IntrospectionException {
         setName(eventSetName);

@@ -283,11 +283,11 @@
      * @exception IntrospectionException if an exception occurs during
      *              introspection.
      */
     public EventSetDescriptor(String eventSetName,
                 Class<?> listenerType,
-                MethodDescriptor listenerMethodDescriptors[],
+                MethodDescriptor[] listenerMethodDescriptors,
                 Method addListenerMethod,
                 Method removeListenerMethod)
                 throws IntrospectionException {
         setName(eventSetName);
         this.listenerMethodDescriptors = (listenerMethodDescriptors != null)
< prev index next >