[squeak-dev] The Trunk: Network-dtl.168.mcz

commits at source.squeak.org commits at source.squeak.org
Sat Nov 7 21:07:57 UTC 2015


David T. Lewis uploaded a new version of Network to project The Trunk:
http://source.squeak.org/trunk/Network-dtl.168.mcz

==================== Summary ====================

Name: Network-dtl.168
Author: dtl
Time: 7 November 2015, 4:07:46.636 pm
UUID: 95e4b6a7-db6d-4b6b-bffa-345401015324
Ancestors: Network-ul.167

SocketAddress>>printOn: should handle the case of an inspector on an instance from a previous session that is no longer a valid socket address.

=============== Diff against Network-ul.167 ===============

Item was changed:
  ----- Method: SocketAddress>>printOn: (in category 'printing') -----
  printOn: aStream
  
+ 	[aStream
+ 			nextPutAll: self hostNumber;
+ 			nextPut: $(; nextPutAll: self hostName; nextPut: $);
+ 			nextPut: $,;
+ 			nextPutAll: self serviceNumber;
+ 			nextPut: $(; nextPutAll: self serviceName; nextPut: $)]
+ 		on: Error "e.g. inspector on address from a previous session"
+ 		do: [aStream nextPutAll: 'an invalid ';
+ 				nextPutAll: self class name;
+ 				nextPut: Character space.
+ 			^super printOn: aStream]!
- 	aStream
- 		nextPutAll: self hostNumber;
- 		nextPut: $(; nextPutAll: self hostName; nextPut: $);
- 		nextPut: $,;
- 		nextPutAll: self serviceNumber;
- 		nextPut: $(; nextPutAll: self serviceName; nextPut: $)!



More information about the Squeak-dev mailing list