Permalink
Browse files

Handle potential missing DTSTART property

(cherry picked from commit 362f3f9)
  • Loading branch information...
benfortuna committed Jul 4, 2016
1 parent f6bc5a5 commit c4fbee15332dd9600504d40f6734f164db1659d6
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/main/java/net/fortuna/ical4j/model/component/Observance.java
@@ -166,7 +166,7 @@ public final Date getLatestOnset(final Date date) {
// XXX: is this correct?
return null;
} catch (ConstraintViolationException e) {
- Log log = LogFactory.getLog(Observance.class);
+ Logger log = LoggerFactory.getLogger(Observance.class);
log.error("Unexpected error calculating initial onset", e);
// XXX: is this correct?
return null;

0 comments on commit c4fbee1

Please sign in to comment.