Skip to content

Commit

Permalink
Place CONFIG_URLS_PROPERTY into the URLConfigurationProvider
Browse files Browse the repository at this point in the history
  • Loading branch information
derTobsch committed Jan 9, 2025
1 parent b8fb3d3 commit cb84183
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
*/
public interface ConfigurationProvider {

/**
* System property to define URLs to overriding jollyday configuration
* files.
*/
String CONFIG_URLS_PROPERTY = "de.focus_shift.jollyday.config.urls";

/**
* @return the configuration properties for jollyday.
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,11 @@
*/
class URLConfigurationProvider implements ConfigurationProvider {

/**
* System property to define URLs to overriding jollyday configuration files.
*/
static final String CONFIG_URLS_PROPERTY = "de.focus_shift.jollyday.config.urls";

private static final Logger LOG = LoggerFactory.getLogger(URLConfigurationProvider.class);

URLConfigurationProvider() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import java.util.Properties;

import static de.focus_shift.jollyday.core.configuration.ConfigurationProvider.CONFIG_URLS_PROPERTY;
import static de.focus_shift.jollyday.core.configuration.URLConfigurationProvider.CONFIG_URLS_PROPERTY;
import static org.assertj.core.api.Assertions.assertThat;

class URLConfigurationProviderTest {
Expand Down

0 comments on commit cb84183

Please sign in to comment.