Keith Wiley wrote: > Oh gosh! No kidding. I didn't notice that. The first part that is > relatively ugly, although not strictly illegal, is the unnecessary > absence of parentheses. More to the point, there is a completely > redundant assignment in the middle of the ternary assignment. I > changed it to the following: > > firstHash = firstHash == -1?Integer.MAX_VALUE:firstHash; > firstZero = firstZero == -1?Integer.MAX_VALUE:firstZero; > > ...leaving the absent parens but patching the assignment. It built! > I haven't transferred it from the sandbox project to my primary > project, but this is good news.
Whew! -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Need Android talent? Ask on HADO! http://wiki.andmob.org/hado --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en -~----------~----~----~----~------~----~------~--~---

