• Post Reply Bookmark Topic Watch Topic
  • New Topic

Where is the problem in this piece of code ?  RSS feed

 
Davidd Joness
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I cannot execute this method





My test class code


}


snipping-tool-capture.JPG
[Thumbnail for snipping-tool-capture.JPG]
 
Carey Brown
Saloon Keeper
Posts: 3328
46
Eclipse IDE Firefox Browser Java MySQL Database VI Editor Windows
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Davidd Joness wrote:I cannot execute this method

You are creating an ArrayList to hold Channel references but other than that the list is empty, you haven't populated it.
Also your test driver code doesn't seem to be calling this method.

What class does this method belong to?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!