Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 0 additions & 51 deletions source/RecurringEvents-Engine/REOccurrenceRegistration.class.st

This file was deleted.

22 changes: 1 addition & 21 deletions source/RecurringEvents-Engine/RESchedule.class.st
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@ Class {
#superclass : 'Object',
#instVars : [
'itemsSemaphore',
'activeItem',
'origin'
'activeItem'
],
#category : 'RecurringEvents-Engine',
#package : 'RecurringEvents-Engine'
Expand All @@ -15,15 +14,6 @@ RESchedule >> addItem: item [
Transcript show: 'adding element: ' , item asString; cr.
]

{ #category : 'ston' }
RESchedule >> asOccurrenceRegistration [
"The STON payload that crosses from this schedule-holder to the (local or remote)
scheduler: just the origin identity and the single next occurrence across all items -
never the items/temporal expressions themselves. Answers nil if nothing is scheduled."
self nextOccurrence ifNil: [ ^ nil ].
^ REOccurrenceRegistration origin: origin nextOccurrence: self nextOccurrence
]

{ #category : 'initialization' }
RESchedule >> initialize [
super initialize.
Expand Down Expand Up @@ -88,16 +78,6 @@ RESchedule >> on: dateAndTime sendMessage: selector to: object [
selector: selector ))
]

{ #category : 'accessing' }
RESchedule >> origin [
^ origin
]

{ #category : 'accessing' }
RESchedule >> origin: anObject [
origin := anObject
]

{ #category : 'enumerating' }
RESchedule >> removeItem: item [
Transcript show: 'removing item: ' , item asString; cr.
Expand Down
37 changes: 0 additions & 37 deletions source/RecurringEvents-Tests/REOccurrenceRegistrationTest.class.st

This file was deleted.

Loading