1
0
Fork 0
mirror of https://github.com/pgpainless/pgpainless.git synced 2024-11-22 20:32:05 +01:00

VersionImpl: Fix outdated method names

This commit is contained in:
Paul Schaub 2023-04-17 16:22:54 +02:00
parent 003423a165
commit e465ae60a7
Signed by: vanitasvitae
GPG key ID: 62BEE9264BF17311
2 changed files with 6 additions and 5 deletions

View file

@ -66,7 +66,7 @@ public class VersionImpl implements Version {
}
@Override
public int getSopSpecVersionNumber() {
public int getSopSpecRevisionNumber() {
return SOP_VERSION;
}
@ -76,7 +76,8 @@ public class VersionImpl implements Version {
}
@Override
public String getSopSpecImplementationIncompletenessRemarks() {
public String getSopSpecImplementationRemarks() {
return null;
}
}

View file

@ -54,12 +54,12 @@ public class VersionTest {
@Test
public void testGetSopSpecVersion() {
boolean incomplete = sop.version().isSopSpecImplementationIncomplete();
int revisionNumber = sop.version().getSopSpecVersionNumber();
int revisionNumber = sop.version().getSopSpecRevisionNumber();
String revisionString = sop.version().getSopSpecRevisionString();
String revisionString = sop.version().getSopSpecRevisionName();
assertEquals("draft-dkg-openpgp-stateless-cli-" + String.format("%02d", revisionNumber), revisionString);
String incompletenessRemarks = sop.version().getSopSpecImplementationIncompletenessRemarks();
String incompletenessRemarks = sop.version().getSopSpecImplementationRemarks();
String fullSopSpecVersion = sop.version().getSopSpecVersion();
if (incomplete) {