[Yanel-dev] default constructor in newly created resource-type

simon litwan simon.litwan at wyona.com
Thu Feb 7 11:31:58 CET 2008


Michael Wechner schrieb:
> simon litwan wrote:
>
>> Michael Wechner schrieb:
>>
>>> simon litwan wrote:
>>>
>>>> hi all
>>>>
>>>> maybe a thumb question. but can someone tell me why the java file 
>>>> in a newly created resource (./build.sh new-resource-type) has an 
>>>> empty constructor in it?
>>>
>>>
>>>
>>> What else would you expect?
>>
>> just an empty class.
>
>
> so, I guess we can delete it from the template. Patch ;-)
>
>>>
>>> A sample ViewableV2 implementation?
>>
>> no.
>
>
> but wouldn't it make sense to add the most recent ViewableVXXXX by 
> default, because in 99% cases one needs to have this.
>
> Whereas one could extends the BasicXMLResource and hence does not need 
> to implement it itself.
i think we should introduce a choice between empty, text, xml and usecase.
will provide a patch.

simon
>
> WDYT?
>
> Cheers
>
> Michi
>
>>
>> simon
>>
>>>
>>> Cheers
>>>
>>> Michi
>>>
>>>>
>>>> simon
>>>> _______________________________________________
>>>> Yanel-development mailing list
>>>> Yanel-development at wyona.com
>>>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>>>
>>>
>>>
>>>
>>
>> _______________________________________________
>> Yanel-development mailing list
>> Yanel-development at wyona.com
>> http://lists.wyona.org/cgi-bin/mailman/listinfo/yanel-development
>
>
>



More information about the Yanel-development mailing list