geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From djen...@apache.org
Subject svn commit: r390264 - /geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java
Date Thu, 30 Mar 2006 22:38:01 GMT
Author: djencks
Date: Thu Mar 30 14:38:00 2006
New Revision: 390264

URL: http://svn.apache.org/viewcvs?rev=390264&view=rev
Log:
fix element name

Modified:
    geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java

Modified: geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java
URL: http://svn.apache.org/viewcvs/geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java?rev=390264&r1=390263&r2=390264&view=diff
==============================================================================
--- geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java
(original)
+++ geronimo/branches/1.1/modules/upgrade/src/java/org/apache/geronimo/upgrade/Upgrade1_0To1_1.java
Thu Mar 30 14:38:00 2006
@@ -78,7 +78,7 @@
     private static final String DEFAULT_GROUPID = "default";
     private static final String DEFAULT_VERSION = "1-default";
     private static final QName CLIENT_ENVIRONMENT_QNAME = new QName("http://geronimo.apache.org/xml/ns/deployment-1.1",
"client-environment");
-    private static final QName PARENT_ENVIRONMENT_QNAME = new QName("http://geronimo.apache.org/xml/ns/deployment-1.1",
"parent-environment");
+    private static final QName SERVER_ENVIRONMENT_QNAME = new QName("http://geronimo.apache.org/xml/ns/deployment-1.1",
"server-environment");
 
     public static void upgrade(InputStream source, Writer target) throws IOException, XmlException
{
         XmlObject xmlObject = parse(source);
@@ -94,7 +94,7 @@
 
                     insertEnvironment(clientConfigId, clientParentId, cursor, CLIENT_ENVIRONMENT_QNAME);
 
-                    insertEnvironment(configId, parentId, cursor, PARENT_ENVIRONMENT_QNAME);
+                    insertEnvironment(configId, parentId, cursor, SERVER_ENVIRONMENT_QNAME);
 
                 } else if (configId != null) {
 



Mime
View raw message