Seems ok. I picked Object.class for Class.

Gary

<div>-------- Original message --------</div><div>From: Matt Sicker 
<[email protected]> </div><div>Date:05/30/2014  16:24  (GMT-05:00) 
</div><div>To: Log4J Developers List <[email protected]> 
</div><div>Subject: Re: PluginAttribute#defaultEnum()? </div><div>
</div>I had the same hold-up when thinking about adding that, too. How about 
RetentionPolicy.SOURCE? Or ElementType.TYPE? Something annotation-related like 
that.


On 30 May 2014 13:12, Gary Gregory <[email protected]> wrote:
I added PluginAttribute#defaultClass() since we can have a Class has an 
attribute value.

One can also have an Enum as an attribute value, but what default should be use?

Gary

-- 
E-Mail: [email protected] | [email protected] 
Java Persistence with Hibernate, Second Edition
JUnit in Action, Second Edition
Spring Batch in Action
Blog: http://garygregory.wordpress.com 
Home: http://garygregory.com/
Tweet! http://twitter.com/GaryGregory



-- 
Matt Sicker <[email protected]>

Reply via email to