Commit Graph

2417 Commits

Author SHA1 Message Date
edizor aa58d16e8f Update README.md
[skip ci]
2022-12-22 22:25:58 +08:00
edizor 65cc5b6d05 Update README.md
[skip ci]
2022-12-22 22:13:12 +08:00
edizor 3f0c4c27a2 Update README.md
[skip ci]
2022-12-22 21:57:36 +08:00
Loredana Crusoveanu 76f06cdd9c Merge pull request #12997 from press0/master
fix getLogger class name
2022-12-22 15:37:35 +02:00
Azhwani c71ade5790 BAEL-6023: Throwing an Exception If an Optional Is Present (#13116) 2022-12-21 17:18:46 +01:00
freelansam 456652e02b JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
pedrolopes 6bb5598904 BAEL-5946: Reading and Writing With a ConcurrentHashMap (#13163)
* consistent read unit test

* unit test to show  consistency in writing to the same key of map

* testing writes at different map key
2022-12-19 22:02:08 +01:00
Ulisses Lima 88f2eca118 BAEL 5842 - Calling JMX MBean Method from a Shell Script (#13028)
* bael 5842

* bael-5842 - editor review 1
2022-12-19 15:29:17 +01:00
cesarevalenti90 0fd77aa664 [BAEL 5909]-Callable vs Supplier and When to Use Them in Java (#13041)
* Added test class for a simple shallow copy and deep copy

* Added test class for a simple shallow copy and deep copy

* refactor naming of test method

* formatted

* refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange

* Renamed package and added md file

* refactor README.md

* first push

* refactor

* Revert "refactor README.md"

This reverts commit eae77c453ba0bf2af62bad52dc1ed61d07931e34.

* Revert "Renamed package and added md file"

This reverts commit 42c6f97cbde39cc0a5e0bacf34f86a32ded4f4aa.

* Revert "refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange"

This reverts commit 44fb57fe2b51857f960dc216d33508e718e5414f.

* Revert "formatted"

This reverts commit 44be87ef25e566b8e9175cb0fdeed7f0ef485dd3.

* Revert "refactor naming of test method"

This reverts commit 6133c31057e39b19c4978f960cda1c0ba5559aae.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit 2cae083578883ae693d1c5e76fd4948e213e9ea0.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit f43312e2c1979410409f46020a3f7d555e11e966.

* Merge prohect java-supplier-callable to project core-java-lambdas

* adjusted package name

* removed AbstractAgeCalculator.java

* added test for supplier-callable

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2022-12-19 19:23:17 +05:30
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
HARDEMAN Sebastien 61b5922c60 Merge branch 'master' of https://github.com/sebx59/tutorials 2022-12-07 15:53:55 +01:00
HARDEMAN Sebastien 9a42f64454 rework following Saajan Nagendra's review 2022-12-07 15:53:34 +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
Bhaskar Ghosh Dastidar d74259b014 [JAVA-5980] First Non Repeating Character (#13072)
* [JAVA-5980] First Non Repeating Character

* [JAVA-5980] renamed UnitTest class

* [JAVA-5980] changed file location to core-java-string-algorithms-3

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2022-11-24 15:41:35 -08:00
panos-kakos fd1bf7a029 [JAVA-13962] Align code with article + clean up (#13012)
* [JAVA-13962] Align code with article + clean up

* [JAVA-13962] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-25 00:53:09 +05:30
sebx59 a30a85ddd4 Merge branch 'eugenp:master' into master 2022-11-24 10:55:33 +01:00
HARDEMAN Sebastien 28f0b329e7 BAEL-5727 - Determine If a Class Implements an Interface in Java
Data model and unit test Class for the BAEL-5727 - Determine If a Class Implements an Interface in Java
2022-11-24 10:49:09 +01:00
Harry9656 21c735364e [JAVA-4543]: Improve Guide to UUID in Java (#12962)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-11-23 17:32:29 +00:00
Harry9656 0ecc5b2c11 [Java-5762]: Using Pipes in Runtime.exec() Command (#12941)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-11-23 17:31:21 +00:00
Harry9656 66fb7ea877 JAVA-5735: Appending a new File to a ZIP file (#13044) 2022-11-22 00:44:18 -07:00
Saajan N e5a62781ce Moved code for BAEL-5752 to new module 2022-11-21 18:06:30 +05:30
Ssam 5e08af14a1 Include new module 2022-11-20 12:17:56 +00:00
Ssam 3c57c4d566 move article files to new module 2022-11-20 12:15:45 +00:00
Songting Xu 032b8e2d64 [BAEL-5840] Sort a collection of Objects on multiple fields (#12950)
* [BAEL-5840] Sort a collection of Objects on multiple fields

* Fix maven plugin version

* Fix pom again

* Fix again

* Move to core-java-collections-4 module

* Remove unused files

* Test renaming

* Handle NPE

* Use Nonnull annotation

* remove redundant dependency

* remove redundant scope

* Update pom.xml
2022-11-19 08:37:29 +05:30
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
panos-kakos b8b8ed889b [JAVA-13963] Align code with article + clean up (#13013)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-17 01:12:28 +05:30
Kumar Prabhash Anand 748ccaef61 BAEL-5801 - adding iterate list unit test (#12883)
* BAEL-5801 - adding iterate list unit test

* BAEL-5801 - replaced record to class

* BAEL-5801 - added spring data dependency

* moved source file in java17 module

* BAEL-5801 updated pom.xml configurations

* BAEL-5801 moved to correct java17 module

* updated example

* BAEL-5801 - making iterator instance strong typed

* BAEL-5801 - removed class example
2022-11-16 18:14:19 +00:00
Loredana Crusoveanu 1c3569f2f3 Merge pull request #13043 from collaboratewithakash/master
back links fixed
2022-11-16 13:16:59 +02:00
collaboratewithakash 016c0d517a backlink removed 2022-11-16 16:10:04 +05:30
Vartika Nigam eae4d33d9c code for thread creation (#12971)
* code for thread creation

* code refactored

* added code for executor service thread pools

* moved the files to a single module

Co-authored-by: Vartika_Nigam <Vartika_Nigam@DellTeam.com>
2022-11-15 21:09:18 -06:00
Loredana Crusoveanu eb131e7f94 Merge pull request #13038 from edizor/master
README
2022-11-15 09:57:23 +02:00
edizor 26471841a8 Update README.md
[skip ci]
2022-11-15 10:06:46 +08:00
Kai Yuan b52f7ef200 [fillEnumInList] Filling a List with All Enum Values in Java (#13005)
* [fillEnumInList] Filling a List with All Enum Values in Java

* [fillEnumInList] change the return type in the util method
2022-11-14 20:03:18 -06:00
edizor 73d56b217b Update README.md
[skip ci]
2022-11-15 10:02:03 +08:00
Kilian Schneider efe6e76d97 basler1337@gmail.com feat add element to array list at specific index (#13025)
* feat add element to array list at specific index

* add unit test for add element at index
2022-11-14 10:48:39 -08:00
Loredana Crusoveanu 984dc79473 Update README.md 2022-11-13 17:58:21 +02:00
panos-kakos ca436ff5e0 [JAVA-13960] Clean up (#12994)
* [JAVA-13960] Clean up

* [JAVA-13960] Rename classes

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-13 17:46:26 +05:30
rehammuzzamil08 fc0c16a3ae BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String (#12827)
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
- Move to a new module core-java-string-apis-2

* BAEL-5670: Add README.md file

* BAEL-5670: Add test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Remove test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Update ordering of modules in pom.xml
2022-11-13 09:38:48 +05:30
davidmartinezbarua 28f86cb991 Merge pull request #12999 from thibaultfaure/BAEL-5925-finding-max-date-in-object-list
BAEL-5925 Code for the finding max date in object list article
2022-11-12 01:25:11 -03:00
thibault.faure 2e126e794c BAEL-5925 Code for the finding max date in object list article 2022-11-11 18:32:57 +01:00
edizor 3fb428a3c6 Update README.md 2022-11-11 16:09:02 +08:00
Loredana Crusoveanu 13698a3ed3 Merge pull request #12936 from achraftt/BAEL-5791-deleteDiedCode
BAEL-5791: adaptation after creating new module
2022-11-11 10:01:33 +02:00
Loredana Crusoveanu 1b48232d56 Merge pull request #12935 from achraftt/BAEL-5791-adaptation
BAEL-5791: Convert String to Instant (creating new module)
2022-11-11 10:00:03 +02:00
edizor 85ee80bad2 Update README.md
[skip ci]
2022-11-11 09:37:42 +08:00
edizor 1a6bad7f13 Update README.md
[skip ci]
2022-11-11 08:56:17 +08:00
edizor 3b43918cf7 Update README.md
[skip ci]
2022-11-11 08:45:29 +08:00
edizor 96575a8d64 Update README.md
[skip ci]
2022-11-11 08:41:08 +08:00
edizor b87872336d Update README.md
[skip ci]
2022-11-11 08:35:42 +08:00
press0@gmail.com 7d1c17443b revert MapMax 2022-11-08 07:49:28 -06:00
press0@gmail.com 57b666b085 fix logger class ref 2022-11-08 07:32:12 -06:00
press0 3c895d237e Merge branch 'eugenp:master' into master 2022-11-08 07:17:12 -06:00
Gaetano Piazzolla d0c3a7dfd6 BAEL-5790 - Convert java.util.Date to java.sql.Date (#12917)
* BAEL-5790 - Convert java.util.Date to java.sql.Date

* BAEL-5790 - Renamed unit test

* BAEL-5790 | fixed test

* Update core-java-modules/core-java-date-operations-3/src/main/java/com/baeldung/utiltosqldate/UnitToSqlDateUtils.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* BAEL-5790 | renamed class

* BAEL-5790 | spaces

* BAEL-5790 | renaming class

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* BAEL-5790 - renamed unit test

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-11-07 10:40:22 -07:00
Loredana Crusoveanu 0a40935b0f Merge pull request #12803 from press0/patch-1
pom.xml - update streamex dependency so MergeMaps compiles on java 17
2022-11-07 16:42:41 +02:00
Loredana Crusoveanu 665046d667 Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
panos-kakos ca8e33e339 [JAVA-13959] Alligned code with article (#12982)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-07 00:03:13 +05:30
davidmartinezbarua 1a4cc86a08 Merge pull request #12967 from thibaultfaure/article/BAEL-5816-check-if-all-runnable-are-done-with-executor-service
BAEL-58616 Code for the Check If All Runnable Are Done article
2022-11-05 13:33:37 -03:00
collaboratewithakash 3716d4d472 Update README.md 2022-11-05 16:24:24 +05:30
panos-kakos e7b46313fb [JAVA-13957] Added example for Timer functionality (#12906)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 16:23:30 +05:30
thibault.faure 43ba5e80a4 BAEL-58616 Code for the Check If All Runnable Are Done article 2022-11-05 11:36:41 +01:00
panos-kakos 7313894322 [JAVA-13958] Minor style changes + aligned code with article (#12889)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 15:28:01 +05:30
Kai Yuan 0e244ce133 [slicingArrays] Slicing Arrays in Java (#12957) 2022-11-03 20:59:33 -05:00
edizor 3962acdd92 Update README.md
[skip ci]
2022-11-02 21:17:34 +08:00
edizor b447862fa5 Create README.md
[skip ci]
2022-11-02 21:08:28 +08:00
vunamtien 5c281eb016 calculate standard deviation (#12963)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-11-01 08:38:06 -07:00
achraftt 117469a04b BAEL-5791: adapt pom file 2022-10-31 22:41:33 +01:00
Olu 1f1d49bcb1 swapped the order of arguments for assertEquals() (#12956)
* 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()
2022-10-31 14:08:59 -07:00
Kai Yuan 146ffa71d0 [URI-Creation] Difference Between URI.create() and new URI() (#12937)
* [URI-Creation] Difference Between URI.create() and new URI()

* [URI-Creation] split test methods for invalid & valid inputs
2022-10-29 21:00:33 -05:00
Arya aaecc586b2 Added the test. (#12947) 2022-10-28 09:20:01 -07:00
Loredana Crusoveanu f6f67ff8cc BAEL-5888-v2 2022-10-28 10:31:33 +03:00
Olu 7ab9be3c1f A Guide to LinkedHashSet in Java (#12932)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR
2022-10-27 22:58:17 -07:00
achraftt 2c8a1ae6b9 BAEL-5791: adaptation after creating new module 2022-10-27 00:33:38 +02:00
achraftt 03a4639341 BAEL-5791: Convert String to Instant (creating new module) 2022-10-27 00:12:35 +02:00
edizor 99a4d3fa68 Update README.md 2022-10-26 22:39:48 +08:00
edizor 32fdbae8a1 Update README.md 2022-10-26 22:34:34 +08:00
edizor ec23a5ce81 Update README.md 2022-10-26 22:31:27 +08:00
edizor b4ef4a40b0 Update README.md 2022-10-26 22:28:01 +08:00
edizor 01a44a7dbf Update README.md 2022-10-26 22:24:42 +08:00
Ulisses Lima 8ad8a38682 BAEL-5678 - Creating Random Numbers With No Duplicates in Java (#12698)
* BAEL-5678 - Creating Random Numbers With No Duplicates in Java

Ready for review.

* BAEL-5678 - review

* using `isEmpty()` for `hasNext()`;
* using `assertEquals` instead of `assertTrue`;
2022-10-26 08:44:35 +02:00
Kai Yuan 2dd61b7d54 [strToStrArray] Convert String to string array in Java (#12899)
* [strToStrArray] Convert String to string array in Java

* [strToStrArray] add one more example
2022-10-24 20:20:37 -05:00
Kai Yuan d1067b341f [strToChar] Convert String to char in Java (#12893) 2022-10-23 09:50:15 -05:00
Shaun Phillips 63bdc428b9 BAEL-5681 Add colorful logging (#12794) 2022-10-20 18:31:20 +01:00
Ulisses Lima 2635faa934 bael-5754 - quick fix
* adapting code to the article
2022-10-20 14:03:23 -03:00
Kai Yuan b8481873e9 [Capitalize_1st] Capitalize the First Letter of a String in Java (#12885) 2022-10-19 20:31:27 -05:00
panos-kakos bf1f0aa3da [JAVA-13957] (#12870)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:25:46 +05:30
panos-kakos eb17d0e2ed [JAVA-13966] Upgraded h2 database to 2.1.214 + clean up (#12711)
* [JAVA-13966] Upgraded h2 database to 2.1.214

* [JAVA-13966] fixed tests for libraries-apache-commons

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests JAVA-JPA MODULE

* [JAVA-13966] Made ninja submodule part of web-modules(parent)

* [JAVA-13966] Fixed naming convention for pmd

* [JAVA-13966] Moved tests of ninja-module to ManualTest category

* [JAVA-13966] Fix tests

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:17:05 +05:30
kpentaris 5bc5a0f717 Add application file for BAEL-4038 (#12851) 2022-10-19 17:23:17 +02:00
Loredana Crusoveanu 0da831a483 Merge pull request #12873 from edizor/master
Update README.md
2022-10-19 17:01:21 +03:00
ACHRAF TAITAI 7b44b2759f BAEL-5791: Convert String to Instant (#12876) 2022-10-16 20:09:54 +02:00
edizor c440c1e41f Update README.md 2022-10-16 11:38:21 +08:00
edizor d71fb7073e Update README.md
[skip ci]
2022-10-16 11:37:49 +08:00
edizor 869acf1646 Update README.md
[skip ci]
2022-10-16 11:32:23 +08:00
edizor 064ba95c28 Update README.md
[skip ci]
2022-10-16 11:25:16 +08:00
edizor 75419f0ddb Update README.md 2022-10-16 11:17:34 +08:00
edizor 01b80eddcc Update README.md
added link back to the article: https://www.baeldung.com/java-port-scanning
2022-10-16 11:12:39 +08:00
edizor 34cd6b4434 Create README.md 2022-10-16 11:00:58 +08:00
edizor 09bac30288 Update README.md 2022-10-16 10:47:33 +08:00
Ritu Priya d39aa6b1c6 BAEL-5752: Check for valid URL in java (#12836) 2022-10-13 09:47:06 +05:30
Amit Kumar 63058bc24c Difference Between Java Enumeration and Iterator by amitkumar88265@gmail.com (#12844)
* added Enumertion and Iterator code example

* formatted the code

* formatted the code

* move code examples to other modules

* corrected the pkg name

* corrected the pkg name

* fixed compile time issue

Co-authored-by: Amit Kumatr <amit.kumar@fyndna.com>
2022-10-13 08:45:13 +05:30
mdabrowski-eu c4052100a0 BAEL-5745 Mocking InputStream (#12845) 2022-10-11 10:14:08 +02:00
Kai Yuan 6381f2b8ba [collect-into-treeSet] Using Streams to Collect into a TreeSet (#12834)
* [collect-into-treeSet] Using Streams to Collect into a TreeSet

* [collect-into-treeSet] move to core-java-collections-set-2
2022-10-10 19:58:20 -05:00
Vali Tuguran 8aae0346cc BAEL-5733 Remove readme entry. (#12848)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.

* BAEL-5733 Remove readme entry.

* BAEL-5733 Remove readme entry.
2022-10-10 13:09:48 -07:00
Vali Tuguran 25a1270d7c BAEL-5733 Infinity in Java (#12843)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.
2022-10-09 16:57:44 -07:00