I personally agree with both Rahul and James. thanks.
Simo

http://people.apache.org/~simonetripodi/
http://www.99soft.org/



On Wed, Sep 15, 2010 at 3:04 PM, James Carman
<[email protected]> wrote:
> We should just add this to commons lang
>
> On Sep 15, 2010 9:02 AM, "Rahul Akolkar" <[email protected]> wrote:
>> On Wed, Sep 15, 2010 at 8:57 AM, Torsten Curdt <[email protected]> wrote:
>>> IMO the thread showed that there are enough ways to get to that
>>> information today.
>>> I would not bother and call for the vote.
>>>
>> <snip/>
>>
>> +1 to not bothering for digester 2.1.
>>
>> -Rahul
>>
>>
>>> On Wed, Sep 15, 2010 at 14:54, Simone Tripodi <[email protected]>
> wrote:
>>>> I'm going to call a vote for a new Digester release, shall this new
>>>> stuff be included in the release?
>>>> thanks in advance,
>>>> Simo
>>>>
>>>> http://people.apache.org/~simonetripodi/
>>>> http://www.99soft.org/
>>>>
>>>>
>>>>
>>>> On Wed, Sep 15, 2010 at 2:41 PM, Jochen Wiedmann
>>>> <[email protected]> wrote:
>>>>>> James Carman wrote:
>>>>>
>>>>>> We use a method like this:
>>>>>>
>>>>>> public static String versionOf(Class c) {
>>>>>>   final String version = c.getPackage().getImplementationVersion();
>>>>>>   return StringUtils.isEmpty(version) ? "n/a" : version;
>>>>>> }
>>>>>>
>>>>>> So, if you want to know what version of Hibernate you're using, you'd
> do:
>>>>>>
>>>>>> versionOf(org.hibernate.Session.class);
>>>>>
>>>>> Implementation note: getPackage() must be checked against null.
>>>>>
>>>>> Jochen
>>>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: [email protected]
>> For additional commands, e-mail: [email protected]
>>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to