Java-Compiler-String-OptimierungJava

Java-Forum
Guest
 Java-Compiler-String-Optimierung

Post by Guest »

Es scheint mir vernünftig, dass der Compiler so etwas annehmen wird:

Code: Select all

log.info("A really long logger message that is kind of a pain in the tucous " +
"and violates formatting standards by making the line to long");
und kompilieren Sie die beiden Strings zu einem. Ich bin mir ziemlich sicher, dass das wahr ist, aber ich würde gerne
meine Enten hintereinander haben, falls jemand das zur Sprache bringt.

Quick Reply

Change Text Case: 
   
  • Similar Topics
    Replies
    Views
    Last post