In Eclipse 3.4 and 3.5, I get a warning on the one.length access "The variable one may be null at this location". I've simplified the code as much as possible where I still get the error - the first code block in this post. If I simplify it further - the second block - I do not get the warning.
I'm tempted to turn off this warning since it seems like a false positive. Am I missing something? Bug in Eclipse? Two complex to automate because it is two blocks? As a human, they look like they cover both cases.