[slf4j-dev] svn commit: r1068 - slf4j/trunk/slf4j-api/src/main/java/org/slf4j/helpers

ceki at slf4j.org ceki at slf4j.org
Mon Jul 21 15:46:38 CEST 2008


Author: ceki
Date: Mon Jul 21 15:46:38 2008
New Revision: 1068

Modified:
   slf4j/trunk/slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java

Log:
typographical changes

Modified: slf4j/trunk/slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java
==============================================================================
--- slf4j/trunk/slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java	(original)
+++ slf4j/trunk/slf4j-api/src/main/java/org/slf4j/helpers/MessageFormatter.java	Mon Jul 21 15:46:38 2008
@@ -38,14 +38,14 @@
  * <p>
  * In the rare case where you need to place the '{' or '}' in the message
  * pattern itself but do not want them to be interpreted as a formatting
- * anchors, you can espace the '{' character with '\', that is the backslash
+ * anchors, you can escape the '{' character with '\', that is the backslash
  * character. Only the '{' character should be escaped. There is no need to
  * escape the '}' character. For example, 
  * <pre>MessageFormatter.format(&quot;Set \\{1,2,3} is not equal to {}.&quot;, &quot;1,2&quot;);</pre>
  * will return the string "Set {1,2,3} is not equal to 1,2.". 
  * 
  * <p>
- * The escaping behaviour just described can be overridden by 
+ * The escaping behavior just described can be overridden by 
  * escaping the escape character '\'. Calling
  * <pre>MessageFormatter.format(&quot;File name is C:\\\\{}.&quot;, &quot;file.zip&quot;);</pre>
  * will return the string "File name is C:\file.zip".



More information about the slf4j-dev mailing list