You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using "!=" is fast and sufficient here because the only real case this should be skipping
is when we called log(String) or log(), which should not result in a template being created.
DO NOT replace this with a string instance which can be interned, or use equals() here,
since that could mistakenly treat other calls to log(String, Object...) incorrectly.
flogger/api/src/main/java/com/google/common/flogger/LogContext.java
Line 563 in 477d892
Strings should be compared with the equals() method, not == or !=.
The text was updated successfully, but these errors were encountered: