Skip to content

Commit 52bdc57

Browse files
author
Caitlin Bales (MSFT)
committed
Use Map instead of HashMap
1 parent 5cc3ea7 commit 52bdc57

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/com/microsoft/graph/serializer/DefaultSerializer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ private JsonObject getChildAdditionalData(IJsonBackedObject serializableObject,
158158
Iterator<Entry<String, Object>> it = serializableChildren.entrySet().iterator();
159159

160160
while (it.hasNext()) {
161-
HashMap.Entry<String, Object> pair = (HashMap.Entry<String, Object>)it.next();
161+
Map.Entry<String, Object> pair = (Map.Entry<String, Object>)it.next();
162162
Object child = pair.getValue();
163163

164164
// If the item is a valid Graph object, add its additional data

0 commit comments

Comments
 (0)