Skip to content

Commit 0fddcce

Browse files
author
Jens Claes
committed
Fix some formatting.
1 parent 9b73ac7 commit 0fddcce

File tree

2 files changed

+16
-9
lines changed

2 files changed

+16
-9
lines changed

library/src/main/java/com/alamkanak/weekview/WeekView.java

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1795,16 +1795,19 @@ public void setVerticalFlingEnabled(boolean enabled) {
17951795
}
17961796

17971797
/**
1798-
* Get the height of AllDay-events
1799-
* @return Height of AllDay-events
1798+
* Get the height of AllDay-events.
1799+
* @return Height of AllDay-events.
18001800
*/
1801-
public int getAllDayEventHeight(){ return mAllDayEventHeight; }
1801+
public int getAllDayEventHeight() {
1802+
return mAllDayEventHeight;
1803+
}
18021804

18031805
/**
1804-
* Set the height of AllDay-events
1805-
* @param height
1806+
* Set the height of AllDay-events.
18061807
*/
1807-
public void setAllDayEventHeight(int height){ mAllDayEventHeight = height; }
1808+
public void setAllDayEventHeight(int height) {
1809+
mAllDayEventHeight = height;
1810+
}
18081811

18091812
/////////////////////////////////////////////////////////////////
18101813
//

library/src/main/java/com/alamkanak/weekview/WeekViewEvent.java

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ public WeekViewEvent(long id, String name, int startYear, int startMonth, int st
6161
* @param location The location of the event.
6262
* @param startTime The time when the event starts.
6363
* @param endTime The time when the event ends.
64-
* @param allDay Is the event an all day event
64+
* @param allDay Is the event an all day event.
6565
*/
6666
public WeekViewEvent(long id, String name, String location, Calendar startTime, Calendar endTime, boolean allDay) {
6767
this.mId = id;
@@ -136,9 +136,13 @@ public void setColor(int color) {
136136
this.mColor = color;
137137
}
138138

139-
public boolean isAllDay() { return mAllDay;}
139+
public boolean isAllDay() {
140+
return mAllDay;
141+
}
140142

141-
public void setAllDay(boolean allDay) { this.mAllDay = allDay;}
143+
public void setAllDay(boolean allDay) {
144+
this.mAllDay = allDay;
145+
}
142146

143147
public long getId() {
144148
return mId;

0 commit comments

Comments
 (0)