diff --git a/src/main/java/cloud/dnation/jenkins/plugins/hetzner/Helper.java b/src/main/java/cloud/dnation/jenkins/plugins/hetzner/Helper.java index 1b4c475..337bba1 100644 --- a/src/main/java/cloud/dnation/jenkins/plugins/hetzner/Helper.java +++ b/src/main/java/cloud/dnation/jenkins/plugins/hetzner/Helper.java @@ -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. *