Skip to content

Commit

Permalink
fit: lint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
swalchemist committed Feb 17, 2024
1 parent a28e8e5 commit eddc909
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package org.cloudfoundry.credhub.exceptions
import org.cloudfoundry.credhub.ErrorMessages

class InvalidAlternateNameCertificateException @JvmOverloads
constructor(messageCode: String = ErrorMessages.INVALID_ALTERNATE_NAME, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode) {
}
constructor(messageCode: String = ErrorMessages.INVALID_ALTERNATE_NAME, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)
Original file line number Diff line number Diff line change
Expand Up @@ -2,5 +2,5 @@ package org.cloudfoundry.credhub.exceptions

import org.cloudfoundry.credhub.ErrorMessages

open class InvalidDurationCertificateException @JvmOverloads constructor(messageCode: String = ErrorMessages.INVALID_DURATION, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode)
open class InvalidDurationCertificateException @JvmOverloads constructor(messageCode: String = ErrorMessages.INVALID_DURATION, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package org.cloudfoundry.credhub.exceptions
import org.cloudfoundry.credhub.ErrorMessages

class InvalidKeyLengthCertificateException @JvmOverloads
constructor(messageCode: String = ErrorMessages.INVALID_KEY_LENGTH, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode) {
}
constructor(messageCode: String = ErrorMessages.INVALID_KEY_LENGTH, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package org.cloudfoundry.credhub.exceptions
import org.cloudfoundry.credhub.ErrorMessages

class MissingSigningCACertificateException @JvmOverloads
constructor(messageCode: String = ErrorMessages.MISSING_SIGNING_CA, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode) {
}
constructor(messageCode: String = ErrorMessages.MISSING_SIGNING_CA, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package org.cloudfoundry.credhub.exceptions
import org.cloudfoundry.credhub.ErrorMessages

class NoSubjectCertificateException @JvmOverloads
constructor(messageCode: String = ErrorMessages.MISSING_CERTIFICATE_PARAMETERS, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode) {
}
constructor(messageCode: String = ErrorMessages.MISSING_CERTIFICATE_PARAMETERS, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,5 @@ package org.cloudfoundry.credhub.exceptions
import org.cloudfoundry.credhub.ErrorMessages

class SelfSignedCACertificateException @JvmOverloads
constructor(messageCode: String = ErrorMessages.CA_AND_SELF_SIGN, parameters: Array<Any> = arrayOf())
: ParameterizedValidationException(messageCode) {
}
constructor(messageCode: String = ErrorMessages.CA_AND_SELF_SIGN, parameters: Array<Any> = arrayOf()) :
ParameterizedValidationException(messageCode)

0 comments on commit eddc909

Please sign in to comment.