db-torque-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Henning P. Schmiedehausen" <...@intermeta.de>
Subject Re: cvs commit: jakarta-turbine-torque/src/rttest/org/apache/torque/util
Date Fri, 10 Jan 2003 16:13:06 GMT
Martin Poeschl <mpoeschl@marmot.at> writes:

Inheriting variables from a parent is bad style anyway. So we should
put a 

Category category = Category.getInstance(...); into the template. IMHO.

	Regards
		Henning


>Andreou Andreas wrote:

>> Martin Poeschl wrote:
>>
>>>
>>>
>>> in BasePeer category was renamend to logger .. but category is used 
>>> within the templates ... so the generated code doesn't work :-(
>>>
>>> woulnd't it be better to deprecate category and add a getLog() method 
>>> as in BaseObject??
>>
>>
>> category is only used here:
>>
>> File jakarta-turbine-torque\src\templates\om\Peer.vm
>>  95 17:                category.error("Could not initialize Peer", e);
>>  131 13:            category.error("A FATAL ERROR has occurred which 
>> should not " 


>... but it may be used by the users extending the peers .. so we should 
>deprecate it instead of just renaming

>martin

>>
>>
>>
>>
>>
>>
>> -- 
>> To unsubscribe, e-mail:   
>> <mailto:turbine-torque-dev-unsubscribe@jakarta.apache.org>
>> For additional commands, e-mail: 
>> <mailto:turbine-torque-dev-help@jakarta.apache.org>
>>



>--
>To unsubscribe, e-mail:   <mailto:turbine-torque-dev-unsubscribe@jakarta.apache.org>
>For additional commands, e-mail: <mailto:turbine-torque-dev-help@jakarta.apache.org>

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

Mime
View raw message