stratos-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ud...@apache.org
Subject [1/4] git commit: making appId final in events
Date Wed, 22 Oct 2014 08:26:47 GMT
Repository: stratos
Updated Branches:
  refs/heads/4.0.0-grouping b92a27d35 -> 731e22ed0


making appId final in events


Project: http://git-wip-us.apache.org/repos/asf/stratos/repo
Commit: http://git-wip-us.apache.org/repos/asf/stratos/commit/ad31e2a1
Tree: http://git-wip-us.apache.org/repos/asf/stratos/tree/ad31e2a1
Diff: http://git-wip-us.apache.org/repos/asf/stratos/diff/ad31e2a1

Branch: refs/heads/4.0.0-grouping
Commit: ad31e2a16cd24069c6b17e4fb977089eaeecc37a
Parents: 5dae422
Author: Udara Liyanage <udara@wso2.com>
Authored: Mon Oct 20 18:12:16 2014 +0530
Committer: Udara Liyanage <udara@wso2.com>
Committed: Mon Oct 20 18:12:16 2014 +0530

----------------------------------------------------------------------
 .../messaging/event/topology/ApplicationActivatedEvent.java        | 2 +-
 .../stratos/messaging/event/topology/ApplicationCreatedEvent.java  | 2 +-
 .../messaging/event/topology/ApplicationInactivatedEvent.java      | 2 +-
 .../stratos/messaging/event/topology/ApplicationRemovedEvent.java  | 2 +-
 .../messaging/event/topology/ApplicationTerminatedEvent.java       | 2 +-
 .../messaging/event/topology/ApplicationTerminatingEvent.java      | 2 +-
 6 files changed, 6 insertions(+), 6 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationActivatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationActivatedEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationActivatedEvent.java
index 64417c7..2d825f7 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationActivatedEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationActivatedEvent.java
@@ -22,7 +22,7 @@ package org.apache.stratos.messaging.event.topology;
  * This event will be sent to Topology upon activation of application
  */
 public class ApplicationActivatedEvent extends TopologyEvent {
-    private String appId;
+    private final String appId;
 
     public ApplicationActivatedEvent(String appId) {
         this.appId = appId;

http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationCreatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationCreatedEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationCreatedEvent.java
index 90067d4..425dd47 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationCreatedEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationCreatedEvent.java
@@ -26,7 +26,7 @@ import java.util.List;
 
 public class ApplicationCreatedEvent extends TopologyEvent {
 
-    private Application application;
+    private final Application application;
 
     private List<Cluster> clusterList;
 

http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationInactivatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationInactivatedEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationInactivatedEvent.java
index a2c287d..d81dc55 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationInactivatedEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationInactivatedEvent.java
@@ -22,7 +22,7 @@ package org.apache.stratos.messaging.event.topology;
  * This event will be sent to Topology upon inactivation of application
  */
 public class ApplicationInactivatedEvent extends TopologyEvent {
-    private String appId;
+    private final String appId;
 
     public ApplicationInactivatedEvent(String appId) {
         this.appId = appId;

http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationRemovedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationRemovedEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationRemovedEvent.java
index 67eff8b..3d5b9a4 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationRemovedEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationRemovedEvent.java
@@ -30,7 +30,7 @@ public class ApplicationRemovedEvent extends TopologyEvent {
      *
      */
     private static final long serialVersionUID = -5499420725533165623L;
-    private String applicationId;
+    private final String applicationId;
     private Set<ClusterDataHolder> clusterData;
 
     private String tenantDomain;

http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatedEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatedEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatedEvent.java
index 493ddfa..441b902 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatedEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatedEvent.java
@@ -22,7 +22,7 @@ package org.apache.stratos.messaging.event.topology;
  * This event will be sent to Topology upon termination of application
  */
 public class ApplicationTerminatedEvent extends TopologyEvent {
-    private String appId;
+    private final String appId;
 
     public ApplicationTerminatedEvent(String appId) {
         this.appId = appId;

http://git-wip-us.apache.org/repos/asf/stratos/blob/ad31e2a1/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatingEvent.java
----------------------------------------------------------------------
diff --git a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatingEvent.java
b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatingEvent.java
index f5887c3..e1fbc02 100644
--- a/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatingEvent.java
+++ b/components/org.apache.stratos.messaging/src/main/java/org/apache/stratos/messaging/event/topology/ApplicationTerminatingEvent.java
@@ -22,7 +22,7 @@ package org.apache.stratos.messaging.event.topology;
  * This event will be sent to Topology upon terminating of application
  */
 public class ApplicationTerminatingEvent extends TopologyEvent {
-    private String appId;
+    private final String appId;
 
     public ApplicationTerminatingEvent(String appId) {
         this.appId = appId;


Mime
View raw message