cancel
Showing results for 
Search instead for 
Did you mean: 

APIs full of Array usages

mwildam
Champ in-the-making
Champ in-the-making
Hi folks,

can anybody explain why the whole Remote-APIs are so contaminated with the use of arrays?

I didn't use them for the last 10 years or so and was so happy that those were history. Why is Alfresco using them and not - let's say - ArrayLists instead?
2 REPLIES 2

mrogers
Star Contributor
Star Contributor
If you are referring to the WebService interfaces then these are "lowest common denominator" interfaces across many languages, not just Java, so arrays are used in preference to any java specific types like ArrayList.

mwildam
Champ in-the-making
Champ in-the-making
Ah, yes, I understand. OK, this is a good reason. Thanks for the explanation.