Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [Dltk-dev] i have a compile error now in javascript formatting plugin

Hi Johan,

Please update.
I was committing some improvements, now everything is committed.

Regards,
Alex

----- Original Message -----
From: "Johan Compagner" <jcompagner@xxxxxxxxx>
To: "DLTK Developer list" <dltk-dev@xxxxxxxxxxx>
Sent: Thursday, June 18, 2009 9:47:03 PM GMT +06:00 Almaty, Novosibirsk
Subject: [Dltk-dev] i have a compile error now in _javascript_ formatting plugin

Because this did change:
 

public static IFormatterTextNode[] toTextNodeArray(List list) {

if (list != null) {

return (IFormatterTextNode[]) list

.toArray(

new IFormatterTextNode[list.size()]);

}

else {

return null;

}

}

to

 

public static IFormatterNode[] toTextNodeArray(List<IFormatterNode> list) {

if (list != null) {

return list.toArray(new IFormatterNode[list.size()]);

}

else {

return null;

}

}

so instead of a IFormatterTextNode i now et IFormatterNoes but the method name suggest that i should get IFormatterTextNodes...

johan

 


_______________________________________________ dltk-dev mailing list dltk-dev@xxxxxxxxxxx https://dev.eclipse.org/mailman/listinfo/dltk-dev

Back to the top