We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 03eff82 commit 25acd03Copy full SHA for 25acd03
1 file changed
google-http-client/src/main/java/com/google/api/client/util/GenericData.java
@@ -80,8 +80,8 @@ public final boolean containsKey(Object name) {
80
return false;
81
}
82
String fieldName = (String) name;
83
- FieldInfo fieldInfo = classInfo.getFieldInfo(fieldName);
84
- if (fieldInfo != null) {
+ boolean hasFieldInfo = classInfo.hasFieldInfo(fieldName);
+ if (hasFieldInfo) {
85
return true;
86
87
if (classInfo.getIgnoreCase()) {
0 commit comments