This is red underlined, It says incompatible types.
FOUND: 'java.lang.String,required:'String'
Printable View
This is red underlined, It says incompatible types.
FOUND: 'java.lang.String,required:'String'
The above should not give a compile error.
Thats what I thought :/
If you are still receiving an error post your entire source code to see if there is a particular issue. But that statement should not give you an error.