Skip to content

Commit

Permalink
Replace abbreviations
Browse files Browse the repository at this point in the history
Signed-off-by: Piotrek Zygielo <[email protected]>
  • Loading branch information
pzygielo committed Oct 23, 2020
1 parent 0d455a2 commit c3e90f7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,11 +29,11 @@ void testJMSVersionConsistency() throws JMSException {
ConnectionImpl stubCon = makeConnectionImpl();
ConnectionMetaDataImpl cmdi = new ConnectionMetaDataImpl(stubCon);

int maj = cmdi.getJMSMajorVersion();
int min = cmdi.getJMSMinorVersion();
String ver = cmdi.getJMSVersion();
int majorVersion = cmdi.getJMSMajorVersion();
int minorVersion = cmdi.getJMSMinorVersion();
String version = cmdi.getJMSVersion();

assertEquals(String.format("%d.%d", maj, min), ver);
assertEquals(String.format("%d.%d", majorVersion, minorVersion), version);
}

private static ConnectionImpl makeConnectionImpl() throws JMSException {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,11 +27,11 @@ class ConnectionMetaDataTest {
void testJMSVersionConsistency() throws JMSException {
ConnectionMetaData cmdi = makeConnectionMetaData();

int maj = cmdi.getJMSMajorVersion();
int min = cmdi.getJMSMinorVersion();
String ver = cmdi.getJMSVersion();
int majorVersion = cmdi.getJMSMajorVersion();
int minorVersion = cmdi.getJMSMinorVersion();
String version = cmdi.getJMSVersion();

assertEquals(String.format("%d.%d", maj, min), ver);
assertEquals(String.format("%d.%d", majorVersion, minorVersion), version);
}

private static ConnectionMetaData makeConnectionMetaData() {
Expand Down

0 comments on commit c3e90f7

Please sign in to comment.