You are viewing a plain text version of this content. The canonical link for it is here.
Posted to scm@geronimo.apache.org by xu...@apache.org on 2011/03/16 08:20:00 UTC
svn commit: r1082076 -
/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java
Author: xuhaihong
Date: Wed Mar 16 07:19:59 2011
New Revision: 1082076
URL: http://svn.apache.org/viewvc?rev=1082076&view=rev
Log:
Fix the copy-paste error in the toString method
Modified:
geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java
Modified: geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java?rev=1082076&r1=1082075&r2=1082076&view=diff
==============================================================================
--- geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java (original)
+++ geronimo/server/trunk/framework/modules/geronimo-kernel/src/main/java/org/apache/geronimo/kernel/config/ConfigurationStatus.java Wed Mar 16 07:19:59 2011
@@ -80,7 +80,7 @@ public class ConfigurationStatus {
public Artifact getConfigurationId() {
return configurationId;
}
-
+
public LinkedHashSet<Artifact> getStartedChildren() {
LinkedHashSet<ConfigurationStatus> childrenStatuses = new LinkedHashSet<ConfigurationStatus>();
getStartedChildrenInternal(childrenStatuses);
@@ -383,9 +383,9 @@ public class ConfigurationStatus {
load = "not-loaded";
}
String start;
- if (userLoaded) {
+ if (userStarted) {
start = "user-started";
- } else if (loaded) {
+ } else if (started) {
start = "started";
} else {
start = "not-started";