Issue with deprecated method in ByteString

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

Issue with deprecated method in ByteString

John Toohey
Hi,

Running some tests of my own app, I just got a deprecated warning popup in the debugger. The method is #isZero in ByteString, and isZero is called from SmallInteger #/. I'm using the 10506 Core image. What can I do to fix this? 

--
-JT



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue with deprecated method in ByteString

Nicolas Cellier
Never divide by a string

2010/1/14 John Toohey <[hidden email]>:

> Hi,
> Running some tests of my own app, I just got a deprecated warning popup in
> the debugger. The method is #isZero in ByteString, and isZero is called from
> SmallInteger #/. I'm using the 10506 Core image. What can I do to fix this?
>
> --
> -JT
>
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue with deprecated method in ByteString

Henrik Sperre Johansen
In reply to this post by John Toohey
Don't divide a number by a ByteArray?;)

Cheers,
Henry

Den 14. jan. 2010 kl. 19.25 skrev John Toohey <[hidden email]>:

> Hi,
>
> Running some tests of my own app, I just got a deprecated warning  
> popup in the debugger. The method is #isZero in ByteString, and  
> isZero is called from SmallInteger #/. I'm using the 10506 Core  
> image. What can I do to fix this?
>
> --
> -JT
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue with deprecated method in ByteString

John Toohey
:-) forgot an #asNumber in one of my forms.

On Thu, Jan 14, 2010 at 13:35, Henrik Johansen <[hidden email]> wrote:
Don't divide a number by a ByteArray?;)

Cheers,
Henry

Den 14. jan. 2010 kl. 19.25 skrev John Toohey <[hidden email]>:

> Hi,
>
> Running some tests of my own app, I just got a deprecated warning
> popup in the debugger. The method is #isZero in ByteString, and
> isZero is called from SmallInteger #/. I'm using the 10506 Core
> image. What can I do to fix this?
>
> --
> -JT
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
-JT



_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
Reply | Threaded
Open this post in threaded view
|

Re: Issue with deprecated method in ByteString

Henrik Sperre Johansen
Then remember to handle invalid input gracefully too :)
Cheers

Den 14. jan. 2010 kl. 19.40 skrev John Toohey <[hidden email]>:

:-) forgot an #asNumber in one of my forms.

On Thu, Jan 14, 2010 at 13:35, Henrik Johansen <[hidden email]> wrote:
Don't divide a number by a ByteArray?;)

Cheers,
Henry

Den 14. jan. 2010 kl. 19.25 skrev John Toohey <[hidden email]>:

> Hi,
>
> Running some tests of my own app, I just got a deprecated warning
> popup in the debugger. The method is #isZero in ByteString, and
> isZero is called from SmallInteger #/. I'm using the 10506 Core
> image. What can I do to fix this?
>
> --
> -JT
>
>
> _______________________________________________
> Pharo-project mailing list
> [hidden email]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project



--
-JT


_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

_______________________________________________
Pharo-project mailing list
[hidden email]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project