Java Integer resetting itself
<p>I've been playing with a path finding program but I've run into a strange situation.
When creating an object one of the values appears to be resetting itself to 0.
here are some screen dumps from the debugger.<br></p>

<p><img src="http://i.stack.imgur.com/6VNAe.jpg" alt="enter image description here"></p>

<p><img src="http://i.stack.imgur.com/AxHVI.jpg" alt="enter image description here"></p>
