Skip to content

Commit

Permalink
fix stupid copy/paste error
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Fesenmeyer <daniel.fesenmeyer@bosch-si.com>
  • Loading branch information
danielFesenmeyer committed Apr 12, 2018
1 parent a129347 commit 28a35d1
Showing 1 changed file with 2 additions and 2 deletions.
Expand Up @@ -19,7 +19,7 @@
public final class HttpConfigReader extends AbstractConfigReader {

private static final String PATH_HOSTNAME = "hostname";
private static final String PATH_INTERVAL = "interval";
private static final String PATH_PORT = "port";

HttpConfigReader(final Config config) {
super(config);
Expand All @@ -41,7 +41,7 @@ public String getHostname() {
* @throws com.typesafe.config.ConfigException.Missing if the port number is missing.
*/
public int getPort() {
return config.getInt(PATH_INTERVAL);
return config.getInt(PATH_PORT);
}


Expand Down

0 comments on commit 28a35d1

Please sign in to comment.