Commit Graph

64 Commits

Author SHA1 Message Date
Lucas Cabral 0339ff4550 Fix meaningless close 2020-11-17 19:04:53 -03:00
Lukasz Lenart c253b7f480 WW-4789 WW-3788 Marks CONTAINER as deprecated on behalf using helper methods 2020-04-10 19:39:10 +02:00
Lukasz Lenart 8e6815e115 WW-4789 WW-3788 Stops using get() 2020-04-08 08:22:00 +02:00
Lukasz Lenart dfda16d743 WW-4789 WW-3788 Introduces helper methods to allow build fluent API 2020-04-05 17:48:59 +02:00
Lukasz Lenart 1bfa1ce6d1 WW-4789 WW-3788 Adds instance bind() to simplify bind operation 2020-04-05 07:46:56 +02:00
Lukasz Lenart 1a8c751b9a WW-4789 WW-3788 Uses bind() instead of bound() 2020-04-05 07:46:56 +02:00
Lukasz Lenart f4aa4ee09a WW-4789 WW-3788 ActionContext refactoring 2020-04-05 07:46:56 +02:00
Lukasz Lenart 71d4a7be3b WW-5047 Upgrades to VelocityEngine 2.1 and VelocityTools 3.0 2020-02-01 12:49:01 +01:00
JCgH4164838Gh792C124B5 3eaeed1699 Update length check in testComplex() to compensate for miscalculation of expected length.
- Test jsp is processed into a 218 line String, meaning 218 more characters (crlf vs lf)
  on Windows vs. Linux/Unix.
2018-12-31 17:24:08 -05:00
JCgH4164838Gh792C124B5 b2b3b556f3 Update Embedded JSP Plugin to utilize the most current Tomcat Juli/Jasper still compatible with JDK 7.
- Replaced AnnotationHelper with InstanceHelper due to removal of AnnotationProcessor in Tomcat 7+.
- Tomcat Juli/Jasper Maven artifact ids changed with Tomcat 7+.
- Addition of tomcat-api dependency due to changes in Jasper for Tomcat 7+.
- Applied changes to embedded plugin modules required due to Jasper API changes.
- Additional unit tests for better test coverage.
2018-12-31 01:16:24 -05:00
Sebastian Peters 80e50c1367 Remove unused private methods 2018-11-20 21:13:12 +01:00
Sebastian Peters 176a0d7752 Fix: Resources should be closed
Java 7 introduced the try-with-resources statement,
which implicitly closes Closeables.

