[struts-site] branch asf-site updated: Updates production by Jenkins

2018-01-10 Thread git-site-role
This is an automated email from the ASF dual-hosted git repository.

git-site-role pushed a commit to branch asf-site
in repository https://gitbox.apache.org/repos/asf/struts-site.git


The following commit(s) were added to refs/heads/asf-site by this push:
 new f515c96  Updates production by Jenkins
f515c96 is described below

commit f515c9645e12aca5c72def7a9c52c6c0a6b6912c
Author: jenkins 
AuthorDate: Wed Jan 10 13:15:59 2018 +

Updates production by Jenkins
---
 content/getting-started/exception-handling.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/content/getting-started/exception-handling.html 
b/content/getting-started/exception-handling.html
index f75a5d6..1ccceb2 100644
--- a/content/getting-started/exception-handling.html
+++ b/content/getting-started/exception-handling.html
@@ -144,7 +144,7 @@
 
 Introduction
 
-In this tutorial we’ll explore how to enable the Struts 2 framework to 
handle any uncaught exceptions generated by a web application. Struts 2 
provides robust exception handling, including the ability to automatically log 
any uncaught exceptions and redirect the user to a error web page.
+In this tutorial we’ll explore how to enable the Struts 2 framework to 
handle any uncaught exceptions generated by a web application. Struts 2 
provides robust exception handling, including the ability to automatically log 
any uncaught exceptions and redirect the user to an error web page.
 
 The http://struts.apache.org/mail.html";>Struts 2 user mailing 
list is an excellent place to get help. If you are having a problem getting 
the tutorial example applications to work search the Struts 2 mailing list. If 
you don’t find an answer to your problem, post a question on the mailing 
list.
 
@@ -152,7 +152,7 @@
 
 Using the Struts 2 framework you can specify in the struts.xml how the 
framework should handle uncaught exceptions. The handling logic can apply to 
all actions (global exception handling) or to a specific action. Let’s first 
discuss how to enable global exception handling.
 
-To enable global exception handling you need to add two nodes to struts.xml: global-exception-mapping and global-results. For example examine the struts.xml from the exception_handling 
project.
+To enable global exception handling you need to add two nodes to struts.xml: global-exception-mapping and global-results. For example examine the struts.xml from the exception-handling 
project.
 
 
 /securityerror.jsp

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" '].


[struts-site] branch master updated (3a46197 -> 245a637)

2018-01-10 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git.


from 3a46197  Merge pull request #94 from fanofxiaofeng/patch-17
 add e293c7c  trivial typo fix
 new 245a637  Merge pull request #95 from fanofxiaofeng/patch-19

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 source/getting-started/exception-handling.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" '].


[struts-site] 01/01: Merge pull request #95 from fanofxiaofeng/patch-19

2018-01-10 Thread lukaszlenart
This is an automated email from the ASF dual-hosted git repository.

lukaszlenart pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts-site.git

commit 245a637c5d2b35cec9f737a8370bc098ea057f42
Merge: 3a46197 e293c7c
Author: Lukasz Lenart 
AuthorDate: Wed Jan 10 14:14:49 2018 +0100

Merge pull request #95 from fanofxiaofeng/patch-19

trivial typo fix

 source/getting-started/exception-handling.md | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
"commits@struts.apache.org" .


[struts] branch master updated (a66f92c -> 29b29a9)

2018-01-10 Thread yasserzamani
This is an automated email from the ASF dual-hosted git repository.

yasserzamani pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git.


from a66f92c  Merge pull request #198 from sdutry/formatting-changes
 add dd8ba56  Extends factories to allow return implementing type
 add 4152cbc  Uses factory's type to detect Initilizable interfaces
 add 74dd8d6  Adds implementation of the type() method
 add a4183b6  Adjusts class to the new Initializable mechanism
 add 67b7fc3  Avoids initialising singletons once marked as Initializable
 add e1767d9  Moves Initializable interface into implementing class instead 
of interface
 add 49ef41c  Drops unneeded JavaDoc formatting
 add 87c2746  Introduces dedicated factory to perform object's 
initialisation
 add fad603c  Adds a dedicated interfaces to clearly tell CI which beans 
must be instantiated early
 add b046831  Adjusts builder to handle the new interfaces
 add d643657  Uses the new interface to initialise object when setting up 
the framework
 add df4a181  add tests for lazy and early initialization
 add 38450c9  improve tests for lazy and early initialization
 add e4a3669  Moves wrapping factories into Scope
 add f60095b  Fixes failing tests
 add f9f0f36  Increases class visibility
 add 4fbded7  Fixes test to run under JDK8
 add 23077d3  Loads classes in advance
 add 5e237e0  fix and add test for lazy and early initialization of 
