You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by cs...@apache.org on 2017/07/24 12:22:17 UTC

svn commit: r1802800 - in /tomcat/trunk: ./ java/org/apache/tomcat/util/digester/Digester.java java/org/apache/tomcat/util/digester/LocalStrings.properties

Author: csutherl
Date: Mon Jul 24 12:22:16 2017
New Revision: 1802800

URL: http://svn.apache.org/viewvc?rev=1802800&view=rev
Log:
Followup to r1802639, Use StringManager in log message

Modified:
    tomcat/trunk/   (props changed)
    tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java
    tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties

Propchange: tomcat/trunk/
------------------------------------------------------------------------------
    svn:mergeinfo = /tomcat/tc8.5.x/trunk:1802799

Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java?rev=1802800&r1=1802799&r2=1802800&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/digester/Digester.java Mon Jul 24 12:22:16 2017
@@ -1923,7 +1923,7 @@ public class Digester extends DefaultHan
                     newAttrs.setValue(i, newValue);
                 }
             } catch (Exception e) {
-                log.warn("Attribute [" + newAttrs.getLocalName(i) + "] failed to update and remains [" + value + "].", e);
+                log.warn(sm.getString("digester.failedToUpdateAttributes", newAttrs.getLocalName(i), value), e);
             }
         }
 

Modified: tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties?rev=1802800&r1=1802799&r2=1802800&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/digester/LocalStrings.properties Mon Jul 24 12:22:16 2017
@@ -13,4 +13,5 @@
 # See the License for the specific language governing permissions and
 # limitations under the License.
 
-disgester.encodingInvalid=The encoding [{0}] is not recognised by the JRE and will be ignored
\ No newline at end of file
+disgester.encodingInvalid=The encoding [{0}] is not recognised by the JRE and will be ignored
+digester.failedToUpdateAttributes=Attribute [{0}] failed to update and remains [{1}]



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org