Skip to content

Commit cb077ff

Browse files
committed
Misc. docblock fixes and making Amenity#id an int
1 parent ba97838 commit cb077ff

2 files changed

Lines changed: 5 additions & 5 deletions

File tree

src/main/java/com/robinpowered/sdk/model/Amenity.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import org.joda.time.DateTime;
55

66
/**
7-
* An amenity that may be associated to a {@link Space}.
7+
* An amenity that may be associated with a {@link Space}.
88
*
99
* <p>
1010
* Amenities may be created or removed within an organization, though a default set of amenities is always present.
@@ -24,7 +24,7 @@ public class Amenity implements ApiResponseModel {
2424
*/
2525

2626
// Immutable
27-
private final Integer id;
27+
private final int id;
2828
private final Integer accountId;
2929
private final DateTime createdAt;
3030
private final DateTime updatedAt;
@@ -37,14 +37,14 @@ public class Amenity implements ApiResponseModel {
3737
* Methods
3838
*/
3939

40-
public Amenity(Integer id, Integer accountId, DateTime createdAt, DateTime updatedAt) {
40+
public Amenity(int id, Integer accountId, DateTime createdAt, DateTime updatedAt) {
4141
this.id = id;
4242
this.accountId = accountId;
4343
this.createdAt = createdAt;
4444
this.updatedAt = updatedAt;
4545
}
4646

47-
public Integer getId() {
47+
public int getId() {
4848
return id;
4949
}
5050

src/main/java/com/robinpowered/sdk/model/Calendar.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
* automatically be synced to the space.
1313
*
1414
* <p>
15-
* Spaces without calendars are considered "on demand" spaces are not able to be reserved.
15+
* Spaces without calendars are considered "on-demand" spaces are not able to be reserved.
1616
*/
1717
public class Calendar implements ApiResponseModel {
1818

0 commit comments

Comments
 (0)