svn commit: r1099157 [2/2] - in /struts/struts2/trunk: core/src/main/java/org/apache/struts2/components/ core/src/main/java/org/apache/struts2/components/template/ core/src/main/java/org/apache/struts

2011-05-03 Thread jogep
Modified: 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java?rev=1099157&r1=1099156&r2=1099157&view=diff
==
--- 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java
 (original)
+++ 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/DefaultOValValidationManager.java
 Tue May  3 17:53:55 2011
@@ -55,8 +55,9 @@ public class DefaultOValValidationManage
 configurers.add(annotationsConfigurer);
 
 if (validateJPAAnnotations) {
-if (LOG.isDebugEnabled())
+if (LOG.isDebugEnabled()) {
 LOG.debug("Adding support for JPA annotations validations in 
OVal");
+}
 configurers.add(new JPAAnnotationsConfigurer());
 }
 }
@@ -139,8 +140,9 @@ public class DefaultOValValidationManage
 is = FileManager.loadFile(fileName, clazz);
 
 if (is != null) {
-if (LOG.isDebugEnabled())
+if (LOG.isDebugEnabled()) {
 LOG.debug("Loading validation xml file [#0]", 
fileName);
+}
 XMLConfigurer configurer = new XMLConfigurer();
 configurer.fromXML(is);
 validatorFileCache.put(fileName, configurer);
@@ -161,4 +163,4 @@ public class DefaultOValValidationManage
 
 return null;
 }
-}
\ No newline at end of file
+}

Modified: 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java?rev=1099157&r1=1099156&r2=1099157&view=diff
==
--- 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java
 (original)
+++ 
struts/struts2/trunk/plugins/oval/src/main/java/org/apache/struts2/oval/interceptor/OValValidationInterceptor.java
 Tue May  3 17:53:55 2011
@@ -128,7 +128,9 @@ public class OValValidationInterceptor e
 } catch (Exception e) {
 // If any exception occurred while doing reflection, we want
 // validate() to be executed
-LOG.warn("An exception occured while executing the prefix 
method", e);
+if (LOG.isWarnEnabled()) {
+LOG.warn("An exception occured while executing the prefix 
method", e);
+}
 exception = e;
 }
 
@@ -157,8 +159,9 @@ public class OValValidationInterceptor e
 String[] profileNames = profiles.value();
 if (profileNames != null && profileNames.length > 0) {
 validator.disableAllProfiles();
-if (LOG.isDebugEnabled())
+if (LOG.isDebugEnabled()) {
 LOG.debug("Enabling profiles [#0]", 
StringUtils.join(profileNames, ","));
+}
 for (String profileName : profileNames)
 validator.enableProfile(profileName);
 }
@@ -187,7 +190,9 @@ public class OValValidationInterceptor e
 }
 
 if (isActionError(violation)) {
+if (LOG.isDebugEnabled()) {
LOG.debug("Adding action error '#0'", message);
+}
 validatorContext.addActionError(message);
 } else {
 ValidationError validationError = 
buildValidationError(violation, message);
@@ -198,7 +203,9 @@ public class OValValidationInterceptor e
fieldName = parentFieldname + "." + fieldName;
 }
 
-LOG.debug("Adding field error [#0] with message '#1'", 
fieldName, validationError.getMessage());
+if (LOG.isDebugEnabled()) {
+   LOG.debug("Adding field error [#0] with message '#1'", 
fieldName, validationError.getMessage());
+}
 validatorContext.addFieldError(fieldName, 
validationError.getMessage());
 
 // don't add "model." prefix to fields of model in model 
driven action

Modified: 
struts/struts2/trunk/plugins/pell-multipart/src/main/java/org/apache/struts2/dispatcher/multipart/PellMultiPartRequest.java
URL: 
http://svn.apache.org/viewvc/struts/struts2/trunk/plugins/pell-multipart/src/main/java/org/apache/struts2/dispatcher/multipart/PellMultiPartRequest.java?rev=1099157&r

[CONF] Confluence Changes in the last 24 hours

2011-05-03 Thread confluence
This is a daily summary of all recent changes in Confluence.

-
Updated Spaces:
-


Apache ActiveMQ (https://cwiki.apache.org/confluence/display/ACTIVEMQ)

Pages
-
Networks of Brokers edited by  gtully  (06:20 AM)
https://cwiki.apache.org/confluence/display/ACTIVEMQ/Networks+of+Brokers



Apache Avro (https://cwiki.apache.org/confluence/display/AVRO)

Pages
-
How To Release edited by  cutt...@apache.org  (03:32 PM)
https://cwiki.apache.org/confluence/display/AVRO/How+To+Release



Apache Camel (https://cwiki.apache.org/confluence/display/CAMEL)

Pages
-
Can I use Camel on Java 1.4 edited by  hadr...@apache.org  (09:05 PM)
https://cwiki.apache.org/confluence/display/CAMEL/Can+I+use+Camel+on+Java+1.4

What platforms are supported edited by  hadr...@apache.org  (09:01 PM)
https://cwiki.apache.org/confluence/display/CAMEL/What+platforms+are+supported

Camel 2.8.0 Release edited by  davsclaus  (10:10 AM)
https://cwiki.apache.org/confluence/display/CAMEL/Camel+2.8.0+Release

User Guide edited by  hadr...@apache.org  (10:10 AM)
https://cwiki.apache.org/confluence/display/CAMEL/User+Guide

Camel Maven Archetypes edited by  davsclaus  (10:08 AM)
https://cwiki.apache.org/confluence/display/CAMEL/Camel+Maven+Archetypes



Apache CXF Documentation (https://cwiki.apache.org/confluence/display/CXF20DOC)

Pages
-
JAX-RS edited by  sergey_beryozkin  (07:03 AM)
https://cwiki.apache.org/confluence/display/CXF20DOC/JAX-RS



Apache Geronimo v3.0 (https://cwiki.apache.org/confluence/display/GMOxDOC30)

Pages
-
Running Geronimo as a Windows Service edited by  gawor  (12:25 PM)
https://cwiki.apache.org/confluence/display/GMOxDOC30/Running+Geronimo+as+a+Windows+Service



Apache Mahout (https://cwiki.apache.org/confluence/display/MAHOUT)

Pages
-
Reference Reading edited by  gsingers  (10:26 PM)
https://cwiki.apache.org/confluence/display/MAHOUT/Reference+Reading

System Requirements edited by  kcarnold  (07:36 PM)
https://cwiki.apache.org/confluence/display/MAHOUT/System+Requirements



OODT (https://cwiki.apache.org/confluence/display/OODT)

Pages
-
RADiX Powered By OODT edited by  good...@oodt.apache.org  (10:22 AM)
https://cwiki.apache.org/confluence/display/OODT/RADiX+Powered+By+OODT



Apache OpenNLP (https://cwiki.apache.org/confluence/display/OPENNLP)

Pages
-
Maxent Refactoring created by joern (04:00 AM)
https://cwiki.apache.org/confluence/display/OPENNLP/Maxent+Refactoring



Apache Tapestry (https://cwiki.apache.org/confluence/display/TAPESTRY)

Pages
-
Integrating with Spring Framework edited by  ccordenier  (04:35 AM)
https://cwiki.apache.org/confluence/display/TAPESTRY/Integrating+with+Spring+Framework



Apache Wicket (https://cwiki.apache.org/confluence/display/WICKET)

Pages
-
Wicket's XHTML tags edited by  martin-g  (04:37 AM)
https://cwiki.apache.org/confluence/display/WICKET/Wicket%27s+XHTML+tags




Change your notification preferences: 
https://cwiki.apache.org/confluence/users/viewnotifications.action