Skip to content

Commit 56ea5f4

Browse files
author
tseyzer
committed
recurrence integer fix
1 parent 7e612cb commit 56ea5f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

  • src/main/java/microsoft/exchange/webservices/data/property/complex/recurrence/pattern

src/main/java/microsoft/exchange/webservices/data/property/complex/recurrence/pattern/Recurrence.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
554554
return true;
555555
} else {
556556
if (reader.getLocalName().equals(XmlElementNames.DayOfMonth)) {
557-
this.dayOfMonth = reader.readElementValue(int.class);
557+
this.dayOfMonth = reader.readElementValue(Integer.class);
558558
return true;
559559
} else {
560560
return false;
@@ -583,7 +583,7 @@ public void internalValidate() throws Exception {
583583
* @throws ServiceValidationException the service validation exception
584584
*/
585585
public int getDayOfMonth() throws ServiceValidationException {
586-
return this.getFieldValueOrThrowIfNull(int.class, this.dayOfMonth,
586+
return this.getFieldValueOrThrowIfNull(Integer.class, this.dayOfMonth,
587587
"DayOfMonth");
588588

589589
}
@@ -1367,7 +1367,7 @@ public boolean tryReadElementFromXml(EwsServiceXmlReader reader)
13671367
} else {
13681368
if (reader.getLocalName().equals(XmlElementNames.DayOfMonth)) {
13691369

1370-
this.dayOfMonth = reader.readElementValue(int.class);
1370+
this.dayOfMonth = reader.readElementValue(Integer.class);
13711371
return true;
13721372
} else if (reader.getLocalName().equals(XmlElementNames.Month)) {
13731373

@@ -1432,7 +1432,7 @@ public void setMonth(Month value) {
14321432
*/
14331433
public int getDayOfMonth() throws ServiceValidationException {
14341434

1435-
return this.getFieldValueOrThrowIfNull(int.class, this.dayOfMonth,
1435+
return this.getFieldValueOrThrowIfNull(Integer.class, this.dayOfMonth,
14361436
"DayOfMonth");
14371437

14381438
}

0 commit comments

Comments
 (0)