Skip to content

Commit

Permalink
update Java version
Browse files Browse the repository at this point in the history
  • Loading branch information
peteroupc committed Dec 24, 2024
1 parent f9d6c3a commit db34576
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/java/com/upokecenter/test/QueryStringHelper.java
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ private static CBORObject ConvertListsToCBOR(List<Object> dict) {
for (int i = 0; i < dict.size(); ++i) {
Object di = dict.get(i);
Map<String, Object> value = ((di instanceof Map<?, ?>) ? (Map<String, Object>)di : null);
// A list contains only indexes 0, 1, 2, and so on,
// A list contains only integer indices,
// with no gaps.
if (IsList(value)) {
List<Object> newList = ConvertToList(value);
Expand All @@ -358,7 +358,7 @@ private static CBORObject ConvertListsToCBOR(Map<String, Object>
for (String key : new ArrayList<String>(dict.keySet())) {
Object di = dict.get(key);
Map<String, Object> value = ((di instanceof Map<?, ?>) ? (Map<String, Object>)di : null);
// A list contains only indexes 0, 1, 2, and so on,
// A list contains only integer indices,
// with no gaps.
if (IsList(value)) {
List<Object> newList = ConvertToList(value);
Expand Down

0 comments on commit db34576

Please sign in to comment.