Skip to content

Commit

Permalink
Small fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dragutin-nav committed Mar 14, 2024
1 parent 9b5a796 commit 881666b
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ private static Oyeblikksbilde mapOyeblikksbilde(ResultSet rs, int row) {
return new Oyeblikksbilde()
.setVedtakId(rs.getLong(VEDTAK_ID))
.setOyeblikksbildeType(valueOf(OyeblikksbildeType.class, rs.getString(OYEBLIKKSBILDE_TYPE)))
.setJson(rs.getString(JSON).length() > 50 ? rs.getString(JSON) : ingenData)
.setJson(rs.getString(JSON) != null && rs.getString(JSON).length() > 50 ? rs.getString(JSON) : ingenData)
.setJournalfort(rs.getString(DOKUMENT_ID) != null && !rs.getString(DOKUMENT_ID).isEmpty());
}

Expand Down

0 comments on commit 881666b

Please sign in to comment.