-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #943 from woowacourse-teams/develop
Release 1.6.3
- Loading branch information
Showing
35 changed files
with
330 additions
and
474 deletions.
There are no files selected for viewing
49 changes: 0 additions & 49 deletions
49
...teamby/teambyteam/feed/domain/notification/schedulenotification/ScheduleNotification.java
This file was deleted.
Oops, something went wrong.
53 changes: 0 additions & 53 deletions
53
...m/feed/domain/notification/schedulenotification/ScheduleNotificationContentGenerator.java
This file was deleted.
Oops, something went wrong.
44 changes: 0 additions & 44 deletions
44
...teambyteam/feed/domain/notification/schedulenotification/ScheduleNotificationFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
15 changes: 3 additions & 12 deletions
15
...nd/src/main/java/team/teamby/teambyteam/icalendar/domain/ical4j/ScheduleUidGenerator.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,23 +1,14 @@ | ||
package team.teamby.teambyteam.icalendar.domain.ical4j; | ||
|
||
import net.fortuna.ical4j.model.property.Uid; | ||
import net.fortuna.ical4j.util.UidGenerator; | ||
import team.teamby.teambyteam.schedule.domain.Schedule; | ||
|
||
public class ScheduleUidGenerator implements UidGenerator { | ||
public class ScheduleUidGenerator { | ||
|
||
private static final String DELIMITER = "-"; | ||
|
||
private final Long teamPlaceId; | ||
private final Long scheduleId; | ||
public ScheduleUidGenerator(final Schedule schedule) { | ||
this.teamPlaceId = schedule.getTeamPlaceId(); | ||
this.scheduleId = schedule.getId(); | ||
} | ||
|
||
@Override | ||
public Uid generateUid() { | ||
final String uidString = String.join(DELIMITER, String.valueOf(teamPlaceId), String.valueOf(scheduleId)); | ||
public Uid generateUid(final Schedule schedule) { | ||
final String uidString = String.join(DELIMITER, String.valueOf(schedule.getTeamPlaceId()), String.valueOf(schedule.getId())); | ||
return new Uid(uidString); | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.