Skip to content

Commit 1517942

Browse files
authored
Add coverage for Event class (#141)
Add coverage for Event class
1 parent 512fcd2 commit 1517942

3 files changed

Lines changed: 496 additions & 1 deletion

File tree

src/main/java/com/nylas/Event.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -327,7 +327,7 @@ public void clearParticipants() {
327327
* @return If the event is valid
328328
*/
329329
public boolean isValid() {
330-
return conferencing == null || conferencing.getAutocreate() == null || conferencing.getDetails() == null &&
330+
return conferencing == null || conferencing.getAutocreate() == null || conferencing.getDetails() == null &&
331331
(this.capacity == null || capacity == -1 || nullOrEmpty(this.participants) || this.participants.size() <= this.capacity);
332332
}
333333

0 commit comments

Comments
 (0)