Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Signed-off-by: Richard Kosegi <richard.kosegi@gmail.com>
  • Loading branch information
rkosegi committed Jun 10, 2022
1 parent 3190a96 commit 2d88663
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions src/main/java/cloud/dnation/jenkins/plugins/hetzner/Helper.java
Original file line number Diff line number Diff line change
Expand Up @@ -74,17 +74,6 @@ public static String getSSHPublicKeyFromPrivate(String privateKey, @Nullable Str
return SSH_RSA + " " + Base64.getEncoder().encodeToString(bos.toByteArray());
}

/**
* Get integer value of system property or default value if no such property exists.
*
* @param propName name of property to get
* @param defaultValue default value to use if property is not defined
* @return integer value of property
*/
public static int getIntPropOrDefault(String propName, int defaultValue) {
return Integer.parseInt(System.getProperty(propName, String.valueOf(defaultValue)));
}

/**
* Check if given string could possibly be label expression.
*
Expand Down

0 comments on commit 2d88663

Please sign in to comment.