Skip to content

Commit 73091ba

Browse files
author
Nakul Sabharwal
committed
Rawtype iterator fixed using <?>.
1 parent b4e92cb commit 73091ba

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ public static EnumSet<?> deserialize(Type type, String jsonStrToDeserialize) {
6464
public static JsonPrimitive serialize(EnumSet<?> src) {
6565
String serializedString = "";
6666

67-
Iterator i = src.iterator();
67+
Iterator<?> i = src.iterator();
6868
while (i.hasNext()) {
6969
serializedString += i.next().toString() + ",";
7070
}

0 commit comments

Comments
 (0)