mirror of
https://github.com/pgpainless/pgpainless.git
synced 2025-09-09 18:29:39 +02:00
Update SOP version in VersionImpl
This commit is contained in:
parent
334147c840
commit
2d379f6fc8
1 changed files with 2 additions and 2 deletions
|
@ -16,7 +16,7 @@ import sop.operation.Version
|
||||||
class VersionImpl(private val api: PGPainless) : Version {
|
class VersionImpl(private val api: PGPainless) : Version {
|
||||||
|
|
||||||
companion object {
|
companion object {
|
||||||
const val SOP_VERSION = 10
|
const val SOP_VERSION = 11
|
||||||
const val SOPV_VERSION = "1.0"
|
const val SOPV_VERSION = "1.0"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -24,7 +24,7 @@ class VersionImpl(private val api: PGPainless) : Version {
|
||||||
|
|
||||||
override fun getExtendedVersion(): String {
|
override fun getExtendedVersion(): String {
|
||||||
val bcVersion =
|
val bcVersion =
|
||||||
String.format(Locale.US, "Bouncy Castle %.2f", BouncyCastleProvider().version)
|
String.format(Locale.US, "Bouncy Castle %.2f", BouncyCastleProvider().versionStr.toDouble())
|
||||||
val specVersion = String.format("%02d", SOP_VERSION)
|
val specVersion = String.format("%02d", SOP_VERSION)
|
||||||
return """${getName()} ${getVersion()}
|
return """${getName()} ${getVersion()}
|
||||||
https://codeberg.org/PGPainless/pgpainless/src/branch/main/pgpainless-sop
|
https://codeberg.org/PGPainless/pgpainless/src/branch/main/pgpainless-sop
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue