Skip to content

Commit

Permalink
#23507 Avoid confusing compiler by the java.lang.Record
Browse files Browse the repository at this point in the history
  • Loading branch information
dmatej committed Mar 3, 2022
1 parent 7c30041 commit fce1243
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public int getCoffeeCount() {
iSpec.setFunctionName("COUNTCOFFEE");
RecordFactory rf = cf.getRecordFactory();
IndexedRecord iRec = rf.createIndexedRecord("InputRecord");
Record oRec = ix.execute(iSpec, iRec);
jakarta.resource.cci.Record oRec = ix.execute(iSpec, iRec);
Iterator iterator = ((IndexedRecord)oRec).iterator();
while(iterator.hasNext()) {
Object obj = iterator.next();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public int getCoffeeCount() {
iSpec.setFunctionName("COUNTCOFFEE");
RecordFactory rf = cf.getRecordFactory();
IndexedRecord iRec = rf.createIndexedRecord("InputRecord");
Record oRec = ix.execute(iSpec, iRec);
jakarta.resource.cci.Record oRec = ix.execute(iSpec, iRec);
Iterator iterator = ((IndexedRecord)oRec).iterator();
while(iterator.hasNext()) {
Object obj = iterator.next();
Expand Down

0 comments on commit fce1243

Please sign in to comment.