misc: Fix warnings reported by the code critics of Pharo
This commit is contained in:
parent
5af90bdfd8
commit
a0257331f3
|
@ -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: [
|
||||
|
|
|
@ -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.
|
||||
]
|
||||
|
|
|
@ -31,7 +31,7 @@ OsmoAppConnection subclass: OsmoCtrlConnection [
|
|||
]
|
||||
|
||||
initializeDispatcher [
|
||||
super dispatcher.
|
||||
super initializeDispatcher.
|
||||
dispatcher
|
||||
addHandler: IPAConstants protocolOsmoCTRL
|
||||
on: self with: #handleCTRL:.
|
||||
|
|
Reference in New Issue