[request] change AbstractComponentExtension.getType name

2 posts / 0 new
Last post
atao
Offline
Joined: 10/15/2008
[request] change AbstractComponentExtension.getType name

Vincent,

Again Innocent

I use "type" a lot in my business model. As "getType" is already used by AbstractComponentExtension, I have to pick more specific names.

It seems to me that jspresso should have used a more specific label like "getComponentType" or "getComponentContractName" and let free the simple "getType".

Regards

Pierre

vvandens
Offline
Joined: 05/29/2008
[request] change AbstractComponentExtension.getType name

Hi Pierre,

You're absolutely right and to be completely honest, I don't even remember why I introduced this shortcut method. It's actually used nowhere so we could definitely get rid of it. If anyone needs the component name, it's just a matter of getComponent().getComponentContract().getName()... Morever, it says getType() but returns a string...

I'm uploading a SNAPSHOT with the change.

 

Best,

Vincent