cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dk...@apache.org
Subject svn commit: r920620 - /cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java
Date Tue, 09 Mar 2010 02:09:21 GMT
Author: dkulp
Date: Tue Mar  9 02:09:21 2010
New Revision: 920620

URL: http://svn.apache.org/viewvc?rev=920620&view=rev
Log:
[CXF-2700] Use proper method to determine lang code

Modified:
    cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java

Modified: cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java
URL: http://svn.apache.org/viewvc/cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java?rev=920620&r1=920619&r2=920620&view=diff
==============================================================================
--- cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java
(original)
+++ cxf/trunk/rt/bindings/soap/src/main/java/org/apache/cxf/binding/soap/interceptor/Soap12FaultOutInterceptor.java
Tue Mar  9 02:09:21 2010
@@ -136,7 +136,7 @@ public class Soap12FaultOutInterceptor e
         }
         
         private String getLangCode() {        
-            String code = LOG.getResourceBundle().getLocale().getDisplayLanguage();
+            String code = LOG.getResourceBundle().getLocale().getLanguage();
             if (StringUtils.isEmpty(code)) {
                 return "en";
             }



Mime
View raw message