Skip to content

Commit 7cb6fb1

Browse files
committed
[issue#336] Fix a generic type mismatch
1 parent 61de103 commit 7cb6fb1

File tree

1 file changed

+1
-1
lines changed
  • src/main/java/com/sendgrid/helpers/mail

1 file changed

+1
-1
lines changed

src/main/java/com/sendgrid/helpers/mail/Mail.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -486,7 +486,7 @@ private <K,V> Map<T,V> addToMap(K key, V value, Map<K,V> defaultMap) {
486486
defaultMap.put(key, value);
487487
return defaultMap;
488488
} else {
489-
Map<T,V> map = new HashMap<K,V>();
489+
Map<K,V> map = new HashMap<K,V>();
490490
map.put(key, value);
491491
return map;
492492
}

0 commit comments

Comments
 (0)