Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[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

 


Back to the top