The Trunk: 60Deprecated-pre.28.mcz

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

The Trunk: 60Deprecated-pre.28.mcz

commits-2
Patrick Rein uploaded a new version of 60Deprecated to project The Trunk:
http://source.squeak.org/trunk/60Deprecated-pre.28.mcz

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

Name: 60Deprecated-pre.28
Author: pre
Time: 11 December 2018, 3:32:24.564299 pm
UUID: 199d307d-7685-41ef-b09a-8b270897feca
Ancestors: 60Deprecated-mt.27

Deprecating a method which was already deprecated before but not in a deprecated package.

=============== Diff against 60Deprecated-mt.27 ===============

Item was added:
+ ----- Method: DirectoryEntry class>>name:creationTime:modificationTime:isDirectory:fileSize: (in category '*60Deprecated-Files-Directories') -----
+ name: name0  creationTime: creationTime  modificationTime: modificationTime   isDirectory: isDirectory  fileSize: fileSize
+ "This is the legacy creation method we are trying to phase out.  Please use #directory:  name:  creationTime:  modificationTime:  fileSize:."
+ | type |
+ type := isDirectory
+ ifTrue: [ DirectoryEntryDirectory ]
+ ifFalse: [ DirectoryEntryFile ].
+ ^ type
+ directory: nil
+ name: name0  
+ creationTime: creationTime  
+ modificationTime: modificationTime  
+ fileSize: fileSize!