Re: [Wonder-cvs] SF.net SVN: wonder:[11542] branches/Wonder_5_0_0_WebObjects_5_4_Branch/ Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/logging/ ERXLog4JConfiguration.java

David LeBer <[email protected]> Wed, 13 Oct 2010 08:44:09 -0400
Newsgroups gmane.comp.web.webobjects.woproject.devel
Message-ID <[email protected]>
On 2010-10-13, at 8:39 AM, David Avendasora wrote:

> Thanks!
> 
> But isn't this a bug in JRebel? Are there any problems with making the enums public?

Well considering the PageSection *was* public before, we're probably fine, but if anyone has an issue with it, we can ratchet them back after the JRebel issue is resolved.

> 
> Dave
> 
> On Oct 13, 2010, at 8:33 AM, [email protected] wrote:
> 
>> Revision: 11542
>>         http://wonder.svn.sourceforge.net/wonder/?rev=11542&view=rev
>> Author:   davidleber
>> Date:     2010-10-13 12:33:33 +0000 (Wed, 13 Oct 2010)
>> 
>> Log Message:
>> -----------
>> Made Enum's public to fix JRebel issue
>> 
>> Modified Paths:
>> --------------
>>   branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/logging/ERXLog4JConfiguration.java
>> 
>> Modified: branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/logging/ERXLog4JConfiguration.java
>> ===================================================================
>> --- branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/logging/ERXLog4JConfiguration.java	2010-10-13 06:33:18 UTC (rev 11541)
>> +++ branches/Wonder_5_0_0_WebObjects_5_4_Branch/Wonder/Frameworks/Core/ERExtensions/Sources/er/extensions/logging/ERXLog4JConfiguration.java	2010-10-13 12:33:33 UTC (rev 11542)
>> @@ -39,7 +39,7 @@
>>    /**
>>     * A representation of the various Logger levels.
>>     */
>> -    protected enum LoggerLevel {
>> +    public enum LoggerLevel {
>>        ALL(Level.ALL, "All"),
>>        TRACE(Level.TRACE, "Trace"),
>>        DEBUG(Level.DEBUG, "Debug"),
>> @@ -76,7 +76,7 @@
>>    /**
>>     * A representation of the available page sections/views.
>>     */
>> -    protected enum PageSection {
>> +    public enum PageSection {
>>        LOGGERS("Loggers", "Loggers"),
>>        REPOSITORY("Repository", "Repository"),
>>        APPENDERS("Appenders", "Appenders"),

;david

--
David LeBer
Codeferous Software
'co-def-er-ous' adj. Literally 'code-bearing'
site: 	http://codeferous.com
blog: 	http://davidleber.net
profile:	http://www.linkedin.com/in/davidleber
twitter:	http://twitter.com/rebeld
--
Toronto Area Cocoa / WebObjects developers group:
http://tacow.org