On Tue, Aug 31, 2010 at 4:30 PM, Zsolt Vasvari <zvasv...@gmail.com> wrote:

> Yes, but if you declared the helper function private, you may have gotten
> an unused warning.  If it was in a different class, of course, that's no
> help as the compiler doesn't check for unused package private functions,
> even though it could.
>

Yeah, no, it was a separate class with a static clearCache method that's
used elsewhere as well. I normally do get the unused warning and really
appreciate it for trimming down unnecessary code.

Funny story, BTW, turns out I WAS calling the cache clearing function (I
looked at the diff wrong, I'm way off my game), but it had a bug where it
wasn't clearing the correct cache files. Not as stupid as removing a line of
code, but still pretty stupid.

Released my fix and anxiously await to see what kind of comments I wake up
to!

-------------------------------------------------------------------------------------------------
TreKing <http://sites.google.com/site/rezmobileapps/treking> - Chicago
transit tracking app for Android-powered devices

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to