Skip to content

Commit

Permalink
Merge branch 'main' into dependabot/github_actions/codecov/codecov-ac…
Browse files Browse the repository at this point in the history
…tion-4.3.1
  • Loading branch information
poovamraj authored May 8, 2024
2 parents 8c98589 + 038f66a commit dc8bfb0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public T read(JsonReader in) throws IOException {

Field[] fields = pojo.getClass().getDeclaredFields();
for (Field f : fields) {
if (f.getAnnotation(JsonRequired.class) != null) {
if (f != null && f.getAnnotation(JsonRequired.class) != null) {
try {
f.setAccessible(true);
if (f.get(pojo) == null) {
Expand Down

0 comments on commit dc8bfb0

Please sign in to comment.