Commit Graph

55 Commits

Author SHA1 Message Date
Loredana Crusoveanu 06d925e90d
Merge pull request #5621 from holgerl/patch-1
FileOutputStream is never closed
2018-12-15 18:13:47 +02:00
charlesgonzales 31858afca7 Bi-monthly test failure - fix (BAEL-10330) (#5736)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-11-22 05:49:54 +01:00
charlesgonzales 23143a0c17 Bi-monthly test fix - BAEL-10195 (#5626)
* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD
2018-11-08 21:23:23 +01:00
Marko Previsic 5a5c5c34b5 Guide to BufferedReader
Issue: BAEL-2255
2018-11-06 17:24:41 -07:00
Holger Ludvigsen 770b28f241
FileOutputStream is never closed
The output file stream is not closed, so it is still in use by the Java process after the code runs. I noticed this when trying to delete the output files right afterwards.
2018-11-05 15:39:11 +01:00
Eric Martin 2ac03eb218
Merge pull request #5524 from eugenp/Issue-5497
UnzipFile is vulnerable to Zip Slip #5497
2018-10-25 23:55:20 -05:00
José Carlos Valero Sánchez 75b2ba2efa
Merge pull request #5517 from PranayVJain/BAEL-2236
BAEL-2236: Reading a CSV file into a array
2018-10-23 19:39:13 +01:00
charlesgonzales fc13924962 Bi-monthly fix (BAEL-9663) (#5523)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2018-10-23 01:57:41 -07:00
eric-martin 917c64307a UnzipFile is vulnerable to Zip Slip #5497 2018-10-22 21:57:52 -05:00
Pranay jain daa1de25a2 BAEL-2236: Reading a CSV file into a array 2018-10-22 11:06:25 +05:30
Loredana Crusoveanu b3a6a60100 add txt files for zip 2018-10-13 19:15:02 +03:00
eric-martin e908b96eef BAEL-2257: Renamed OutputStreamExamplesTest to *UnitTest 2018-10-10 22:09:45 -05:00
eric-martin 26c9bdcc0d BAEL-2257: Renamed OutputStreamExamplesTest to *UnitTest 2018-10-10 20:23:32 -05:00
Kumar Chandrakant 11dd36cb1a Adding files for the article BAEL-2257: Guide to OutputStream (#5386) 2018-10-08 15:52:59 +02:00
Loredana Crusoveanu dcf5a40c3f remove import 2018-09-30 11:14:54 +03:00
Loredana Crusoveanu 8cff5212f9 update read file test 2018-09-30 11:13:35 +03:00
charlesgonzales 4cbc8d0bac To add/fix links (Team Jira BAEL-9015) (#5332)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-27 09:09:58 +02:00
Loredana Crusoveanu 74a6d38d24 fix for zip empty dir 2018-09-22 21:09:23 +03:00
Loredana Crusoveanu c615ed9e34
Merge pull request #5284 from dkapil/task/BAEL-8958
BAEL-8958 Fix surefire configs of activejdbc, apache-shiro, asm, cas-…
2018-09-21 23:39:56 +03:00
Dhawal Kapil 400f2ce8dc BAEL-8958 Fix surefire configs of activejdbc, apache-shiro, asm, cas-secured-app, cas-server and core-java-io project
- Fixed surefire configs and general pom standardization
2018-09-18 06:45:23 +05:30
amit2103 f7b41ba79c [BAEL-8977] - Added junit to read file into string through IOUtils 2018-09-16 23:45:42 +05:30
Rokon Uddin Ahmed fccf56fdc2 BAEL-8287 (#5180)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-07 13:56:13 +03:00
Dhawal Kapil 3ff20c353e BAEL-8497 Update "File to InputStream" article
- Added new tests for data input stream and sequence input stream in JavaXToInputStreamUnitTest
- Added new test resource anothersample.txt
2018-08-27 14:07:09 +05:30
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
Dhawal Kapil 1212404897 BAEL-8219 Fix tests for core-java, maven and core-java-io projects
-Test fixes
2018-08-15 14:25:20 +05:30
Dhawal Kapil 856ca42d23 BAEL-7636 Add the missing plugin versions in the tutorial repo
-Added missing plugin versions
2018-08-14 13:34:45 +05:30
José Carlos Valero Sánchez 42d8fabe6f
Merge pull request #4951 from RanjeetKaur17/develop.0.2.0
Moving File Parser Samples to core-java-io
2018-08-13 10:11:46 +02:00
RanjeetKaur17 43bfb9722f Moving File Parser Samples to core-java-io 2018-08-12 00:07:20 +04:00
Neeraj Yadav 0f1e1a49d9 BAEL-1936 Use of FilenameFilter (#4520)
* Added tests for FilenameFilter demo

-added a test to show FilenameFilter implementation
-added another test to show similar functionality using Predicate

* refactored code to get directory at a single location

* fixing formatting

* changed test class name to conform to custom rule

UnitTestNamingConventionRule lists the allowed test class names. Added ManualTest at the end to conform to the rule.
2018-07-31 22:58:48 +01:00
charlesgonzales f431a4c3ff add links (#4804)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-07-24 19:21:55 +02:00
Sanjay Patel cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00
Loredana Crusoveanu 66f2263b98 add new is to string test 2018-07-09 23:40:29 +03:00
Timoteo Ponce 234107f519 BAEL-1933 Added code examples and unit tests for creating symbolic links (#4608)
* BAEL-1933 Added code examples and unit tests for creating symbolic links

* Fixed PMD violation on unit test naming

* Fixed review comments

* Applied baeldung-eclipse formatter settings
2018-07-05 21:02:31 +02:00
Sanjay Patel f7953fd65d BAEL-6506: Added IntTest to pmd and poms (#4525) 2018-06-22 13:09:57 +02:00
Grzegorz Piwowarek 8bba7874b0
Update JavaReadFromFileUnitTest.java (#4404) 2018-06-08 18:24:22 +02:00
Amit Pandey 2e683411e2 Bael 4461 2 (#4409)
* Deleted md file as a conflict

* [BAEL-4461] - Fixed PMD violation

* [BAEL-4461] - Fixed PMD violation

* [BAEL-4461] - Ignore empty TC

* Fix Spring 5 tests
2018-06-05 13:35:55 +02:00
Rokon Uddin Ahmed 50f5cba9da BAEL-6634 (#4376)
* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-06-01 14:04:12 +02:00
Amit Pandey dfcc0cab05 Bael 6556 2 (#4365)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of testcase renamed
2018-05-29 22:14:19 +02:00
tamasradu c53a361ca0 BAEL-1646 (#4255)
* Adding code for BAEL-1646

* Adding integration tests for BAEL-1646

* Using equalsIgnoreCase to match hashes. Adding cleanup methods

* Corrected junit names
2018-05-22 18:43:13 +02:00
amit2103 05b7e933bd Bael 5247 (#4175)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added new parent pom

* initial clean up of child poms

* Added new parent pom

* [BAEL-5247] - New Parents in the tutorials repo
2018-05-05 22:30:00 +02:00
Grzegorz Piwowarek fdd80a278f
Update README.md (#4155) 2018-05-02 09:20:30 +02:00
Grzegorz Piwowarek b77aa22527
Update README.md (#4152) 2018-05-02 07:26:49 +02:00
amit2103 f2128ad054 Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
2018-04-26 14:37:47 +02:00
amit2103 ba1ba8455d Bael 5249 (#4052)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* Spring-dependency injection

* BAEL-1683-Guide to Java Clock class

* BAEL-1683-Guide to Java Clock class

* added article link

* added article link

* fixed link

* refactoring packages and using generics

* BAEL-717: Singleton Session Bean. (#4046)

* BAEL-717: Singleton EJB Bean

Files for BAEL-717:Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Changed artifactId value.

* BAEL-717: Singleton EJB Bean.

Added module for Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean. 

Removed Singleton EJB Bean Module.

* BAEL-717: Singleton EJB Bean

Changed the JNDI Lookup name.

* BAEL-717: Singleton EJB Bean. 

Added the "singleton-ejb-bean" module.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton Session Bean.

Added class for Bean-Managed concurrrency.
Changed class name from CountryStateCacheBean to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Changing the name of the class to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Added method to test Bean-Managed concurrency.

* Get Latest.

* deleting CountryStateBeanManagedBean for new file.

* deleting CountryStateCacheBean for new file.

* deleting CountryStateContainerManagedBean for new file.

* BAEL-717: Singleton Session Bean.

Adding file for Bean with Bean-Managed concurrency.
Changing file name for original file to CountryStateContainerManagedBean with Container-Managed concurrency.

* Deleting file for new checkin.

* BAEL-717: Singleton Session Bean.

Added test case for Bean-Manged concurrency.
Change in JNDI names.

* BAEL-717: Singleton Session Bean.

Changed the assert method parameter order and null check in test cases.

* BAEL-717:Singleton Session Bean

Removed volatile keyword for the variable countryStatesMap. Marking it as final.

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing

* BAEL 1639: added singleton examples and test. (#3977)

* BAEL-1701 (#4012)

* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* added article links

* removed folder "SpringDependencyInjection"
e Please enter the commit message for your changes. Lines starting

* BAEL-1706 - optional parameters in java (#4050)

* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting

* working with booleans in thymeleaf (#4061)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* Update README.md

* Demonstration of Java assert

* BAEL-1679 (#3959)

* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* spring-data final

* service locator pattern

* service locator pattern

* variable name changes

* Spring MVC @PathVariable dot (.) get truncated

* testing changes

* Update README files (#4065)

* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1369

* BAEL-1369

* BAEL-1369

* remove comments

* Back-link corrected (#4071)

* Back-link corrected (#4073)

* Back-link added (#4074)

* Back-link added (#4075)

* Back-link added (#4076)

* Back-link added (#4077)

* Back-link added (#4078)

* Back-link added (#4080)

* Back-link added (#4081)

* Back-link added (#4083)

* Back-link corrected (#4086)

* Back-link added (#4087)

* Back-link added (#4091)

* Back-link added (#4089)

* added example code for Java mail (#4101)

* Back-link added (#4099)

* Back-link added (#4088)

* Back-link added (#4082)

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup
2018-04-26 08:50:35 +02:00
collaboratewithakash 6f649662b9 Back-link added (#4099) 2018-04-25 17:54:35 +02:00
collaboratewithakash 4f7355873f Back-link added (#4091) 2018-04-25 10:31:03 +02:00
amit2103 86cebe51d7 Bael 5926 (#4023)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Aligned and Defined the common plugins in the parents

* Removed dependency-reduced-pom.xml from undertow module

* Reverting test fail modules with surefire testFailureIgnore ture

* Reverted wrong push with org.hsqldb
2018-04-18 08:04:50 +02:00
amit2103 0466d4613d Added parent module on poms that have no parent defined (#3997)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module
2018-04-14 10:00:05 +02:00
Eugen Paraschiv 14bf9a24d5 testing work 2018-03-04 17:29:04 +02:00
Eugen Paraschiv 7cc57756e1 testing work 2018-03-04 17:28:06 +02:00