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:
parent
003423a165
commit
e465ae60a7
2 changed files with 6 additions and 5 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in a new issue