Since it's abstract shouldn't you override that method and implement your own version, instead of calling that method?
server_crash
Postaholic
2,111 posts since Jun 2004
Reputation Points: 113
Solved Threads: 20
We need to see more code. Post your classes. We need to see how they are declared, which are abstract and how you override your abstract methods.
And niksinghania the error clearly says that the problem is the enableRecording method (cannot resolve symbol) not how the Boolean object is created. A look at the API shows that both ways are correct:
http://download.oracle.com/javase/1.4.2/docs/api/java/lang/Boolean.html
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
I doubt the OP is going to return after six years to post his classes. ;)
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
I doubt the OP is going to return after six years to post his classes. ;)
Ups, I never thought thatniksinghania would go and post a "solution" to a 6-year-old thread
javaAddict
Nearly a Senior Poster
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
>same didnt even notice is was from 5 years ago since it was at the top
If you had read the responses to the thread though, you would have seen those last two before you and realized it was an old, dead thread.
It's always a good idea to actually read the thread before posting so that you have the full context of what has already been said.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Google or perhaps "Similar Threads" listing.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847
Yes, I think this thread has probably served its time.
Ezzaral
Posting Genius
15,986 posts since May 2007
Reputation Points: 3,250
Solved Threads: 847