1
0
Fork 0

misc: Fix warnings reported by the code critics of Pharo

This commit is contained in:
Holger Hans Peter Freyther 2013-04-01 09:51:02 +02:00
parent 5af90bdfd8
commit a0257331f3
3 changed files with 6 additions and 2 deletions

View File

@ -353,7 +353,7 @@ Object subclass: MSGField [
aLength < self octalLength ifTrue: [
^ self error:
('The data is too short. <1p> < <2p>'
expandMacrosWith aLength with: self octalLength).
expandMacrosWith: aLength with: self octalLength).
].
self maxLength ifNotNil: [
aLength > self maxLength ifTrue: [

View File

@ -91,6 +91,10 @@ TODO: re-use the IPADispatcher across connections.'>
muxer nextPut: aData with: IPAConstants protocolOsmoCTRL
]
nextPut: aData with: aConstant [
muxer nextPut: aData with: aConstant
]
token: aToken [
token := aToken.
]

View File

@ -31,7 +31,7 @@ OsmoAppConnection subclass: OsmoCtrlConnection [
]
initializeDispatcher [
super dispatcher.
super initializeDispatcher.
dispatcher
addHandler: IPAConstants protocolOsmoCTRL
on: self with: #handleCTRL:.