Commit Graph

64 Commits

Author SHA1 Message Date
Erick Audet M.Sc af1636fe23 BAEL-2509
* New section in InputStream to byte array article and recreating branch.

* Minor typo

* Code reformat using intellij formatter.

* Code reformat using intellij formatter.

* guava implementation to be completed

* guava implementation

* Added assert to guava test

* Fix formatting

* Formatting using Baeldung format

* Based on Josh comments, I removed some code BAEL-2509

* Removed all references to File

* Update fork from upstream

* Update fork from upstream

* Merhe Upstream

* Remove all references to FileInputStream (Josh Comments)

* Delete CustomBaeldungQueueUnitTest.java
2019-01-17 10:21:30 -07:00
Amy DeGregorio 0bfa50825b BAEL-2499 Write to CSV in Java - updated (#6135)
* example code for Article How to Write to a CSV File in Java

* Updated to use a Stream

* Updated to use Streams in convertToCSV for BAEL-2499
2019-01-15 21:31:37 +01:00
Loredana Crusoveanu f53c247946
Merge pull request #6119 from FDPro/master
dupirefr/dupire.francois+pro@gmail.com [BAEL-2531] Directories creation tests
2019-01-12 18:35:00 +02:00
Amy DeGregorio 583969b59d BAEL-2499 Write to CSV in Java - Updated PR (#6122)
* example code for Article How to Write to a CSV File in Java

* Updated to use a Stream
2019-01-11 19:28:10 +01:00
Erick Audet M.Sc c5415eecac BAEL-2059
* New section in InputStream to byte array article and recreating branch.

* Minor typo

* Code reformat using intellij formatter.

* Code reformat using intellij formatter.

* guava implementation to be completed

* guava implementation

* Added assert to guava test

* Fix formatting
2019-01-10 15:16:53 -07:00
dupirefr bb966c8e14 [BAEL-2531] Directories creation tests 2019-01-10 08:51:53 +01:00
Amy DeGregorio 128817cfeb example code for Article How to Write to a CSV File in Java (#6102) 2019-01-09 22:20:47 +02:00
amit2103 b4ff5c46f0 [BAEL-11402] - Moved articles out of core-java (part 3) 2018-12-30 01:19:12 +05:30
amit2103 78735f582b [BAEL-10866] - Upgrade jackson version in tutorials repository 2018-12-16 23:57:08 +05:30
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