Remove references to deprecated APIs
Change-Id: Ib351f4200a73a74eb405a280afd4bf90dc5d9dad
Showing
1 changed file
with
2 additions
and
2 deletions
| ... | @@ -77,12 +77,12 @@ public class CountersListCommand extends AbstractShellCommand { | ... | @@ -77,12 +77,12 @@ public class CountersListCommand extends AbstractShellCommand { |
| 77 | 77 | ||
| 78 | // Create a JSON node for partitioned database counter | 78 | // Create a JSON node for partitioned database counter |
| 79 | ObjectNode jsonPartitionedDatabaseCounters = mapper.createObjectNode(); | 79 | ObjectNode jsonPartitionedDatabaseCounters = mapper.createObjectNode(); |
| 80 | - jsonPartitionedDatabaseCounters.put("partitionedDatabaseCounters", | 80 | + jsonPartitionedDatabaseCounters.set("partitionedDatabaseCounters", |
| 81 | json(partitionedDbCounters)); | 81 | json(partitionedDbCounters)); |
| 82 | jsonCounters.add(jsonPartitionedDatabaseCounters); | 82 | jsonCounters.add(jsonPartitionedDatabaseCounters); |
| 83 | // Create a JSON node for in-memory database counter | 83 | // Create a JSON node for in-memory database counter |
| 84 | ObjectNode jsonInMemoryDatabseCounters = mapper.createObjectNode(); | 84 | ObjectNode jsonInMemoryDatabseCounters = mapper.createObjectNode(); |
| 85 | - jsonInMemoryDatabseCounters.put("inMemoryDatabaseCounters", | 85 | + jsonInMemoryDatabseCounters.set("inMemoryDatabaseCounters", |
| 86 | json(inMemoryDbCounters)); | 86 | json(inMemoryDbCounters)); |
| 87 | jsonCounters.add(jsonInMemoryDatabseCounters); | 87 | jsonCounters.add(jsonInMemoryDatabseCounters); |
| 88 | 88 | ... | ... |
-
Please register or login to post a comment