[Java. Code Formatting] Clone myOldVersion in JavaCodeStyleSettings

IDEA-110857

GitOrigin-RevId: 9ae34fdaf637c98409ec02be9e0d1e3616ea748b
This commit is contained in:
Georgii Ustinov
2024-07-12 13:42:52 +03:00
committed by intellij-monorepo-bot
parent 758638cabb
commit afe7dce9e5

View File

@@ -422,6 +422,7 @@ public class JavaCodeStyleSettings extends CustomCodeStyleSettings implements Im
cloned.IMPORT_LAYOUT_TABLE = new PackageEntryTable();
cloned.IMPORT_LAYOUT_TABLE.copyFrom(IMPORT_LAYOUT_TABLE);
cloned.myVersion = myVersion;
cloned.myOldVersion = myOldVersion;
cloned.myIsInitialized = myIsInitialized;
return cloned;
}