mirror of
https://gitflic.ru/project/openide/openide.git
synced 2026-09-27 10:03:11 +07:00
diff: fix typo - do not report debug logging if it is disabled
GitOrigin-RevId: 55c952fbc2ed011372047dd47e6b18b9212ade51
This commit is contained in:
committed by
intellij-monorepo-bot
parent
26ad7df525
commit
235a53649a
@@ -61,7 +61,7 @@ public abstract class DiffViewerBase implements DiffViewer, DataProvider {
|
||||
@NotNull
|
||||
@Override
|
||||
public final FrameDiffTool.ToolbarComponents init() {
|
||||
if (LOG.isDebugEnabled() && getComponent().getWidth() <= 0 || getComponent().getHeight() <= 0) {
|
||||
if (LOG.isDebugEnabled() && (getComponent().getWidth() <= 0 || getComponent().getHeight() <= 0)) {
|
||||
LOG.warn("Diff shown for a hidden component, initial scroll position might be invalid", new Throwable());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user