Hi
I saw that name: is depreacted in moose model. However it does not give me any hints of the solution. It would be nice to use the deprecated method to help the reader to understand what is the alternative.
stef
Usually, after a deprecated method we have the call to the method that replaces it. If there is no replacement method then we should use a string.
In this case, MooseModel>>name: calls MooseModel>>setName: so deprecated means that you should call setName instead.
Anyway, this method should not be deprecated, so I removed the call to #deprecated: :).
Cheers, Doru
On Apr 22, 2008, at 11:10 AM, stéphane ducasse wrote:
Hi
I saw that name: is depreacted in moose model. However it does not give me any hints of the solution. It would be nice to use the deprecated method to help the reader to understand what is the alternative.
stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"Beauty is where we see it."
Ok in squeak the pattern is like that
self deprecated: 'use lklkjkj instead'.
stef On Apr 22, 2008, at 3:35 PM, Tudor Girba wrote:
Usually, after a deprecated method we have the call to the method that replaces it. If there is no replacement method then we should use a string.
In this case, MooseModel>>name: calls MooseModel>>setName: so deprecated means that you should call setName instead.
Anyway, this method should not be deprecated, so I removed the call to #deprecated: :).
Cheers, Doru
On Apr 22, 2008, at 11:10 AM, stéphane ducasse wrote:
Hi
I saw that name: is depreacted in moose model. However it does not give me any hints of the solution. It would be nice to use the deprecated method to help the reader to understand what is the alternative.
stef _______________________________________________ Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev
-- www.tudorgirba.com www.tudorgirba.com/blog
"Beauty is where we see it."
Moose-dev mailing list Moose-dev@iam.unibe.ch https://www.iam.unibe.ch/mailman/listinfo/moose-dev