Commit Graph

12333 Commits

Author SHA1 Message Date
Alex Tighe 6a6ac00db2 BAEL-6458: Guide to the yield Keyword in Java (#14440)
* BAEL-6229: committing new example for loading multiple yaml configuration files

* BAEL-6229: updating README.md

* BAEL-6229: adding example one code, commented out

* Revert "BAEL-6229: updating README.md"

This reverts commit 51cd2dcf97f797aa6a723888fd246ef0142242a3.

* BAEL-6229: adding comments around commented out code for first example.

* BAEL-6458: creating new module for conditionals and adding examples for yield

* BAEL-6458: creating new module for conditionals and adding examples for yield

* BAEL-6458: rename methods

* BAEL-6458: clean up pom

* BAEL-6458: convert checks to tests

* BAEL-6458: convert checks to tests

* BAEL-6458: convert checks to tests

* BAEL-6458: move examples to just YieldTest and removed YieldExamples class. Also added assigning the value of the switch expression to a variable instead of returning from method. Also added a non-default exhaustive test.

* BAEL-6458: Test clean up based on initial PR feedback.
2023-08-07 18:38:05 +01:00
Kai Yuan 966d488013 Remove Duplicate Values From HashMap in Java (#14519)
* Remove Duplicate Values From HashMap in Java

* fix the typo in the package name
2023-08-06 12:49:57 -05:00
Kasra Madadipouya fdfc98264d Merge pull request #14360 from panos-kakos/TASK-22456
TASK 22456
2023-08-06 15:59:02 +02:00
BHARATH GANESH ad939d477d BAEL-6504: Convert Json Array to Java list (#14049) 2023-08-06 18:10:47 +05:30
Loredana Crusoveanu b9dd050af8 Merge pull request #14538 from eugenp/disable-suanshu
comment suanshu library - see JAVA-24004
2023-08-06 11:02:05 +03:00
Gaetano Piazzolla f90e26db1f JAVA-23319 | Moving DualPrintStream (#14524)
* JAVA-23319 | moving DualPrintStream

* JAVA-23319 | adding checkerror
2023-08-06 10:40:03 +05:30
Kasra Madadipouya 746b11f454 Merge pull request #14530 from GaetanoPiazzolla/JAVA-22203-fix-integration-test
JAVA-22203 | Fixed Race Condition with JMS test
2023-08-05 21:55:31 +02:00
Loredana Crusoveanu 2d02afc626 comment suanshu library - see JAVA-24004 2023-08-05 21:24:21 +03:00
Loredana Crusoveanu 418313aa20 comment suanshu library - see JAVA-24004 2023-08-05 21:15:55 +03:00
GaetanoPiazzolla de718f0950 JAVA-22203 | removed unused throws 2023-08-05 16:00:34 +02:00
GaetanoPiazzolla 51488ba32f JAVA-22203 | Fixed race condition. 2023-08-05 15:57:27 +02:00
Tapan Avasthi 8aecf2fd3f BAEL-6831: Convert an int[] Array to HashSet in Java (#14525)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-08-05 08:44:19 -05:00
Eugene Kovko 760825405a BAEL-6651: Embeddable Records in Hibernate 6 (#14516)
* BAEL-6651: Bumped Spring Boot version

* BAEL-6651: Replaced flaky test

* BAEL-6651: Embeddable example with tests
2023-08-04 19:39:09 +02:00
Josiah Noel 80f4f5a7d0 Add Example Code (#14521) 2023-08-04 11:54:26 +02:00
Vini 2879e21aeb Merge pull request #14526 from vunamtien/BAEL-6541-convert-relative-path-2
BAEL-6541-convert-relative-path-2
2023-08-04 10:53:52 +02:00
Loredana Crusoveanu f2f7fe0ba9 Merge pull request #14531 from eugenp/lor6-patch-1
Update CertificatesUnitTest.java
2023-08-04 11:12:48 +03:00
Loredana Crusoveanu 41d11e7d46 Update CertificatesUnitTest.java 2023-08-04 10:42:58 +03:00
GaetanoPiazzolla 71c4159a87 JAVA-22203 | Forced start and stop + sleep 2023-08-04 09:23:30 +02:00
victorsempere d278ca2066 Feature/BAEL-5575 (#14350)
* BAEL-5575

First commit of the example for the article:
https://drafts.baeldung.com/wp-admin/post.php?post=153774&action=edit

* BAEL-5575

Adjusted pom.xml

* BAEL-5575

Formatted source code

* BAEL-5575

Removed unused import

* BAEL-5575

Renamed UT to follow: https://docs.google.com/document/d/1iIeSPuYFG-jEtB8UbcxQnn2AI3OR2LWlnisNo2NUCL8/edit

* BAEL-5575

Modified pom.xml to define versions in  properties  as stated in:
https://docs.google.com/document/d/1iIeSPuYFG-jEtB8UbcxQnn2AI3OR2LWlnisNo2NUCL8/edit

* BAEL-5575

Changes checking the commands:
* mvn clean install
* mvn clean install -Dgib.enabled=false

* BAEL-5575

Set GB as the base language

* BAEL-5575

Removed explicit references to jakarta in pom.xml
Reduced code to instanciate Thymeleaf engine

* BAEL-5575

Adjusting parent artifactId
2023-08-03 14:45:32 +02:00
tienvn 1e05bb6e98 BAEL-6541-convert-relative-path 2023-08-03 17:59:49 +07:00
neha298 de5e3f519d Spring Boot with Apache Pulsar (#14341)
* Add dead-letter configuration with code refactor

* Add String consumer

* Add customizers in message producers

* Reindent PulsarConsumer.java

* Reindent PulsarProducer.java

* Reindent pom.xml and remove readme

* Update log in PulsarConsumer

* Re-indent main class and remove test directory
2023-08-02 20:21:15 +01:00
Loredana Crusoveanu 7091862cb2 Merge pull request #14522 from edizor/master
Update README
2023-08-02 21:23:01 +03:00
MohamedHelmyKassab 43c4176e9c This commit is for the article BAEL-6788 (#14513)
This commit aims to add a test class (MultiValueHashMapTest) to test the HashMap that allows multiple values to be associated with the same key
2023-08-02 19:47:45 +02:00
Mo Helmy f7998fa4fa This commit is for the article BAEL-6792 (#14512)
This commit aims to add a test class namely (StringToMapUnitTest) that tests the conversion of string and string array into map.
2023-08-02 19:42:36 +02:00
edizor b2ad1cb23e Update README.md
[skip ci]
2023-08-02 21:51:38 +08:00
edizor c7dd2ddee0 Update README.md
[skip ci]
2023-08-02 21:47:51 +08:00
edizor 82375bed38 Update README.md
[skip ci]
2023-08-02 21:43:06 +08:00
edizor dab8eaee2b Create README.md
[skip ci]
2023-08-02 21:37:54 +08:00
edizor eb1b06160f Update README.md
[skip ci]
2023-08-02 21:30:25 +08:00
edizor 696a259a92 Update README.md
[skip ci]
2023-08-02 21:27:38 +08:00
edizor 367514cc3d Update README.md
[skip ci]
2023-08-02 21:22:56 +08:00
edizor 6f01be64f3 Create README.md
[skip ci]
2023-08-02 21:16:59 +08:00
edizor 8004cac172 Update README.md
[skip ci]
2023-08-02 21:13:10 +08:00
edizor 3c2a4e26bf Create README.md
[skip ci]
2023-08-02 21:05:45 +08:00
edizor a5a3428c24 Update README.md
[skip ci]
2023-08-02 21:02:48 +08:00
edizor 283077b86c Update README.md
[skip ci]
2023-08-02 20:56:47 +08:00
edizor 566060513a Update README.md
[skip ci]
2023-08-02 20:54:52 +08:00
edizor fa7766b053 Update README.md
[skip ci]
2023-08-02 20:51:10 +08:00
edizor af7755a76e Update README.md
[skip ci]
2023-08-02 20:47:25 +08:00
edizor 96cd5a6ce1 Update README.md
[skip ci]
2023-08-02 20:41:09 +08:00
edizor 4b2e069aa5 Update README.md
[skip ci]
2023-08-02 20:37:55 +08:00
anuragkumawat d4fec3ad45 JAVA-18523 Upgrade cas module and related articles (#14504)
* JAVA-18523 Upgrade cas module and related articles

* JAVA-18523 Remove deprecated  WebSecurityConfigurerAdapter
2023-08-02 11:00:48 +05:30
timis1 50147f3c8e JAVA-23392 Adding some more example for differences between Scanner n… (#14491)
* JAVA-23392 Adding some more example for differences between Scanner next() vs nextLine()

* Update NextVsNextLineUnitTest.java

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2023-08-01 20:44:56 +05:30
parthiv39731 8f344ca0f7 BAEL-6841 (#14502)
Improvement article - "Check if a String Has All Unique Characters in Java"
2023-08-01 11:52:01 +02:00
Bipin kumar b35f655796 JAVA-22440_01: changes made for reverting the ejb-beans (#14509) 2023-08-01 10:03:07 +05:30
Pedro Lopes 5843e8212a BAEL-6406 - Understanding Kafka Topics and Partitions (#14324)
* consumer config. topic config. driver and calculator classes.

* basic app working. test structure

* final version

* wraping up

* optimizing imports
2023-07-31 21:01:26 -06:00
ovidiumihaitacu c8bca3abc1 [BAEL-6750] - Jackson Polymorphic Deserialization and SubTypes registration using Reflection API (#14503)
* [BAEL-6750] - Jackson Polymorphic Deserialization and SubTypes registration using Reflection API

* Renamed test files

---------

Co-authored-by: ovidiu-mihai98 <57233636+ovidiu-mihai98@users.noreply.github.com>
2023-07-31 19:19:16 +02:00
sachin bb967e0836 BAEL-4895 brokenpipe error (#14346)
Co-authored-by: Sachin kumar <sachin.n.kumar@oracle.com>
2023-07-31 12:15:49 -05:00
Ulisses Lima a0649ba357 BAEL-4165 - Custom DLL Load - Fixing the "java.lang.UnsatisfiedLinkError" Error (#14393)
* first draft

* review 1

* review 1 - test setup
2023-07-31 17:57:13 +02:00
davidmartinezbarua b9180b0eb7 Merge pull request #14481 from sam-gardner/BAEL-6611-completablefuturevsfuturevsrxjava
BAEL-6611 add example code for completablefuture vs future vs rxjava …
2023-07-31 12:48:33 -03:00