logging-general mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sde...@apache.org
Subject svn commit: r955493 - /logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java
Date Thu, 17 Jun 2010 07:06:34 GMT
Author: sdeboy
Date: Thu Jun 17 07:06:33 2010
New Revision: 955493

URL: http://svn.apache.org/viewvc?rev=955493&view=rev
Log:
Prompt for a configuration if the auto-config field is cleared

Modified:
    logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java

Modified: logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java
URL: http://svn.apache.org/viewvc/logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java?rev=955493&r1=955492&r2=955493&view=diff
==============================================================================
--- logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java
(original)
+++ logging/chainsaw/trunk/src/main/java/org/apache/log4j/chainsaw/ApplicationPreferenceModel.java
Thu Jun 17 07:06:33 2010
@@ -187,7 +187,7 @@ public class ApplicationPreferenceModel 
     public void apply(ApplicationPreferenceModel model)
     {
       setIdentifierExpression(model.getIdentifierExpression());
-      setShowNoReceiverWarning(model.isShowNoReceiverWarning());
+      setShowNoReceiverWarning(model.isShowNoReceiverWarning() || (model.getConfigurationURL()
== null || model.getConfigurationURL().trim().equals("")));
       setResponsiveness(model.getResponsiveness());
       setTabPlacement(model.getTabPlacement());
       setStatusBar(model.isStatusBar());



Mime
View raw message