Java: avoid changing code style api for import setting (IJ-CR-147745)

(cherry picked from commit b6d8223525eabd52a7973ef10927403063b3b89a)

GitOrigin-RevId: 19da9f718812ff0f553d5363cd2b5ce6724e7f49
This commit is contained in:
Bas Leijdekkers
2024-10-25 13:14:09 +02:00
committed by intellij-monorepo-bot
parent 2ec44412eb
commit 2ce2af7f8e
7 changed files with 27 additions and 17 deletions

View File

@@ -291,12 +291,10 @@ public class JavaCodeStyleSettings extends CustomCodeStyleSettings implements Im
LAYOUT_STATIC_IMPORTS_SEPARATELY = value;
}
@Override
public boolean isLayoutOnDemandImportFromSamePackageFirst() {
return LAYOUT_ON_DEMAND_IMPORT_FROM_SAME_PACKAGE_FIRST;
}
@Override
public void setLayoutOnDemandImportFromSamePackageFirst(boolean value) {
this.LAYOUT_ON_DEMAND_IMPORT_FROM_SAME_PACKAGE_FIRST = value;
}