Skip to content

Commit 9286f2e

Browse files
rozzaCopilot
andauthored
Update driver-sync/src/test/functional/com/mongodb/client/unified/Entities.java
Co-authored-by: Copilot <[email protected]>
1 parent 79d435e commit 9286f2e

File tree

1 file changed

+4
-4
lines changed
  • driver-sync/src/test/functional/com/mongodb/client/unified

1 file changed

+4
-4
lines changed

driver-sync/src/test/functional/com/mongodb/client/unified/Entities.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -617,15 +617,15 @@ private void initClient(final BsonDocument entity, final String id,
617617
break;
618618
case "schemaMap":
619619
Map<String, BsonDocument> schemaMap = new HashMap<>();
620-
for (Map.Entry<String, BsonValue> entries : entry.getValue().asDocument().entrySet()) {
621-
schemaMap.put(entries.getKey(), entries.getValue().asDocument());
620+
for (Map.Entry<String, BsonValue> schemaEntry : entry.getValue().asDocument().entrySet()) {
621+
schemaMap.put(schemaEntry.getKey(), schemaEntry.getValue().asDocument());
622622
}
623623
builder.schemaMap(schemaMap);
624624
break;
625625
case "encryptedFieldsMap":
626626
Map<String, BsonDocument> encryptedFieldsMap = new HashMap<>();
627-
for (Map.Entry<String, BsonValue> entries : entry.getValue().asDocument().entrySet()) {
628-
encryptedFieldsMap.put(entries.getKey(), entries.getValue().asDocument());
627+
for (Map.Entry<String, BsonValue> encryptedEntry : entry.getValue().asDocument().entrySet()) {
628+
encryptedFieldsMap.put(encryptedEntry.getKey(), encryptedEntry.getValue().asDocument());
629629
}
630630
builder.encryptedFieldsMap(encryptedFieldsMap);
631631
break;

0 commit comments

Comments
 (0)