-
Bug
-
Resolution: Fixed
-
P3
-
7
-
b43
-
generic
-
generic
-
Not verified
###@###.### writes:
The following example will not compile:
@NotificationInfos(
@NotificationInfo(
types = {AttributeChangeNotification.ATTRIBUTE_CHANGE},
notificationClass = AttributeChangeNotification.class),
@NotificationInfo(
types = {JMXConnectionNotification.OPENED,
JMXConnectionNotification.CLOSED},
notificationClass = JMXConnectionNotification.class)
)
unless "{}" brackets are inserted.
The following example will not compile:
@NotificationInfos(
@NotificationInfo(
types = {AttributeChangeNotification.ATTRIBUTE_CHANGE},
notificationClass = AttributeChangeNotification.class),
@NotificationInfo(
types = {JMXConnectionNotification.OPENED,
JMXConnectionNotification.CLOSED},
notificationClass = JMXConnectionNotification.class)
)
unless "{}" brackets are inserted.