This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Something strange

 
Peter Phung
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I've written an application, it's working ok except that it's skipping a few lines of code. I'm not getting any compile time errors or any runtime errors. I've included part of my application where the code is being skipped, and the methods that it's meant to execute.

Please can anyone help me to solve this?
 
Snigdha Solanki
Ranch Hand
Posts: 128
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can you please provide the following
*expected output
*actual output
 
Peter Phung
Ranch Hand
Posts: 138
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Everything's been sorted out now. I deleted all of the old class files and recompiled and it works fine.
It looks like the application was running an older class file.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic