Results 1 to 8 of 8
Thread: incompatible types!!
- 11-30-2011, 06:47 AM #1
Member
- Join Date
- Nov 2011
- Posts
- 5
- Rep Power
- 0
-
Re: incompatible types!!
What does the method getCoveredQCTestCases() return?
- 11-30-2011, 07:05 AM #3
Senior Member
- Join Date
- Oct 2010
- Location
- Germany
- Posts
- 780
- Rep Power
- 4
Re: incompatible types!!
Look at the method signature of getCoveredQCTestCases.The return value must be a Iterable<String> and not a Iterable<Object> !
Or you have to change
for (String coveredTestCase :
into
for (Object coveredTestCase :
and mabye cast the coveredTestCase to a String
- 11-30-2011, 07:06 AM #4
Member
- Join Date
- Nov 2011
- Posts
- 5
- Rep Power
- 0
Re: incompatible types!!
getCoveredTestCases() returns a list.
-
Re: incompatible types!!
Have it return a List<String>, not just a List.
- 11-30-2011, 07:12 AM #6
Member
- Join Date
- Nov 2011
- Posts
- 5
- Rep Power
- 0
Re: incompatible types!!
Yes.. It is solved.. Thanx a lot :)
- 11-30-2011, 11:49 PM #7
Similar Threads
-
incompatible types
By effa in forum New To JavaReplies: 16Last Post: 02-03-2011, 09:50 AM -
Incompatible types
By bayan in forum New To JavaReplies: 5Last Post: 11-04-2010, 08:43 AM -
incompatible types error
By magic in forum New To JavaReplies: 3Last Post: 06-02-2010, 04:58 PM -
Incompatible operand types int and double[][]
By Haske2r in forum New To JavaReplies: 2Last Post: 01-21-2010, 05:26 PM -
Incompatible types
By coltragon in forum New To JavaReplies: 5Last Post: 01-15-2010, 04:47 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks