[prev in list] [next in list] [prev in thread] [next in thread] 

List:       juddi-cvs
Subject:    svn commit: r1102790 -
From:       kstam () apache ! org
Date:       2011-05-13 15:22:55
Message-ID: 20110513152255.47D5E23889C5 () eris ! apache ! org
[Download RAW message or body]

Author: kstam
Date: Fri May 13 15:22:54 2011
New Revision: 1102790

URL: http://svn.apache.org/viewvc?rev=1102790&view=rev
Log:
JUDDI-377 use the lang from the properties

Modified:
    juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java


Modified: juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java
                
URL: http://svn.apache.org/viewvc/juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java?rev=1102790&r1=1102789&r2=1102790&view=diff
 ==============================================================================
--- juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java \
                (original)
+++ juddi/trunk/juddi-client/src/main/java/org/apache/juddi/v3/client/mapping/WSDL2UDDI.java \
Fri May 13 15:22:54 2011 @@ -214,7 +214,7 @@ public class WSDL2UDDI {
 	    	tModel.setTModelKey(keyDomainURI + localpart);
 	    	// Set the Name
 	    	Name name = new Name();
-	    	name.setLang("en");
+	    	name.setLang(lang);
 	    	name.setValue(localpart);
 	    	tModel.setName(name);
 	    	// Set the OverviewURL
@@ -347,7 +347,7 @@ public class WSDL2UDDI {
 	    	// Set the Name. The uddi:name element of the tModel MUST be the value of
 	    	// the name attribute of the wsdl:portType.
 	    	Name name = new Name();
-	    	name.setLang("en");
+	    	name.setLang(lang);
 	    	name.setValue(localpart);
 	    	tModel.setName(name);
 	    	// Set the OverviewURL. The tModel MUST contain an overviewDoc with an 



---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@juddi.apache.org
For additional commands, e-mail: commits-help@juddi.apache.org


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic