Commit Graph

3344 Commits

Author SHA1 Message Date
Eugene Kovko 036369c792 BAEL-6705: Fixed typo (#15015) 2023-10-31 08:21:05 -07:00
Michael Olayemi 6e25eb35cc Add Spring StringUtils class (#15090)
* Add Spring StringUtils class

* Add Spring StringUtils class
2023-10-31 09:36:00 +05:30
Kasra Madadipouya e984098398 Merge pull request #15035 from timis1/JAVA-23808_1
JAVA-23808 Rewrite Custom Spliterator Section of Introduction to Spli…
2023-10-30 21:28:53 +01:00
Vini 6f280e4cac Merge pull request #15054 from anujgaud/ag/check-string-contains-unicode-letters
[BAEL-7059] Check if a String Contains Unicode Letters
2023-10-30 20:30:50 +01:00
Azhwani 49929794b8 BAEL-7111: Get First Date of Current Month in Java (#15023) 2023-10-30 17:42:44 +01:00
Azhwani de7dadabef BAEL-7108: Comparing Arrays Using compare() Method in Java (#14975) 2023-10-30 17:23:12 +01:00
Loredana Crusoveanu fdad46e34b Merge pull request #14838 from hangga/completablefuture
[Add] completablefuture timeout test | Hangga Aji Sayekti
2023-10-30 17:41:35 +02:00
anujgaud dfd9baf8e0 Formatted UnicodeLetterChecker.java 2023-10-30 13:50:16 +05:30
Manfred a127e7644e BAEL-6804: Difference Between ZipFile and ZipInputStream in Java (#15039)
* BAEL-6804: Difference Between ZipFile and ZipInputStream in Java

* BAEL-6804: Difference Between ZipFile and ZipInputStream in Java
- use 2-space indents for line continuations
2023-10-29 19:56:52 -05:00
Loredana Crusoveanu 8a48077403 Merge pull request #15091 from edizor/master
Update README
2023-10-29 11:34:16 +02:00
Michael Olayemi f5ce4e6d86 PrintWriter vs FileWriter in Java (#15034)
* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java

* PrintWriter vs FileWriter in Java

* https://jira.baeldung.com/browse/BAEL-7117

* PrintWriter vs FileWriter in Java
2023-10-29 09:58:39 +05:30
pentakon c115e99dcc BAEL-6814 Convert List<CompletableFuture> to CompletableFuture<List> (#15028)
* Code for BAEL-6814 Convert List<CompletableFuture> to CompletableFuture<List>

* Refactor some comments
2023-10-29 09:57:34 +05:30
edizor ff76b6c949 Update README.md
[skip ci]
2023-10-29 07:25:11 +08:00
edizor 78dc038e8b Update README.md
[skip ci]
2023-10-29 07:14:25 +08:00
edizor 1425f647f6 Update README.md
[skip ci]
2023-10-29 07:09:45 +08:00
edizor b4fd454c65 Update README.md
[skip ci]
2023-10-29 07:07:22 +08:00
edizor fde7fabe42 Update README.md
[skip ci]
2023-10-29 07:04:20 +08:00
edizor fcff240865 Update README.md
[skip ci]
2023-10-29 07:02:12 +08:00
edizor 8518e65d78 Update README.md
[skip ci]
2023-10-29 06:51:40 +08:00
edizor 499705b6d1 Update README.md
[skip ci]
2023-10-29 06:42:50 +08:00
edizor f6deb1c0ef Update README.md
[skip ci]
2023-10-29 06:40:01 +08:00
edizor 467b9a2fed Update README.md
[skip ci]
2023-10-29 06:31:46 +08:00
edizor 3df29751a7 Update README.md
[skip ci]
2023-10-29 06:29:25 +08:00
lucaCambi77 c65981938f [BAEL-7048] - Passing Strings By Reference in Java (#15047)
* feat: pass by reference java string

* fix: review
2023-10-28 16:56:11 -05:00
collaboratewithakash 3042166f4b readme created or backlink added 2023-10-28 14:39:02 +05:30
collaboratewithakash 96b32de7ba backlink added 2023-10-28 14:33:07 +05:30
collaboratewithakash 235cba0dbd updated backlink 2023-10-28 13:08:15 +05:30
Anton Dalagan 3c8d10dd82 Bael 7146 improvement to this article convert double to float in java (#15067)
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.

* BAEL-7146 Updated the unit test to display the results of the conversion. This will be explained in the article itself.

* BAEL-7146 cleaned up pR
2023-10-27 09:44:07 -07:00
Neetika23 befba49dec Update StringIteratorTest.java 2023-10-27 14:52:14 +05:30
Neetika23 66604b8e27 Update StringIterator.java 2023-10-27 14:51:01 +05:30
Neetika23 98c8e96fca Delete core-java-modules/core-java-lang-oop-patterns/src/test/java/com/baeldung/shallowdeepcopy/ShallowDeepCopyExampleTest.java 2023-10-27 14:49:52 +05:30
Neetika23 f20dbd4ed9 Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/Student.java 2023-10-27 14:49:29 +05:30
Neetika23 002def2d24 Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/School.java 2023-10-27 14:49:09 +05:30
Azhwani 16b931c4df BAEL-7055: How can I capitalize the first letter of each word in a string? (#14927)
Co-authored-by: Mo Helmy <135069400+BenHelmyBen@users.noreply.github.com>
2023-10-27 08:46:04 +02:00
Neetika23 9f1ce56f82 Update StringIteratorTest.java 2023-10-27 00:09:53 +05:30
Neetika23 aa7ad247e1 Update StringIteratorTest.java 2023-10-27 00:02:38 +05:30
Neetika23 7aeb97fcdf Update StringIterator.java 2023-10-26 23:57:27 +05:30
Neetika23 0fa77ed809 Create StringIteratorTest.java 2023-10-26 23:45:34 +05:30
Neetika23 d3d60f392b Update StringIterator.java 2023-10-26 23:41:32 +05:30
Neetika23 450b6d8025 Create StringIterator.java 2023-10-26 23:25:17 +05:30
Azhwani b4db616646 BAEL-7026: Check If a String Contains a Number Value in Java (#14867)
Co-authored-by: Luis Javier Peris Morillo <javierperis@gmail.com>
2023-10-26 08:18:01 +02:00
davidmartinezbarua ba577997ae Merge pull request #14978 from etrandafir93/features/BAEL-7001-retry_completable_future
BAEL-7001: retry RetryCompletableFuture
2023-10-25 17:22:38 -03:00
davidmartinezbarua 5337edf3b2 Merge pull request #15041 from thibaultfaure/article/BAEL-7107-arrays-mismatch
BAEL-7107 Code for the article Arrays mismatch method in Java
2023-10-25 16:55:13 -03:00
davidmartinezbarua 2b44a380df Merge pull request #14863 from sam-gardner/BAEL-6895-truncating-doubles-to-two-decimal-places
BAEL-6895 Add code for truncating a double to two decimal places
2023-10-25 16:43:13 -03:00
emanueltrandafir1993 f5bb9479b4 MKT-7001: formatting 2023-10-25 19:53:50 +02:00
Mo Helmy 69aaf2dbf7 This commit is related to the article BAEL-7089 (#15065)
This commit aims to update the evenElementsQueue queue with oddElementsQueue.
2023-10-25 09:10:28 -07:00
anujgaud e99ce4da19 Add tests for UnicodeLetterChecker 2023-10-23 23:45:43 +05:30
anujgaud 9756cb1d10 Add UnicodeLetterChecker to check if String contains Unicode 2023-10-23 23:44:18 +05:30
emanueltrandafir1993 5b4fc0d6f3 BAEL-7001: small fix 2023-10-23 18:13:35 +02:00
emanueltrandafir1993 210eaf2c0b BAEL-7001: fixed formatting 2023-10-23 18:07:43 +02:00
Loredana Crusoveanu 1556aac121 Merge pull request #15031 from edizor/master
Update README
2023-10-23 10:07:31 +03:00
Mo Helmy 80f0c86aa3 This commit is related to the article BAEL-7089 (#15037)
This commit aims to add a test class named "RemoveQueueElementsUnitTest" that provides code snippets for removing elements from a queue.
2023-10-22 19:12:19 -07:00
Thibault Faure 4cd426bb14 BAEL-7107 Code for the article Arrays mismatch method in Java 2023-10-22 23:40:15 +02:00
Bipin kumar 6e470ca730 JAVA-25111: Adding missed modules (#14805) 2023-10-22 15:09:12 +03:00
anujgaud 781a1c265a [BAEL-6623] Add code for Convert Object to String (#15000)
* Add Person class

* Add Unit tests for Person class

* Add Person class

* Add PersonWithHashCode class

* Address review comments

* Add PersonUnitTest class

* Add PersonWithHashCodeUnitTest class

* Add missing dependency

* Remove redundant code

* Remove redundant code

* Address review comments

* Address review comments
2023-10-22 09:49:38 +05:30
timis1 1a7d3aff21 JAVA-23808 Rewrite Custom Spliterator Section of Introduction to Spliterator Article 2023-10-21 20:11:04 +03:00
Neetika23 c0d76384a4 Merge branch 'eugenp:master' into deepShallowCopy 2023-10-21 20:23:16 +05:30
anuragkumawat b0ed62e8c8 JAVA-24938 Article Code Matches first commit (#14820) 2023-10-21 11:57:49 +03:00
Loredana Crusoveanu 835cb8e15c Merge pull request #15022 from eugenp/lor6-patch-2
Delete core-java-modules/core-java-lang-math-3/src/test/java/com/bael…
2023-10-20 19:26:01 +03:00
Loredana Crusoveanu 08c8682406 Merge pull request #15021 from eugenp/lor6-patch-1
Update README.md
2023-10-20 19:25:36 +03:00
edizor faae5f776b Update README.md
[skip ci]
2023-10-20 22:12:59 +08:00
edizor 60bdc1f505 Update README.md
[skip ci]
2023-10-20 22:06:57 +08:00
edizor 349fee9202 Update README.md
[skip ci]
2023-10-20 22:00:01 +08:00
edizor 76fc84ba64 Update README.md
[skip ci]
2023-10-20 21:49:19 +08:00
edizor 8457a250f4 Update README.md
[skip ci]
2023-10-20 21:46:32 +08:00
edizor b3702a402a Update README.md
[skip ci]
2023-10-20 21:44:03 +08:00
edizor bd31b72858 Update README.md
[skip ci]
2023-10-20 21:35:24 +08:00
edizor 29eb8388c9 Update README.md
[skip ci]
2023-10-20 21:33:29 +08:00
edizor 838e1d14ca Update README.md
[skip ci]
2023-10-20 21:31:32 +08:00
edizor 2e219b6a08 Update README.md
[skip ci]
2023-10-20 21:28:07 +08:00
edizor 2609ac2689 Update README.md
[skip ci]
2023-10-20 21:24:28 +08:00
edizor c309272de3 Update README.md
[skip ci]
2023-10-20 21:20:38 +08:00
edizor a89385b14f Update README.md
[skip ci]
2023-10-20 21:12:35 +08:00
edizor adfb51acac Update README.md
[skip ci]
2023-10-20 20:57:48 +08:00
edizor ca2edea0d4 Update README.md
[skip ci]
2023-10-20 20:57:31 +08:00
Kai Yuan fdca014527 [impr-list-of-lists] The size of list of lists (#15002) 2023-10-19 19:24:07 -05:00
davidmartinezbarua 0530fb8bca Merge pull request #14797 from thibaultfaure/articles/BAEL-6591-Wrapping-String
BAEL-6591 Code for the Wrapping a String After a Number of Characters…
2023-10-19 15:17:48 -03:00
Eugene Kovko e3e95fbc82 BAEL - 6715 (#15024)
* BAEL-6715: Fixed Indentation

* BAEL-6715: Changed Lists to Streams

* BAEL-6715: Inlined skip methods in the tests
2023-10-19 10:30:55 -07:00
Michael Olayemi 3178d8cb59 Get file size efficiently in Java (#14970)
* Get file size efficiently in Java

* Get file size efficiently in Java

* Get file size efficiently in Java

* Update FileSizeBenchmark.java
2023-10-19 17:45:54 +05:30
panos-kakos ec26c2802c [JAVA-4584] Clean up (#15006) 2023-10-19 13:47:13 +03:00
Loredana Crusoveanu 727e24feda Merge pull request #14980 from timis1/JAVA-25805
JAVA-25805 Review log statements for projects - Week 41 - 2023
2023-10-19 13:10:30 +03:00
Bipin kumar a44a7e4af1 JAVA-26001_A_C: Fix formatting of POMs for modules A to C (#14961) 2023-10-19 12:54:46 +03:00
Loredana Crusoveanu 43e4c6d9fe Delete core-java-modules/core-java-lang-math-3/src/test/java/com/baeldung/magicsquare/README.md 2023-10-18 14:12:40 +03:00
Loredana Crusoveanu 0f93942502 Update README.md 2023-10-18 14:11:54 +03:00
Dhawal Kapil c3c8b1d016 Update README.md (#15016) 2023-10-18 12:29:41 +05:30
MohamedHelmyKassab faddb1d62c Update CenteringTextUnitTest.java (#15011)
This commit aims to add new updates to the class "CenteringTextUnitTest" based on the review process recommendations.
2023-10-17 19:03:31 -07:00
Mo Helmy 3298d5fb96 Updating code related to the article BAEL-7017 (#15009)
* Update pom.xml

Update pom with the apache dependency

* Update WriteHashmaptoCVSFileUnitTest.java

Adding a new test method to solve the problem using Apache Commons CSV.
2023-10-17 18:59:54 -07:00
@hangga 7eef9b46b7 [Optimize] using try-with-resources 2023-10-17 20:18:28 +07:00
@hangga 223c0bd32f [Update] rename completableFuture to productDataFuture 2023-10-17 18:45:08 +07:00
@hangga 3f40e66508 clean unused 2023-10-17 18:29:26 +07:00
@hangga 38d4d8f621 text block 2023-10-17 18:24:02 +07:00
@hangga 2efe2c7987 using json body for sample 2023-10-17 13:50:31 +07:00
Kasra Madadipouya 0eac8610bd Merge pull request #14919 from alvin577austria/JAVA-20429
JAVA-20429 : Used URI() instead of the deprecated URL()
2023-10-17 01:43:16 +02:00
Kasra Madadipouya 1c3d24532d Merge pull request #14921 from panos-kakos/JAVA-25962
[JAVA-25962] Upgraded joda-time version to 2.12.5
2023-10-17 01:20:31 +02:00
Mikhail Polivakha 5d6e1a21ff BAEL-7022 (#14984)
* BAEL-6706 source code

* BAEL-7022 implemented
2023-10-16 09:38:35 -07:00
@hangga c1f53973cd [Update] clean trash 2023-10-16 18:33:15 +07:00
@hangga 7e924cefe4 [update] method name, result, flow 2023-10-16 17:31:19 +07:00
panos-kakos 6d7040879b [JAVA-4584] Enabled core-java-12 module (#14926)
Enabled 12,13,15
2023-10-16 12:52:33 +03:00
MohamedHelmyKassab 0eafba3ba1 This PR related to the article BAEL-7023 (#14993)
* Update pom.xml

* This commit related to the article BAEL-7023

This commit aims to add a test class 'CenteringTextUnitTest.java' proposing several ways to center text in Java.
2023-10-15 15:25:13 -07:00
Mo Helmy ab62e675ec This commit is related to the article BAEL-7017 (#14985)
This commit aims to add a new test class named "WriteHashmaptoCVSFileUnitTest.java" that explains how to write HashMap to a CSV file.
2023-10-15 15:21:36 -07:00