mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
[performance] conditional LOG.trace
This commit is contained in:
@@ -699,7 +699,9 @@ public class DocumentImpl extends UserDataHolderBase implements DocumentEx {
|
||||
long newModificationStamp,
|
||||
int initialStartOffset,
|
||||
int initialOldLength) {
|
||||
LOG.trace("updating document " + this + ".\nNext string:'" + newString + "'\nOld string:'" + oldString + "'");
|
||||
if (LOG.isTraceEnabled()) {
|
||||
LOG.trace("updating document " + this + ".\nNext string:'" + newString + "'\nOld string:'" + oldString + "'");
|
||||
}
|
||||
|
||||
assertNotNestedModification();
|
||||
myChangeInProgress = true;
|
||||
|
||||
Reference in New Issue
Block a user