<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
<br>
Yes, that is mostly, but not entirely true. But it doesn't change the
fact that a backslash is always represented by \\.<br>
<br>
Btw, this is also valid:<br>
char c = '\\';<br>
<br>
Conversively, I have also seen generated code that failed because the
username started with a 'u':<br>
// Imported from c:\program files\documents\uri\etc\etc<br>
<br>
In this case the compile will complain that the line contains an
invalid character.<br>
<br>
Regards,<br>
   Erik.<br>
<br>
<br>
Op 28-08-10 21:33, Grant Birchmeier schreef:
<blockquote
cite="mid:AANLkTik-kBZWWQ-3JVzaaXzZQE2S5aZa0Z0PKB4rKHYO@mail.gmail.com"
type="cite">Outside of some double-quotes, I'm pretty sure \\ is just
a junk token.<br>
<br>
<div class="gmail_quote">On Sat, Aug 28, 2010 at 2:26 PM, Erik van
Oosten <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:e.vanoosten@grons.nl">e.vanoosten@grons.nl</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Why
is that better? In *all* java code a backslash is represented by \\.<br>
<br>
Regards,<br>
  Erik.<br>
<br>
<br>
Op 27-08-10 23:50, Ceki Gülcü schreef:
<div>
<div class="h5"><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
Thanks David.<br>
<br>
On 27/08/2010 11:01 PM, David Balažic wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi!<br>
<br>
On page <a moz-do-not-send="true"
href="http://www.slf4j.org/faq.html#logging_performance"
target="_blank">http://www.slf4j.org/faq.html#logging_performance</a><br>
It says:<br>
Note that within Java code, the backslash cracacter needs to be written
as '\\'.<br>
<br>
Better:<br>
Note that within Java strings, the backslash character needs to be
written as '\\'.<br>
<br>
<br>
On <a moz-do-not-send="true" href="http://www.slf4j.org/manual.html"
target="_blank">http://www.slf4j.org/manual.html</a> :<br>
For example, the slf4j-log12-1.6.1.jar binding is bound at compile time
to use log4j.<br>
<br>
It should be slf4j-log4j12-1.6.1.jar , I guess.<br>
<br>
<br>
Regards,<br>
David Balažic<br>
<br>
</blockquote>
_______________________________________________<br>
slf4j-user mailing list<br>
<a moz-do-not-send="true" href="mailto:slf4j-user@qos.ch"
target="_blank">slf4j-user@qos.ch</a><br>
<a moz-do-not-send="true"
href="http://qos.ch/mailman/listinfo/slf4j-user" target="_blank">http://qos.ch/mailman/listinfo/slf4j-user</a><br>
</blockquote>
<br>
<br>
</div>
</div>
<font color="#888888">-- <br>
Erik van Oosten<br>
<a moz-do-not-send="true"
href="http://www.day-to-day-stuff.blogspot.com/" target="_blank">http://www.day-to-day-stuff.blogspot.com/</a></font>
<div>
<div class="h5"><br>
<br>
_______________________________________________<br>
slf4j-user mailing list<br>
<a moz-do-not-send="true" href="mailto:slf4j-user@qos.ch"
target="_blank">slf4j-user@qos.ch</a><br>
<a moz-do-not-send="true"
href="http://qos.ch/mailman/listinfo/slf4j-user" target="_blank">http://qos.ch/mailman/listinfo/slf4j-user</a></div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
slf4j-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:slf4j-user@qos.ch">slf4j-user@qos.ch</a>
<a class="moz-txt-link-freetext" href="http://qos.ch/mailman/listinfo/slf4j-user">http://qos.ch/mailman/listinfo/slf4j-user</a></pre>
</blockquote>
<br>
<pre class="moz-signature" cols="80">--
Sent from my SMTP compliant software
Erik van Oosten
<a class="moz-txt-link-freetext" href="http://day-to-day-stuff.blogspot.com/">http://day-to-day-stuff.blogspot.com/</a>
</pre>
</body>
</html>