From a0257331f3c602e61c7584b8295e5aa2f58c910c Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Mon, 1 Apr 2013 09:51:02 +0200 Subject: misc: Fix warnings reported by the code critics of Pharo --- core/MessageStructure.st | 2 +- osmo/OsmoAppConnection.st | 4 ++++ osmo/OsmoCtrlConnection.st | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/core/MessageStructure.st b/core/MessageStructure.st index 65a9980..e62a927 100644 --- a/core/MessageStructure.st +++ b/core/MessageStructure.st @@ -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: [ diff --git a/osmo/OsmoAppConnection.st b/osmo/OsmoAppConnection.st index 92993a8..cf789a4 100644 --- a/osmo/OsmoAppConnection.st +++ b/osmo/OsmoAppConnection.st @@ -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. ] diff --git a/osmo/OsmoCtrlConnection.st b/osmo/OsmoCtrlConnection.st index cd74053..29fbaf9 100644 --- a/osmo/OsmoCtrlConnection.st +++ b/osmo/OsmoCtrlConnection.st @@ -31,7 +31,7 @@ OsmoAppConnection subclass: OsmoCtrlConnection [ ] initializeDispatcher [ - super dispatcher. + super initializeDispatcher. dispatcher addHandler: IPAConstants protocolOsmoCTRL on: self with: #handleCTRL:. -- cgit v1.2.3