Skip to content

Commit

Permalink
extract default_ordinal to a constant to make it more obvious
Browse files Browse the repository at this point in the history
  • Loading branch information
struberg committed Feb 21, 2018
1 parent aa00738 commit d13ceef
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,6 +64,8 @@
*/
public interface ConfigSource {
String CONFIG_ORDINAL = "config_ordinal";
int DEFAULT_ORDINAL = 100;

/**
* Return the properties in this config source
* @return the map containing the properties in this config source
Expand Down Expand Up @@ -114,7 +116,7 @@ default int getOrdinal() {

}
}
return 100;
return DEFAULT_ORDINAL;
}

/**
Expand Down

0 comments on commit d13ceef

Please sign in to comment.