Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

for each not applicable to expression type

adrinaDec 18 2011 — edited Dec 19 2011
Hi!!

I am using jdeveloper 11.1.1.5

I had used this code in my AMImpl Method
for (row = glacclrs.first();row!=null;row=glacclrs.next()){
            for (Object o:schclasslist){                              //I am getting error as for each applicable to expression type
                if(o.toString().equals(row.getAttribute("GaclPrimId") ==null ? "" : row.getAttribute("GaclPrimId"))){
                    classlist.add(row.getAttribute("GaclId"));
                    break;
                }
I am struggling with this error :(

Could anyone pls help me
This post has been answered by Raj Gopal K on Dec 19 2011
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Jan 16 2012
Added on Dec 18 2011
4 comments
2,759 views