Skip to content

Commit

Permalink
Use semantic methods for collection access
Browse files Browse the repository at this point in the history
Co-authored-by: strawberriesandcheese <ulrike.herwig@student.hpi.de>
  • Loading branch information
SilvanVerhoeven and strawberriesandcheese committed Jul 1, 2020
1 parent e510896 commit e16bfb7
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ fromAuthorStamp: aString
tokens := aString findTokens: Character separators.
^ tokens size = 3
ifTrue: [| dateString timeString |
dateString := tokens at: 2.
timeString := tokens at: 3.
dateString := tokens second.
timeString := tokens third.
(dateString , ' ' , timeString) asTimeStamp]
ifFalse: [nil]
ifFalse: [nil]

0 comments on commit e16bfb7

Please sign in to comment.