eagle-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From h..@apache.org
Subject incubator-eagle git commit: [EAGLE-403] Fix bad status text
Date Mon, 01 Aug 2016 12:09:50 GMT
Repository: incubator-eagle
Updated Branches:
  refs/heads/develop 0d6131951 -> 557ccf9b1


[EAGLE-403] Fix bad status text

https://issues.apache.org/jira/browse/EAGLE-403

Author: Hao Chen <hao@apache.org>

Closes #288 from haoch/FixBadStatusChars.


Project: http://git-wip-us.apache.org/repos/asf/incubator-eagle/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-eagle/commit/557ccf9b
Tree: http://git-wip-us.apache.org/repos/asf/incubator-eagle/tree/557ccf9b
Diff: http://git-wip-us.apache.org/repos/asf/incubator-eagle/diff/557ccf9b

Branch: refs/heads/develop
Commit: 557ccf9b15166dbb2c1db72b62eb42386b42e812
Parents: 0d61319
Author: Hao Chen <hao@apache.org>
Authored: Mon Aug 1 20:09:43 2016 +0800
Committer: Hao Chen <hao@apache.org>
Committed: Mon Aug 1 20:09:43 2016 +0800

----------------------------------------------------------------------
 .../org/apache/eagle/metadata/model/ApplicationEntity.java   | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-eagle/blob/557ccf9b/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/model/ApplicationEntity.java
----------------------------------------------------------------------
diff --git a/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/model/ApplicationEntity.java
b/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/model/ApplicationEntity.java
index 852041a..5302714 100644
--- a/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/model/ApplicationEntity.java
+++ b/eagle-core/eagle-metadata/eagle-metadata-base/src/main/java/org/apache/eagle/metadata/model/ApplicationEntity.java
@@ -41,7 +41,7 @@ public class ApplicationEntity extends PersistenceEntity {
     private Map<String,String> context = new HashMap<>();
     private Collection<StreamDesc> streams;
     private Mode mode = Mode.CLUSTER;
-    private Status status = Status.INITIAILIZED;
+    private Status status = Status.INITIALIZED;
 
     public SiteEntity getSite() {
         return site;
@@ -82,7 +82,7 @@ public class ApplicationEntity extends PersistenceEntity {
             this.appId = String.format("EAGLE_APP[TYPE=%s,SITE=%s]",this.getDescriptor().getType(),this.getSite().getSiteId());
         }
         if(this.status == null){
-            this.status = Status.INITIAILIZED;
+            this.status = Status.INITIALIZED;
         }
     }
 
@@ -119,10 +119,10 @@ public class ApplicationEntity extends PersistenceEntity {
     }
 
     public static enum Status{
-        INITIAILIZED("INITIAILIZED"),
+        INITIALIZED("INITIALIZED"),
         STARTING("STARTING"),
         RUNNING("RUNNING"),
-        STOPPPING("STOPPPING"),
+        STOPPING("STOPPING"),
         STOPPED("STOPPED");
 
         private final String status;


Mime
View raw message