Commit Graph

1596 Commits

Author SHA1 Message Date
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Maciej Glowka 000ae20d5d BAEL-5134: an example of constructor chaining, added unit tests 2021-11-02 23:15:16 +01:00
Teica d17c2be712 BAEL-5195 split string by multiple delimiters (#11356)
* BAEL-5195 split string by multiple delimiters

* Delete baeldun

* added assertions of the content

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2021-10-30 09:37:54 -05:00
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
johnA1331 d014cb6990 Update README.md 2021-10-28 01:50:12 +08:00
Amitabh Tiwari 82026b3fff Merge branch 'master' into BAEL-5146-Validate-Serialization 2021-10-24 07:05:06 +05:30
Amitabh Tiwari 40c6b489d8 Update SerializationUnitTest.java
Changes to add more tests.
2021-10-24 07:03:35 +05:30
Kayvan Tehrani d6be7a2528 resolving (BAEL-5148) Get String Character by Index in Java (#11340)
* resolving (BAEL-5148) Get String Character by Index in Java

* changing method name from *_thenCorrect() to *_thenSuccess()

* reverted README changes according to the editor suggestion

* extra snippet removed inorder to comply with the article edits
2021-10-23 22:16:51 +05:30
johnA1331 6194ed1d08 Update README.md 2021-10-21 22:12:41 +08:00
johnA1331 8ae64fa5dc Update README.md 2021-10-21 22:06:53 +08:00
johnA1331 6b244618b8 Update README.md 2021-10-21 22:04:21 +08:00
Daniel Strmecki 00b22063ef Feature/bael 5177 switch pattern matching (#11345)
* BAEL-5177: New module using Java 17

* BAEL-5177: Add unit tests

* BAEL-5177: Add switch example

* BAEL-5177: Update type pattern test

* BAEL-5177: Total type example

* BAEL-5177: Refactor

* BAEL-5177: Move implementation to separate class

* BAEL-5177: Tabs to spaces
2021-10-20 22:29:46 +05:30
Amitabh Tiwari 2fa7ea1f22 Changes to PO
Changes to add transition and volatile
2021-10-19 07:24:07 +05:30
JoannaaKL 2f183181d4 BAEL-5149 (#11241)
* Init

* Removing mvnw files

* Apply eclipse code format

* Refactoring

* Refactoring

* BAEL-4211 Add benchmarks

* Delete hexagonal directory

* Refactoring based on the feedback

* Refactoring based on feedback - package rename

* Directory rename

* BAEL-5149 Remove accents from String in Java

* BAEL-5149 Remove accents from String in Java

* Including suggestions after a review

Co-authored-by: asia <joannakrzeklubowiecka@protonmail.com>
2021-10-17 12:06:43 +05:30
Willian Nalepa Oizumi 979db86a51 examples for BAEL-5153 - remove double quotes (#11344) 2021-10-17 08:14:31 +02:00
lsieun 6d1cdbe9d7 BAEL-4522: Convert Byte Array to its Numeric Representation (#11267)
* Convert Byte Array to its Numeric Representation

* Remove Redundant Getter Method
2021-10-17 10:59:38 +05:30
Amitabh Tiwari 8ee5afcf26 Merge branch 'BAEL-5146-Validate-Serialization' of https://github.com/amitiw4u/tutorials into BAEL-5146-Validate-Serialization 2021-10-16 08:11:57 +05:30
Amitabh Tiwari c0443cbd1c Merge branch 'eugenp:master' into BAEL-5146-Validate-Serialization 2021-10-16 08:03:52 +05:30
Amitabh Tiwari 008e340482 Update SerializationUtils.java
Updating serialization Utils
2021-10-15 19:25:52 +05:30
Amitabh Tiwari 98528e849e Style Correction
Style Correction
2021-10-15 09:26:11 +05:30
Amitabh Tiwari e0ca514118 Method for validation of Serializable Objects
Method for validation of Serializable Objects
2021-10-15 09:13:02 +05:30
Amitabh Tiwari e2f8cdd817 Serialization Validation initial commit
Changes for Adding Tests Serialization Validation
1: Added utility Method.
2: Added Tests
2021-10-15 08:36:43 +05:30
johnA1331 d64b8f1b2c Update README.md 2021-10-13 23:55:55 +08:00
priya-soni f95568145a BAEL-5162 : HashMap Entry Removal (#11276) 2021-10-11 07:14:58 +02:00
polomos 95fdf94aee BAEL-5140 Retrieve field's annotations (#11254) 2021-10-10 20:30:06 -05:00
Loredana Crusoveanu eb64f25808 close jndi context 2021-10-08 11:58:38 +03:00
Loredana Crusoveanu e853b70bfc Merge pull request #11296 from johnA1331/master
BAEL-41828 - add links to github-baeldung articles
2021-10-07 09:04:16 +03:00
johnA1331 686534e18f Update README.md 2021-10-07 00:37:33 +08:00
johnA1331 c3aa4a902c Update README.md 2021-10-06 23:43:24 +08:00
freelansam a5bcd85b16 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
kwoyke 3d1d04d697 Merge pull request #11272 from Rafael-Lopez/feature-JAVA-6406
JAVA-6406: Update 'Exploring the New HTTP Client in Java' article
2021-10-04 09:10:14 +02:00
Greg 2d85f40297 Merge pull request #11214 from hmdrzsharifi/BAEL-5079
BAEL-5079: Update "Base64 Encoding" article
2021-10-02 15:02:10 -04:00
Rafael Lopez e41a8d5cc8 JAVA-6406: Update 'Exploring the New HTTP Client in Java' article 2021-10-01 14:21:15 -04:00
johnA1331 98a5c931b0 Update README.md 2021-09-29 23:38:32 +08:00
Jonathan Cook cd3c5e3ee5 Merge pull request #11105 from gupta-ashu01/master
BAEL-4932-Email Validation in Java
2021-09-28 09:52:11 +02:00
Ralf Ueberfuhr 7b47645746 BAEL-5167: add sample key implementations and test the correct functionality and the performance of those keys in a HashMap (#11260) 2021-09-28 06:58:14 +03:00
rvsathe 82b38e998f BAEL 4293 correcting the unit test file ame. (#11258) 2021-09-26 22:00:14 +05:30
Haroon Khan 00026a8d5b [JAVA-6005] Reduce logging (#11247) 2021-09-26 08:58:09 +05:30
Loredana Crusoveanu e852724228 Merge pull request #11255 from johnA1331/master
BAEL-40948 - Main - github-related test fixes (09.2021)
2021-09-25 12:15:42 +03:00
Loredana Crusoveanu b0834a7c3f BAEL-5065-v2 deleted files already moved to core-java-16 module 2021-09-24 16:49:31 +03:00
johnA1331 68ef34b2bf Update README.md 2021-09-24 15:11:04 +08:00
johnA1331 63d7cdbaf8 Update README.md 2021-09-24 15:07:19 +08:00
johnA1331 d73e9d482b Update README.md 2021-09-24 12:46:57 +08:00
johnA1331 3fd423081e Update README.md 2021-09-24 12:43:24 +08:00
johnA1331 9e7269b14d Update README.md 2021-09-24 12:37:24 +08:00
johnA1331 c081431dfe Update README.md 2021-09-22 23:00:59 +08:00
johnA1331 0734d1ba53 Update README.md 2021-09-22 22:59:04 +08:00
johnA1331 b4facc51bd Update README.md 2021-09-22 22:55:58 +08:00
johnA1331 b6aaae3059 Update README.md 2021-09-22 22:46:39 +08:00
johnA1331 b4b55cf2c6 Update README.md 2021-09-22 22:41:26 +08:00
LiamGve 861a8e19a4 BAEL-5069 code for article on new features in the Java 16 incremental… (#11176)
* BAEL-5069 code for article on new features in the Java 16 incremental release

* BAEL-5069 added some details around Vector API example and enable-preview in maven to allow package to build

Co-authored-by: Liam Garvie <liamgarvie@Liams-MacBook-Pro.local>
2021-09-22 08:33:17 +01:00
doodoroma ed777a4654 Merge pull request #11159 from rvsathe/master
commits for BAEL 4293
2021-09-21 22:21:22 +02:00
Greg e4a5b01840 Merge pull request #11223 from lsieun/master
BAEL-5122: Add new section on instanceof
2021-09-21 16:15:50 -04:00
Kai Yuan bf1131eac5 add unit-test class for the issue 5155 (#11217) 2021-09-20 20:37:35 -05:00
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
saikatcse03 da13dd1aaf Added code to demo expected package error (#11045)
* Added code for demo package error

* Corrected the package declaration

* BAEL-4216 Corrected Formatting and Removed final and Super

* Added few comments as per PR

* Update Book.java

Formatted comments with spaces

Co-authored-by: ine12363914 <saikat.chakraborty@tesco.com>
2021-09-18 17:36:00 +01:00
Trying something new 3260466f5b Formatting Changes for Java 5074 (#11206)
* Formatting Changes for Java 5074

Changed line change indentation to 2 spaces

* Rename StreamToListComparisonWithCollectorsToListUnitTest to StreamToListComparisonWithCollectorsToListUnitTest.java
2021-09-18 08:50:24 +05:30
rvsathe d799c1cd85 Merge branch 'eugenp:master' into master 2021-09-17 08:42:27 +05:30
rvsathe a6ecf8743d BAEL 4293 reinserted the pom dependency 2021-09-17 08:41:48 +05:30
johnA1331 8e92dc0c5c Update README.md 2021-09-15 22:04:47 +08:00
johnA1331 d1f81f20da Update README.md 2021-09-15 22:03:24 +08:00
johnA1331 188b8fa368 Update README.md 2021-09-15 21:59:56 +08:00
515882294 28d708a2fa Add new section on instanceof 2021-09-14 19:41:34 +08:00
JoannaaKL 6a638120dc Jira BAEL-4211 (#11193)
* Init

* Removing mvnw files

* Apply eclipse code format

* Refactoring

* Refactoring

* BAEL-4211 Add benchmarks

* Delete hexagonal directory

* Refactoring based on the feedback

* Refactoring based on feedback - package rename

* Directory rename

Co-authored-by: asia <joannakrzeklubowiecka@protonmail.com>
2021-09-13 20:01:26 -05:00
Ashish Gupta f73f1c2fdf Update EmailValidationUnitTest.java 2021-09-12 14:53:30 +05:30
Ashish Gupta c942476eba Update EmailValidationUnitTest.java 2021-09-12 13:20:42 +05:30
Ashish Gupta 23c11caf77 Update EmailValidation.java 2021-09-12 13:19:16 +05:30
Ashish Gupta a0c85c2a5a Merge branch 'eugenp:master' into master 2021-09-12 13:18:26 +05:30
rvsathe 34af1ae63d BAEL 4293 changed the pom.xml formatting. 2021-09-11 16:24:30 +05:30
sharifi f8353b071d BAEL-5079: upgrade commons-codec version 2021-09-11 12:21:33 +04:30
johnA1331 ba840cd655 Update README.md 2021-09-09 00:40:12 +08:00
polomos 540690b06e BAEL-4266 Test default cryptography strength (#11155) 2021-09-08 18:29:09 +05:30
kwoyke db282b93e5 Merge pull request #11191 from Maiklins/JAVA-5393-Update_Java_9_Process_API_Improvements_article
JAVA-5393 Update Java 9 Process API
2021-09-06 14:17:31 +02:00
Mainak Majumder ec6f5d90cc source code for bealdung article "Find IP address of client" (#10995)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Source code for Baeldung article BAEL-4896

* update code

* source code for Baeldung article bael-4896

* add main method to client and server

* remove comment

* include command-line argument option for client, remove try-catch block

* update greetings message section
2021-09-05 23:08:08 +01:00
rvsathe a1e67a4a23 Merge branch 'master' of https://github.com/rvsathe/tutorials 2021-09-03 08:30:48 +05:30
rvsathe 935f5d24e7 Merge branch 'eugenp:master' into master 2021-09-03 08:30:15 +05:30
rvsathe 5868802a11 changing Test names as per BDD convention 2021-09-03 08:28:55 +05:30
mbarriola 9bcb0c4b1b Bael 5073 guide to multi map (#11179)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Source code for Guide to Stream::mapMulti
2021-09-02 12:55:08 +02:00
johnA1331 54d42ee7b4 Update README.md 2021-09-01 22:10:12 +08:00
mikr 2453ef75bb JAVA-5393 Update Java 9 Process API 2021-08-31 17:30:10 +02:00
Remy Ohajinwa 622ac3e401 BAEL-5064 Format Duration (#11144)
* BAEL-5064 Format Duration

* BAEL-5013 deleted utility class

* BAEL-5013 format duration

* changed Joda-time version

Co-authored-by: Remy Ohajinwa <remy.ohajinwa@interswitchgroup.com>
2021-08-30 19:41:25 -05:00
johnA1331 2f709969e0 Update README.md 2021-08-25 21:41:31 +08:00
Ashish Gupta 031f6df8b0 Merge branch 'eugenp:master' into master 2021-08-24 16:22:08 +05:30
rvsathe b8f15c88fa commits for BAEL 4293 2021-08-24 09:22:12 +05:30
mbarriola 70283b1191 Bael 5066 aggregate over multiple fields (#11156)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Aggregation of multiple attributes of a grouped result
2021-08-22 22:57:09 +02:00
kwoyke 73cef3bfa9 Merge pull request #11137 from Maiklins/JAVA-5950-Reduce_size_of_core-java-os
JAVA-5950 Reduce size of core-java-os.
2021-08-18 13:40:00 +02:00
mikr a9ae125165 JAVA-5950 Reduce size of core-java-os. 2021-08-18 12:35:08 +02:00
johnA1331 e41935bb7c Update README.md 2021-08-18 13:11:58 +08:00
johnA1331 f01a4b4d40 Update README.md 2021-08-18 13:10:05 +08:00
kwoyke e2b8acdc2e Merge pull request #11123 from hkhan/JAVA-6221-fix-TimeApi-unit-test
[JAVA-6221] Fix TimeApi unit test
2021-08-17 18:58:46 +02:00
Haroon Khan 6f11290160 [JAVA-6221] Test clean up 2021-08-17 12:12:55 +01:00
mikr 357a6e1ea8 JAVA-5948 Reduce size of core-java. Remove input.txt (unused). 2021-08-17 10:36:59 +02:00
mbarriola 640f0d6dde Java 5065 (#11126)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key
2021-08-16 23:43:53 +02:00
Ashish Gupta 7caefe62b7 Update EmailValidationUnitTest.java 2021-08-16 11:58:55 +05:30
Ashish Gupta e817cffca0 Update EmailValidationUnitTest.java 2021-08-16 11:51:31 +05:30
Ashish Gupta 6d75bb0cc1 Update EmailValidation.java 2021-08-16 11:50:58 +05:30
Ashish Gupta 500eb2ef90 Merge branch 'eugenp:master' into master 2021-08-16 11:49:48 +05:30
Jonathan Cook 75cdfa2e37 Merge pull request #11101 from Saber-k/master
[BAEL-5041] Validate String as file name in Java
2021-08-15 07:43:49 +02:00
Haroon Khan f9dc97d25e [JAVA-6221] Fix TimeApi unit test 2021-08-13 19:02:15 +01:00
Mateusz Szablak c99989e599 [BAEL-5041] Validate String as file name in Java 2021-08-13 09:36:54 +02:00