Commit Graph

2298 Commits

Author SHA1 Message Date
Tapan Avasthi 39f29ec690 BAEL-6015: Split String by Whitespace in Java (#13146)
- Using split() method of String class
- Using StringTokenizer class
- Using split() utility method of the StringUtils class

Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-12-18 22:07:11 -06:00
ACHRAF TAITAI 488bb057d6 BAEL-5927: Sorting a HashSet in Java (#13100)
* BAEL-5927: Sorting a HashSet in Java

* BAEL-5927: Sorting a HashSet in Java (Refacto)

* BAEL-5927: Sorting a HashSet in Java (Refacto)

* BAEL-5927: Sorting a HashSet in Java (Refacto)
2022-12-17 20:34:14 +05:30
edizor 79255cb2c5 Update README.md
[skip ci]
2022-12-15 16:40:17 +08:00
edizor 94e813596a Update README.md
[skip ci]
2022-12-15 16:36:11 +08:00
edizor 3e0e9e6d83 Update README.md
[skip ci]
2022-12-15 16:25:54 +08:00
edizor bf0356fe47 Update README.md
[skip ci]
2022-12-15 16:19:40 +08:00
edizor 082df236be Update README.md
[skip ci]
2022-12-15 16:11:58 +08:00
edizor 6076e9622b Update README.md
[skip ci]
2022-12-15 15:53:18 +08:00
Bogdan Pistol df30c2986f https://jira.baeldung.com/browse/BAEL-5871 added sample code used in article (#12986) 2022-12-15 09:33:07 +05:30
Michael Olayemi abd9f8a38b BAEL-5979 Instanceof Alternatives (#13082)
* simple-thymeleaf-expression

* expression-update

* instanceof

* instanceof

* instanceof

* update

* Update pom.xml

* Update pom.xml

* instanceof

* update

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* update

* pom

* Revert "pom"

This reverts commit c5075e6ba7e1e91159864d57bcbc18dd90314e16.

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* Revert "Revert "Update pom.xml""

This reverts commit a02a1f67d16eb0bc781cc588af48f36fcc93d601.

* Update pom.xml

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* BAEL-5979 Instanceof Alternatives
2022-12-12 20:56:43 -06:00
vunamtien 9c8d1d127d BAEL-5919-java-print-pascal-triangle (#13155)
* pascal triangle

* pascal triangle

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-12-12 11:24:54 +01:00
Azhwani a288f8db7e BAEL-5844: Convert Anonymous Class into Lambda in Java (#13088) 2022-12-12 08:53:16 +01:00
apeterlic 29d97308f6 Add Type Parameter vs Wildcard in Java Generics (#12988)
* Add Type Parameter vs Wildcard in Java Generics

* Fix Logger variable and code format

* Update Cat class

* Add missing import

* Add warning comment
2022-12-12 08:35:27 +01:00
Loredana Crusoveanu 897a98ada4 Merge pull request #13145 from edizor/master
Update README
2022-12-10 15:50:02 +02:00
kwoyke 1d52e2cc86 Merge pull request #13139 from hkhan/JAVA-16711-logging-cleanup
[JAVA-16711] Remove unnecessary system out logging
2022-12-10 13:07:34 +01:00
Loredana Crusoveanu 2285190be6 Merge pull request #13063 from eugenp/sam/move-article-files
[BAEL-5684] Move article files to new module
2022-12-08 16:04:12 +02:00
edizor c9ceba772d Update README.md
[skip ci]
2022-12-08 15:43:38 +08:00
edizor 0276e154a5 Update README.md
[skip ci]
2022-12-08 15:38:32 +08:00
edizor 290eefa062 Merge branch 'eugenp:master' into master 2022-12-08 15:21:13 +08:00
Haroon Khan e367437bb7 [JAVA-16711] Remove unnecessary system out logging 2022-12-07 21:57:15 +00:00
kwoyke 85fded9b10 Merge pull request #13118 from freelansam/JAVA-16260
JAVA-16301: Check Article Code Matches GitHub
2022-12-07 20:59:38 +01:00
edizor 671116d6ab Update README.md
[skip ci]
2022-12-07 19:31:38 +08:00
edizor 4c752a371f Update README.md
[skip ci]
2022-12-07 19:25:14 +08:00
Dhawal Kapil e9a11ae9ed JAVA-16288 Fixed core-java-jndi unit test (#13135)
* JAVA-16288 Fixed core-java-jndi unit test

* JAVA-16288 Disabled
givenNoContext_whenLookupObject_thenThrowNoInitialContext test
2022-12-07 00:20:28 +05:30
davidmartinezbarua 0a0d532995 Merge pull request #13099 from etrandafir93/features/BAEL-5819-java_collections_pecs
BAEL-5819: java collections pecs
2022-12-06 15:29:43 -03:00
Bhaskar Ghosh Dastidar e858d14b86 [JAVA-6029] reversing a stack (#13122)
* [JAVA-6029] reversing a stack

* [JAVA-6029] un-necessary file changes removed

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2022-12-06 16:56:02 +01:00
Loredana Crusoveanu 70e1917f1e Merge pull request #13130 from collaboratewithakash/master
backlink fixed
2022-12-05 17:14:23 +02:00
collaboratewithakash b68aaace05 backlink fixed 2022-12-05 16:36:12 +05:30
alemoles 316cd48b48 BAEL-5960 - Functors in Java (#13125) 2022-12-04 23:02:24 -08:00
Azhwani 5f939afaf0 BAEL-5931: Default Capacity of ArrayList (#13110) 2022-12-02 18:50:50 +01:00
freelansam 290581f15b JAVA-16301: Check Article Code Matches GitHub 2022-12-02 18:53:08 +05:30
freelansam 998415cd47 JAVA-16301: Check Article Code Matches GitHub 2022-12-02 18:45:30 +05:30
Arya c22f091771 Added the code for "Errors and Exceptions in Java". (#13104)
* Added the code for "Errors and Exceptions in Java".

* Added the unit tests.
2022-11-30 11:51:46 -08:00
jsgrah-spring 21c42ebebc JAVA-12387. Correct/Rename THREADS to TASKS and int threads to int tasks. (#13084) 2022-11-30 23:19:52 +05:30
edizor de10836e67 Update README.md
[skip ci]
2022-11-30 07:43:45 +08:00
edizor 1ba60da892 Update README.md
[skip ci]
2022-11-30 07:26:23 +08:00
edizor 9b06e15e96 Update README.md
[skip ci]
2022-11-30 07:24:05 +08:00
edizor a8f68d47af Update README.md
[skip ci]
2022-11-30 07:19:54 +08:00
Kilian Schneider 4d330a1b85 BAEL-5785 Map.of() vs Map.ofEntries() test (#13064)
* BAEL-5785 Map.of() vs Map.ofEntries() test

* Update pom.xml

* Update pom.xml

* Add immutable test case

* Update map naming
2022-11-28 20:33:35 -06:00
alemoles 965cf501f5 BAEL-5981 - String Interpolation in Java (#13092) 2022-11-27 14:28:44 -08:00
Gaetano Piazzolla 53dbea8d56 BAEL-5921 | Guide to Java Priority Queue (#13087)
* BAEL-5921 | Guide to Java Priority Queue

* BAEL-5921 | Adressed comments

* BAEL-5921 | Fixed test

* BAEL-5921 | Fixed test
2022-11-27 20:00:09 +01:00
emanueltrandafir1993 d804060040 BAEL-5819: java collections pecs 2022-11-27 19:02:37 +01:00
Olu f191427bea Convert between LocalDateTime and ZonedDateTime - BAEL-5879 (#13057)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR

* swapped the order of arguments for assertEquals()

* completed code for Convert between LocalDateTime and ZonedDateTime

* fixed module name

* update

* update

* added more assertions

* update

* added more example

* update

* jenkin build error fix

* jenkin build error fix

* jenkins build fix

* fixed suggested comments

* update

* update
2022-11-27 18:16:22 +05:30
pedrolopes 790974461f BAEL-5922 User for Optional in Java (#13051)
* repositories. model class. initial tests

* tests declarative api

* removing from module java 11

* copy to optional module

* fix assertEquals import
2022-11-27 17:38:38 +05:30
edizor f43520bdd3 Update README.md
[skip ci]
2022-11-25 15:59:07 +08:00
edizor 66dbd3105e Update README.md
[skip ci]
2022-11-25 15:22:31 +08:00
edizor 065358af8f Update README.md
[skip ci]
2022-11-25 14:46:53 +08:00
edizor 7377c93d7a Update README.md
[skip ci]
2022-11-25 14:42:29 +08:00
edizor 802a0d3de7 Update README.md
[skip ci]
2022-11-25 14:36:06 +08:00
edizor ca9e3d864b Update README.md
[skip ci]
2022-11-25 14:31:33 +08:00