From b55aa249893826684960e1e7d70c6e856f6ead72 Mon Sep 17 00:00:00 2001 From: kkolinko Date: Thu, 21 Jul 2011 11:08:23 +0000 Subject: [PATCH] Improve wording in a message and in one entry in changelog. git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@1149118 13f79535-47bb-0310-9956-ffa450edef68 --- test/org/apache/tomcat/util/scan/TestJarScanner.java | 4 ++-- webapps/docs/changelog.xml | 9 +++++---- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/test/org/apache/tomcat/util/scan/TestJarScanner.java b/test/org/apache/tomcat/util/scan/TestJarScanner.java index a8cc821c0..90e30600d 100644 --- a/test/org/apache/tomcat/util/scan/TestJarScanner.java +++ b/test/org/apache/tomcat/util/scan/TestJarScanner.java @@ -32,9 +32,9 @@ public class TestJarScanner extends TomcatBaseTest { String token; while (tokenizer.hasMoreElements()) { token = tokenizer.nextToken(); - assertTrue("token '" + token + "' does not end with \".jar\"", + assertTrue("Token \"" + token + "\" does not end with \".jar\"", token.endsWith(".jar")); - assertEquals("token '" + token + "' contains sub string \".jar\"" + + assertEquals("Token \"" + token + "\" contains sub string \".jar\"" + " or separator \",\" is missing", token.length() - ".jar".length(), token.indexOf(".jar")); diff --git a/webapps/docs/changelog.xml b/webapps/docs/changelog.xml index 1d1afa476..04d53d7a4 100644 --- a/webapps/docs/changelog.xml +++ b/webapps/docs/changelog.xml @@ -151,10 +151,11 @@ a Context or Host can be identified for the failed request. (markt) - In JULI FileHandler and in AccessLogValve create a directory - automatically when it is specified as a part of the file name, e.g. in - the prefix attribute. Earlier this happened only if it was - specified with the directory attribute. (kkolinko) + Create a directory for access log or error log (in AccessLogValve and + in JULI FileHandler) automatically when it is specified as a part of + the file name, e.g. in the prefix attribute. Earlier this + happened only if it was specified with the directory + attribute. (kkolinko) Log a failure if access log file cannot be opened. (kkolinko) -- 2.11.0