Fixes sonar rule squid:S2095
2018-11-19 22:29:46 +01:00
Lukasz Lenart 2a60c1eee6 [WW-4981] Adds support for JDK11 (#270)
* Upgrades test dependencies

* Drops unused lib

* Uses AssertJ instead of FestAssert

* Upgrades Surefire Maven Plugin to 2.22.1

* Downgrades to AssertJ 2.x to support JDK7

* decouple tests from java version

Refactor a java 9 conditional test to work always with any java version

See also WW-4845

* fix NullPointerException in NotURLClassLoader tests

Also includes a few improvements

See also WW-4845

* do not specify threadCount & forkMode which breaks tests in java 9

See also WW-4845

* pass all current tests with java 11

See also WW-4981

* fix an odd path problem in java 9

See also WW-4845

* gitignore test-output

See also WW-4981

* ask travis an oracle jdk 11 build

See also WW-4981

* ask travis to report coverage only in latest working jdk, jdk8

See also WW-4845
2018-11-19 10:35:01 +03:30
Yasser Zamani 02abab365a satisfy coveralls via testing with a not URLClassLoader
See also WW-4845
2018-11-14 16:39:44 +03:30
Yasser Zamani a5d888a373 pass all current tests with java 9
See also WW-4845
2018-11-11 14:31:35 +03:30
Lukasz Lenart 8b95838c58 Adds proper XML header 2017-10-22 12:29:13 +02:00
Lukasz Lenart cd85d7017b Fixes encoding 2017-10-22 08:55:09 +02:00
Lukasz Lenart 4a1d42e3d5 Fixes encoding 2017-10-22 08:54:18 +02:00
Lukasz Lenart 885ad89d49 Adds missing header with license and fixes tests 2017-10-21 18:55:42 +02:00
Lukasz Lenart a03373022d Adds missing header with license 2017-10-21 18:40:42 +02:00
Lukasz Lenart e7c65fb0b4 Adds missing header with license 2017-10-21 17:47:51 +02:00
Lukasz Lenart 73359c480b Adds missing header with license 2017-10-21 11:24:48 +02:00
Lukasz Lenart e678792430 Adds missing header with license 2017-10-21 11:01:31 +02:00
Lukasz Lenart cb389d292d Fixes Maven site generation 2017-10-20 09:05:29 +02:00
Lukasz Lenart 69da41eb79 WW-4572 Fixes issue with file upload 2016-10-07 10:05:38 +02:00
Lukasz Lenart 70fdc00f66 Merge remote-tracking branch 'upstream/master' into http-parameters 2016-07-15 10:53:50 +02:00
Lukasz Lenart e60119436a WW-4632 Uses proper DTD version 2016-06-12 13:10:49 +02:00
Lukasz Lenart 059ebc72c2 Updates tests 2015-11-25 19:57:24 +01:00
Lukasz Lenart 60b9d85d44 Adjusts usage of parameters 2015-11-25 19:57:24 +01:00
Johannes Geppert 775c82a743 WW-4531- Improve javadoc to be compatible with more strict JDK8 javadoc standard 2015-07-24 20:27:31 +02:00
Johannes Geppert eb564a25e1 Fix wrong closing HTML tags in javadoc comments 2015-07-16 22:02:21 +02:00
Lukasz Lenart 6bc99ab939 WW-4518 Moves results to dedicated package 2015-06-23 17:14:27 +02:00
Lukasz Lenart 0fada66b85 WW-4518 Drops deprecated methods 2015-06-23 12:46:29 +02:00
Johannes Geppert 8e8771153a WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
- Use log4j2 placeholder for logging messages and optimize logging a bit
2015-05-25 21:25:50 +02:00
Johannes Geppert 95805e54f7 WW-4504 - Mark current logging layer as @deprecated and use Log4j2 as default one
- Use log4j2 Logger and LogManager instead of xwork implementation everywhere
2015-05-25 12:42:23 +02:00
Lukasz Lenart 5f2898eadf Cleans up Maven generated website 2014-12-02 12:41:06 +01:00
Christian Grobmeier 5e3e793576 removed unused site folder and site.xml
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1521449 13f79535-47bb-0310-9956-ffa450edef68
2013-09-10 12:08:04 +00:00
Bruce Allen Phillips 90b51e4381 WW-4126 - changed logic of is statement so that every element in the Object array is compared to null
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1504168 13f79535-47bb-0310-9956-ffa450edef68
2013-07-17 15:11:41 +00:00
Lukasz Lenart 535481d46e WW-4120 Improves loop
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502453 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:18:54 +00:00
Lukasz Lenart a2f6ec9921 WW-4124 Improves loop
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1502446 13f79535-47bb-0310-9956-ffa450edef68
2013-07-12 07:09:42 +00:00
Lukasz Lenart 75f8048186 WW-4115 Adds break to break immediately after "deferred" is set to "true"
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1494873 13f79535-47bb-0310-9956-ffa450edef68
2013-06-20 06:51:30 +00:00
Lukasz Lenart eb2a9eb8ff WW-3593 Adds missing html files
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1486344 13f79535-47bb-0310-9956-ffa450edef68
2013-05-25 16:37:42 +00:00
Lukasz Lenart 34af1cd8a2 WW-3998 Extracts interface and adds default implementation base on existing code
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1456961 13f79535-47bb-0310-9956-ffa450edef68
2013-03-15 14:02:12 +00:00
Lukasz Lenart 2f465f8daf WW-3917 removes FileManager dependency from UrlSet
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1406110 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 12:18:21 +00:00
Lukasz Lenart 4b890345e8 WW-3915 solves problem with reloading configs in devMode on each request
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1406052 13f79535-47bb-0310-9956-ffa450edef68
2012-11-06 06:19:04 +00:00
Lukasz Lenart f8a30084d4 WW-3819 moves inject of reload property directly into FileManager
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1357481 13f79535-47bb-0310-9956-ffa450edef68
2012-07-05 07:31:14 +00:00
Lukasz Lenart 09adba0f66 WW-3818 - extracts JBoss specific code into JBossFileManager and some code clean ups
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1352301 13f79535-47bb-0310-9956-ffa450edef68
2012-06-20 20:27:39 +00:00
Lukasz Lenart fca4405004 WW-3817 introduces FileManagerFactory with default implementation and refactors all the code to use the new approach
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1338643 13f79535-47bb-0310-9956-ffa450edef68
2012-05-15 11:05:50 +00:00
Lukasz Lenart c52cd98c9e WW-3777 converts UrlHelper into an interface with default implementation, cleanups code and adds support for generics
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1303298 13f79535-47bb-0310-9956-ffa450edef68
2012-03-21 07:11:29 +00:00
Lukasz Lenart 6ec3d2a8b6 WW-3758 - upgrade commons-lang to version 3.1
git-svn-id: https://svn.apache.org/repos/asf/struts/struts2/trunk@1292705 13f79535-47bb-0310-9956-ffa450edef68
2012-02-23 08:40:53 +00:00