You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I want to propose a new rule, which reports any usage of API call SlingSettingsService.getRunModes().
In AEM projects, every dependency to a specific environment must be solved by creating a runmode-aware OSGI configuration, which will be picked up correctly, and without any need to specify this in the application code.
That means, that any usage of the above mentioned call is not necessary and should be considered as Design Smell.
The text was updated successfully, but these errors were encountered:
I want to propose a new rule, which reports any usage of API call
SlingSettingsService.getRunModes()
.In AEM projects, every dependency to a specific environment must be solved by creating a runmode-aware OSGI configuration, which will be picked up correctly, and without any need to specify this in the application code.
That means, that any usage of the above mentioned call is not necessary and should be considered as Design Smell.
The text was updated successfully, but these errors were encountered: