private void ensureOldSettingsLoaded() { if (!myConverted) { final OldFacetDetectionExcludesConfiguration oldConfiguration = OldFacetDetectionExcludesConfiguration.getInstance(myProject); final ExcludesConfigurationState oldState = oldConfiguration.convert(); if (oldState != null) { doLoadState(oldState); } } }
private void markAsConverted() { myConverted = true; OldFacetDetectionExcludesConfiguration.getInstance(myProject).loadState(null); }