smalltalk
/
osmo-st-gsm
Archived
1
0
Fork 0

GSM48; Simplify code and remove T hack from it.

This commit is contained in:
Holger Hans Peter Freyther 2010-12-02 00:05:01 +01:00
parent 730d9612d8
commit b36b8d05a7
1 changed files with 1 additions and 7 deletions

View File

@ -121,13 +121,7 @@ GSM48IE subclass: GSM48SimpleData [
GSM48SimpleData class >> parseFrom: aByteArray [
| dat |
self length = 0
ifTrue: [
dat := ByteArray new.
]
ifFalse: [
dat := aByteArray copyFrom: 1 to: self length.
].
dat := aByteArray copyFrom: 1 to: self length.
^ self new
data: dat;