Skip to content

Commit aaa28b3

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

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
@@ -481,7 +481,7 @@ private <T> List<T> addToList(T element, List<T> defaultList) {
481481
}
482482
}
483483

484-
private <K,V> Map<T,V> addToMap(K key, V value, Map<K,V> defaultMap) {
484+
private <K,V> Map<K,V> addToMap(K key, V value, Map<K,V> defaultMap) {
485485
if (defaultMap != null) {
486486
defaultMap.put(key, value);
487487
return defaultMap;

0 commit comments

Comments
 (0)