Skip to content

Commit

Permalink
Update jakarta.tck:common to 11.0.0-RC7
Browse files Browse the repository at this point in the history
Fixes #2039

Signed-off-by: Scott M Stark <[email protected]>
  • Loading branch information
starksm64 committed Mar 6, 2025
1 parent ecbb4c6 commit 4e7957b
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 8 deletions.
2 changes: 1 addition & 1 deletion bom/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
<!-- The Arquillian protocol artifacts -->
<jakarta.tck.arquillian.version>11.0.0-RC2</jakarta.tck.arquillian.version>
<!-- The released version of tools/common -->
<jakarta.tck.common.version>11.0.0-RC6</jakarta.tck.common.version>
<jakarta.tck.common.version>11.0.0-RC7</jakarta.tck.common.version>
<!-- The released version of tools/signaturetest -->
<jakarta.tck.sigtest.version>11.0.0-RC8</jakarta.tck.sigtest.version>

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@
<!-- The Arquillian protocol artifacts -->
<jakarta.tck.arquillian.version>11.0.0-RC2</jakarta.tck.arquillian.version>
<!-- The released version of tools/common -->
<jakarta.tck.common.version>11.0.0-RC6</jakarta.tck.common.version>
<jakarta.tck.common.version>11.0.0-RC7</jakarta.tck.common.version>
<!-- The released version of tools/signaturetest -->
<jakarta.tck.sigtest.version>11.0.0-RC8</jakarta.tck.sigtest.version>
</properties>
Expand Down
4 changes: 4 additions & 0 deletions tcks/profiles/platform/xa/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
<groupId>jakarta.ejb</groupId>
<artifactId>jakarta.ejb-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.resource</groupId>
<artifactId>jakarta.resource-api</artifactId>
</dependency>
<dependency>
<groupId>jakarta.transaction</groupId>
<artifactId>jakarta.transaction-api</artifactId>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -157,8 +157,7 @@ public boolean insert(String tName, int key) {
TestUtil.logTrace("Inserted a row into the table " + tName);
} else {
// Prepare the new data entry in EIS
con2.insert((new Integer(key)).toString(),
(new Integer(key)).toString());
con2.insert(Integer.toString(key), Integer.toString(key));
TestUtil.logTrace("Inserted a row into the EIS ");
}
return true;
Expand Down Expand Up @@ -188,7 +187,7 @@ public void delete(String tName, int fromKey, int toKey) {
} else {
// Delete rows from EIS
for (int i = fromKey; i <= toKey; i++) {
con2.delete((new Integer(i)).toString());
con2.delete(Integer.toString(i));
}
TestUtil
.logTrace("Deleted row(s) from EIS " + fromKey + " thru " + toKey);
Expand Down Expand Up @@ -257,7 +256,7 @@ public Vector getResults(String tName) {
i = rs.getInt(1);
s = rs.getString(2);
s1 = rs.getString(3);
queryResults.addElement(new Integer(i));
queryResults.addElement(i);
queryResults.addElement(s);
queryResults.addElement(s1);
}
Expand Down Expand Up @@ -395,7 +394,7 @@ private void createTable2() {
try {
TestUtil.logMsg("Adding the EIS rows");
for (int i = 1; i <= dbSize1.intValue(); i++) {
con2.insert((new Integer(i)).toString(), (new Integer(i)).toString());
con2.insert(Integer.toString(i), Integer.toString(i));
}
} catch (Exception e) {
e.printStackTrace();
Expand Down
2 changes: 1 addition & 1 deletion tools/common/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

<groupId>jakarta.tck</groupId>
<artifactId>common</artifactId>
<version>11.0.0-SNAPSHOT</version>
<version>11.0.0-RC7</version>
<packaging>jar</packaging>

<name>TCK Tools Common</name>
Expand Down

0 comments on commit 4e7957b

Please sign in to comment.