Uploaded image for project: 'Application Server 3  4  5 and 6'
  1. Application Server 3 4 5 and 6
  2. JBAS-1577

white-space in ServiceMBean EVENT types

XMLWordPrintable

      Any particular reason those 4 event types contain a leading space in their name?

      /** The JMX notification event type for a service create state */
      public static final String CREATE_EVENT = " org.jboss.system.ServiceMBean.create";
      /** The JMX notification event type for a service create state */
      public static final String START_EVENT = " org.jboss.system.ServiceMBean.start";
      /** The JMX notification event type for a service create state */
      public static final String STOP_EVENT = " org.jboss.system.ServiceMBean.stop";
      /** The JMX notification event type for a service create state */
      public static final String DESTROY_EVENT = " org.jboss.system.ServiceMBean.destroy";

      This is obviously wrong, it is there on all branches and unless there is a good reason for not fixing this, I'm going to remove the space.

              dandread1@redhat.com Dimitrios Andreadis
              dandread1@redhat.com Dimitrios Andreadis
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

                Created:
                Updated:
                Resolved:

                  Estimated:
                  Original Estimate - 10 minutes Original Estimate - 10 minutes
                  10m
                  Remaining:
                  Remaining Estimate - 0 minutes
                  0m
                  Logged:
                  Time Spent - 15 minutes
                  15m