prototypes
 new 29b29a9  Merge pull request #196 from lukaszlenart/init-like-a-boss

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 core/pom.xml   |   1 -
 .../opensymphony/xwork2/XWorkJUnit4TestCase.java   |   4 +
 .../com/opensymphony/xwork2/XWorkTestCase.java |   6 +-
 .../xwork2/config/impl/DefaultConfiguration.java   |   5 +
 .../config/impl/LocatableConstantFactory.java  |   7 +-
 .../xwork2/config/impl/LocatableFactory.java   |   5 +
 .../providers/XWorkConfigurationProvider.java  |   1 +
 .../conversion/ConversionPropertiesProcessor.java  |   4 +-
 .../impl/DefaultConversionPropertiesProcessor.java |   4 +-
 .../xwork2/inject/ContainerBuilder.java|  54 --
 .../opensymphony/xwork2/inject/ContainerImpl.java  |   7 +-
 .../xwork2/inject/EarlyInitializable.java  |  16 +--
 .../com/opensymphony/xwork2/inject/Factory.java|  27 +++--
 .../xwork2/inject/InitializableFactory.java|  56 ++
 .../xwork2/inject/InternalFactory.java |  25 +++--
 .../java/com/opensymphony/xwork2/inject/Scope.java |  33 +-
 .../xwork2/validator/DefaultValidatorFactory.java  |   3 +-
 .../xwork2/validator/ValidatorFactory.java |   4 +-
 .../config/AbstractBeanSelectionProvider.java  |   5 +
 .../config/StrutsXmlConfigurationProvider.java |   3 +
 .../factory/PrefixBasedActionProxyFactory.java |  31 +++---
 .../xwork2/config/ConfigurationManagerTest.java|   7 ++
 .../xwork2/inject/ContainerImplTest.java   | 120 ++---
 .../xwork2/inject/EarlyInitializableBean.java  |  67 ++--
 .../xwork2/inject/InitializableBean.java   |  67 ++--
 .../xwork2/ognl/SetPropertiesTest.java |  12 ++-
 .../validator/SimpleActionValidationTest.java  |   6 ++
 .../factory/PrefixBasedActionProxyFactoryTest.java |  19 +++-
 28 files changed, 436 insertions(+), 163 deletions(-)
 copy apps/showcase/src/main/webapp/WEB-INF/conversion/OperationsEnum.java.txt 
=> core/src/main/java/com/opensymphony/xwork2/inject/EarlyInitializable.java 
(68%)
 create mode 100644 
core/src/main/java/com/opensymphony/xwork2/inject/InitializableFactory.java
 copy plugins/embeddedjsp/src/test/java/org/apache/struts2/SoyBean.java => 
core/src/test/java/com/opensymphony/xwork2/inject/EarlyInitializableBean.java 
(75%)
 copy plugins/embeddedjsp/src/test/java/org/apache/struts2/SoyBean.java => 
core/src/test/java/com/opensymphony/xwork2/inject/InitializableBean.java (76%)

-- 
To stop receiving notification emails like this one, please contact
['"commits@struts.apache.org" '].


[struts] 01/01: Merge pull request #196 from lukaszlenart/init-like-a-boss

2018-01-10 Thread yasserzamani
This is an automated email from the ASF dual-hosted git repository.

yasserzamani pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/struts.git

commit 29b29a9c64aa4700b0f3c52f250ef27a9dc67516
Merge: a66f92c 5e237e0
Author: Yasser Zamani 
AuthorDate: Wed Jan 10 12:09:14 2018 +0330

Merge pull request #196 from lukaszlenart/init-like-a-boss

WW-4905: Allows Initializable interface on implementing class instead of 
interface

 core/pom.xml   |   1 -
 .../opensymphony/xwork2/XWorkJUnit4TestCase.java   |   4 +
 .../com/opensymphony/xwork2/XWorkTestCase.java |   6 +-
 .../xwork2/config/impl/DefaultConfiguration.java   |   5 +
 .../config/impl/LocatableConstantFactory.java  |   7 +-
 .../xwork2/config/impl/LocatableFactory.java   |   5 +
 .../providers/XWorkConfigurationProvider.java  |   1 +
 .../conversion/ConversionPropertiesProcessor.java  |   4 +-
 .../impl/DefaultConversionPropertiesProcessor.java |   4 +-
 .../xwork2/inject/ContainerBuilder.java|  54 --
 .../opensymphony/xwork2/inject/ContainerImpl.java  |   7 +-
 ...nternalFactory.java => EarlyInitializable.java} |  23 +---
 .../com/opensymphony/xwork2/inject/Factory.java|  27 +++--
 .../xwork2/inject/InitializableFactory.java|  56 ++
 .../xwork2/inject/InternalFactory.java |  25 +++--
 .../java/com/opensymphony/xwork2/inject/Scope.java |  33 +-
 .../xwork2/validator/DefaultValidatorFactory.java  |   3 +-
 .../xwork2/validator/ValidatorFactory.java |   4 +-
 .../config/AbstractBeanSelectionProvider.java  |   5 +
 .../config/StrutsXmlConfigurationProvider.java |   3 +
 .../factory/PrefixBasedActionProxyFactory.java |  31 +++---
 .../xwork2/config/ConfigurationManagerTest.java|   7 ++
 .../xwork2/inject/ContainerImplTest.java   | 120 ++---
 .../xwork2/inject/EarlyInitializableBean.java} |  32 +++---
 .../xwork2/inject/InitializableBean.java}  |  32 +++---
 .../xwork2/ognl/SetPropertiesTest.java |  12 ++-
 .../validator/SimpleActionValidationTest.java  |   6 ++
 .../factory/PrefixBasedActionProxyFactoryTest.java |  19 +++-
 28 files changed, 393 insertions(+), 143 deletions(-)

-- 
To stop receiving notification emails like this one, please contact
"commits@struts.apache.org" .