Commit Graph

4084 Commits

Author SHA1 Message Date
rcalago d794cb70af
Update README.md 2024-03-01 14:38:32 +08:00
rcalago 5ad35c23f2
Update README.md 2024-03-01 14:33:38 +08:00
rcalago 8166d6bef4
Update README.md 2024-03-01 14:31:08 +08:00
rcalago 3b46004fb9
Update README.md 2024-03-01 14:28:17 +08:00
rcalago 1702eeb272
Update README.md 2024-03-01 14:26:15 +08:00
rcalago 2b820681c9
Update README.md 2024-03-01 14:23:58 +08:00
rcalago ec4d5eb1f0
Update REAME.md 2024-03-01 14:21:10 +08:00
rcalago a490c18ce7
Update README.md 2024-03-01 14:19:36 +08:00
rcalago da4a836694
Update README.md 2024-03-01 14:16:25 +08:00
rcalago 172061a5e6
Update README.md 2024-03-01 14:15:07 +08:00
rcalago a943e5820f
Update README.md 2024-03-01 14:13:33 +08:00
Harry9656 258a3e4941
[JAVA-31577] Review and Upgrade to latest Guava version (#15986) 2024-02-29 19:46:09 +01:00
Azhwani 8059f7a92c
BAEL-7514: Get first n characters in a String in Java (#15817) 2024-02-28 17:48:20 +01:00
Kai.Yuan 2af9a69132 [modify-print-list] renaming lambda parameters, removing filter() 2024-02-28 10:47:00 +08:00
panos-kakos c0e5d7c700
[JAVA-31578] Upgrade jsoup to latest version (#15976) 2024-02-27 23:10:08 +01:00
Liam Williams 72953d3c13
Merge pull request #15921 from sk1418/rm-trailing-space
[rm-trailing-space] rm trailing whithspace
2024-02-27 21:18:16 +00:00
@hangga bdab6799d0 remove unused claSS 2024-02-27 08:03:33 +07:00
sam-gardner 0d161ef8af
JAVA-31644 Update maven-compiler-plugin to 3.12.1 (#15952)
* JAVA-31644 Update maven-compiler-plugin to 3.12.1

* JAVA-31644 Update maven compiler plugin to 3.12.1 for more modules

* JAVA-31644 Continue upgrading modules to use maven-compiler-plugin 3.12.1
2024-02-26 17:04:34 +01:00
panos-kakos cb3b854caa
[JAVA-30180] Upgraded jackson library in main pom.xml (#15847)
* [JAVA-30180] Upgraded jackson library in main pom.xml

* [JAVA-30180] Reverted jackson upgrade for apache-kafka

* [JAVA-30180]
2024-02-25 22:26:52 +01:00
Yadukrishnan 968fb13fcd added more test cases 2024-02-25 09:49:58 +01:00
Yadukrishnan 9b0681f0cf added more test cases 2024-02-25 09:49:02 +01:00
Kai.Yuan 0648a4f918 [modify-print-list] modify + print a list 2024-02-25 11:59:45 +08:00
Mateusz Szablak 98fb738882
BAEL-7264 How to Pretty-print a Map in Java (#15909) 2024-02-23 19:30:40 +05:30
davidmartinezbarua 4bd7728ecf
Merge pull request #15919 from thibaultfaure/improvement/BAEL-7483-Issue-in-Functional-Programming-in-Java
BAEL-7483 Improvement to Potential issue in Functional Programming in…
2024-02-22 11:39:50 -03:00
adalagandev c84563ff4d BAEL-7131 - fixed incomplete Assertion 2024-02-22 11:33:25 +01:00
timis1 3642db8f5f
JAVA-31265 Review log statements for projects - Week 8 - 2024 (#15939) 2024-02-21 23:37:25 +01:00
Yadukrishnan 4414eed69a changed methods to static methods 2024-02-21 20:52:37 +01:00
Yadukrishnan e9ce6f7741 Added code sample and test for getting initials for a name 2024-02-21 18:24:36 +01:00
adalagandev 9178b53dc9 BAEL-7131 - reapplied Baeldung Formatter, code changes from PR. 2024-02-21 11:10:39 +01:00
MohamedHelmyKassab c8c29a7806
This PR is related to BAEL-7556 (#15900)
* This commit is related to BAEL-7556

This commit aims to add a test class "FindUniqueEmailsUnitTest.java".

* Update FindUniqueEmailsUnitTest.java
2024-02-20 22:11:24 -10:00
Wynn Teo fcb6efbf00
BAEL-6622 (#15905)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* BAEL-6622 compare thenApply() and thenApplyAsync()

* BAEL-6622 change to unit test

* Tidy up the code
2024-02-20 21:36:34 -06:00
Liam Williams 2e445da7b7
Merge pull request #15908 from sk1418/string-in-mirror
[string-in-mirror] string - mirror reflection
2024-02-20 16:20:25 +00:00
adalagandev ed1e58c45e BAEL-7131 version 7 2024-02-20 15:08:05 +01:00
Imran Alam e62e1d88e6 Peak Elements 2024-02-20 15:35:40 +05:30
Wynn Teo abb1f462b9
Bael 7541 (#15877)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* BAEL-7541 compare runAsync and supplyAsync
2024-02-19 21:11:25 -06:00
Kai.Yuan 501c511e74 [rm-trailing-space] rm trailing whithspace 2024-02-20 09:29:47 +08:00
Kai.Yuan 9d13085bbc [string-in-mirror] renaming etc. 2024-02-20 07:30:30 +08:00
adalagandev e6d37b867c BAEL-7131 version 6 - updated for PR comments, renamed unit test method, added assertJ dependency and used that in unit tests instead. 2024-02-20 00:11:06 +01:00
Thibault Faure bf600c0e7b BAEL-7483 Improvement to Potential issue in Functional Programming in Java 2024-02-19 21:28:04 +01:00
davidmartinezbarua c0756a59b7
Merge pull request #15873 from sam-gardner/BAEL-7522-simple-web-server
BAEL-7522 Add code for Java 18 simple web server
2024-02-19 14:57:10 -03:00
Sam Gardner b8c2415745 BAEL-7522-Rename-package-for-simple-web-server 2024-02-19 13:16:43 +00:00
Kai.Yuan 972571e258 [string-in-mirror] string - mirror reflection 2024-02-18 07:48:29 +08:00
DiegoMarti2 7cbf2eafcd
baeldung-articles : BAEL-7442 (#15887)
* baeldung-articles : BAEL-7442

Check if String is Base64 Encoded (commit)

* Update CheckIfStringIsBased64UnitTest.java
2024-02-17 14:12:34 -08:00
rcalago e9012995a8
Update README.md 2024-02-17 06:36:14 +08:00
rcalago cb14e4fb3f
Update README.md 2024-02-17 06:33:36 +08:00
rcalago 81b79d01f7
Update README.md 2024-02-17 06:32:27 +08:00
rcalago 7a8943dc28
Update README.md 2024-02-17 06:31:19 +08:00
rcalago de0ff1eaef
Update README.md 2024-02-17 06:26:28 +08:00
rcalago b273272bae
Update README.md 2024-02-17 06:24:13 +08:00
rcalago f2198c84ce
Update README.md 2024-02-17 06:20:53 +08:00
rcalago 34f8afb4e1
Update README.md 2024-02-17 06:09:44 +08:00
rcalago d700f9f582
Update README.md 2024-02-17 06:06:30 +08:00
rcalago 388520ad73
Update README.md 2024-02-17 06:05:30 +08:00
rcalago 9110e5461e
Update README.md 2024-02-17 06:02:48 +08:00
Mo Helmy cd44988598
This PR is related to BAEL-7554 (#15895)
This PR aims to add a test class "FindLargestNumInStringUnitTest.java".
2024-02-16 09:11:48 -08:00
Rajat Garg 61c0c6cb92
Add code for rod cutting problem (#15891)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-02-16 09:07:18 -08:00
panos-kakos 20f151aad0
[JAVA-31186] Clean up some Jenkins warnings (#15890) 2024-02-16 13:29:18 +02:00
@hangga 4bd5580405 remove unused 2024-02-15 20:38:01 +07:00
Hangga Aji Sayekti 0c02b0edc2
Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2024-02-15 05:12:03 +07:00
Hangga Aji Sayekti 61ed752a1c
Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2024-02-15 05:11:49 +07:00
Liam Williams b44c9d2c32
Merge pull request #15813 from lsnare/BAEL-7487-resolve-multiple-completable-futures
BAEL-7487: resolve multiple completable futures
2024-02-14 21:28:44 +00:00
Liam Williams c8ac9ca720
Merge pull request #15785 from sk1418/count-upper-lower
[count-upper-lower] count upper/lowercase letters
2024-02-14 21:20:10 +00:00
Vini 00b44c2888
Merge pull request #15848 from Neetika23/RangeStreamAPI
Stream Range test class
2024-02-14 10:03:39 +01:00
Kai.Yuan 9cbccd4b2f [count-upper-lower] extract the impl. from the test methods 2024-02-14 09:40:57 +01:00
Kai.Yuan a7a97689ba [count-upper-lower] add unicode char tests 2024-02-14 09:40:38 +01:00
Kai.Yuan 746c6f5083 [count-upper-lower] some renamings were missing 2024-02-14 09:40:38 +01:00
Kai.Yuan ee12253609 [count-upper-lower] review comments related changes 2024-02-14 09:40:38 +01:00
Kai.Yuan 6bbef27bc7 [count-upper-lower] count upper/lowercase letters 2024-02-14 09:40:36 +01:00
@hangga 13209f657c remove experimen 2024-02-14 09:13:05 +07:00
@hangga 4395131ef0 using-ferification 2024-02-14 09:11:54 +07:00
danielmcnally285 3a2f05b17d
BAEL-6764: Collect stream of entrySet() to LinkedHashMap (#15806)
* entryset to linkedhashmap unit tests

* use set over list for groupingBy unit test

* add clearer unit test method names

* remove public modifier from unit tests

* rename unit test as per pr comment
2024-02-14 06:53:19 +05:30
Sam Gardner ce26271629 BAEL-7522 Add code for Java 18 simple web server 2024-02-13 14:27:10 +00:00
Bipin kumar 557d43c300
JAVA-31118: Adding core-java-18 in JAVA-26056 as it has preview features (#15851) 2024-02-13 15:43:26 +02:00
Maiklins 13cbf61695
Update README.md 2024-02-13 08:01:30 +01:00
Maiklins 1fb71a4cde
Merge pull request #15809 from anujgaud/system-in-read
[BAEL-7405] Add support for System read methods
2024-02-13 07:55:13 +01:00
MohamedHelmyKassab 831acaf8cf
This PR is related to BAEL-7528 (#15865)
* Update pom.xml

Add:         <module>core-java-string-operations-8</module>

* This commit is related to BAEL-7528

This commit aims to add a new module "core-java-string-operations-8" to submit a test class "EmailAndPhoneMaskingUnitTest"
2024-02-12 09:59:03 -08:00
Rajat Garg 5e91827680
[BAEL-7530] Fix Norm calculation by performing sqrt operation (#15846)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-02-12 09:29:51 -08:00
Hangga Aji Sayekti ae80217d4f update experiment 2024-02-12 21:51:14 +07:00
adalagandev 8a0d5939f1 BAEL-7131 version 5 - renamed class name to end with UnitTest 2024-02-12 10:12:12 +01:00
adalagandev 17172ba21a BAEL-7131 version 4 - code review comments. 2024-02-11 19:48:18 +01:00
adalagandev 94fceedf7c BAEL-7131 version 3 - code review comments. 2024-02-11 19:11:39 +01:00
@hangga ae5bf3ddb1 update experiment 2024-02-11 18:38:26 +07:00
adalagandev 8aea75fd05 BAEL-7131 version 2 - code review comments. 2024-02-10 23:44:42 +01:00
Loredana Crusoveanu 55476ccf0e
Update README.md 2024-02-10 14:32:55 +02:00
Loredana Crusoveanu 5f54221338
Merge pull request #15843 from rcalago/master
Update on README.md
2024-02-10 14:30:49 +02:00
Neetika Khandelwal e96a590105 Stream Range test class 2024-02-10 14:41:30 +05:30
Liam Williams 6ada5de93e
Merge pull request #15815 from sk1418/mv-0-to-end-array
[mv-0-to-end-array] move zeros to the end
2024-02-09 16:13:15 +00:00
rcalago d0e7f691bc
Update README.md 2024-02-09 21:16:10 +08:00
rcalago 8db7b68f87
Update README.md 2024-02-09 21:13:37 +08:00
rcalago ea822291ba
Update README.md 2024-02-09 21:11:00 +08:00
rcalago ec78389487
Update README.md 2024-02-09 21:06:30 +08:00
rcalago e6eead9c43
Update README.md 2024-02-09 21:05:38 +08:00
rcalago 11954fe67f
Update README.md 2024-02-09 21:04:35 +08:00
rcalago bae515de06
Update README.md 2024-02-09 21:03:37 +08:00
rcalago d3e72540d7
Update README.md 2024-02-09 21:00:24 +08:00
Lucian Snare cd1c8de735 Fix suggestions 2024-02-08 23:23:51 -05:00
Lucian Snare 9ca5b38ad2 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-7487-resolve-multiple-completable-futures 2024-02-08 23:13:56 -05:00
Lucian Snare 195a0e06d7 Fix suggestions 2024-02-08 23:05:59 -05:00
Azhwani 21bc2e67ae
BAEL-7269: How to Convert Date to unix Timestamp in Java? (#15635) 2024-02-07 22:25:53 +01:00
Bipin kumar 322a38321c
JAVA-27677: Reactivate core-java-os-2 and spring-6-rsocket (#15675) 2024-02-07 12:44:13 +02:00
Liam Williams 28c39d25a0
Merge pull request #15692 from hangga/securerandom-positive-long
BAEL-7491 - Generating Unique Positive Long using SecureRandom in Java
2024-02-06 10:52:46 +00:00
Vini bb998a3863
Merge pull request #15811 from Imranalam28/master
[BAEL-7501] Immutable and Mutable Object Examples with Tests
2024-02-06 08:25:27 +01:00
Lucian Snare ec2a32838e Rework solution to handle individual exceptions 2024-02-05 22:08:37 -05:00
Ulisses Lima a57ecf1bef
Merge pull request #15801 from eugenp/comment-15080
Update givenInputFromConsole_whenUsingScanner_thenReadCharByChar
2024-02-05 18:04:25 -03:00
Amit Pandey 2de2d80c81
[JAVA-31110] - Upgrade to Hibernate modules to the latest version (#15807) 2024-02-05 20:51:32 +01:00
Ana Peterlic 52b14f539e Update import statement 2024-02-05 20:25:52 +01:00
Ana Peterlic 1899d70e91 Update ReadInputCharByCharUnitTest.java 2024-02-05 20:24:52 +01:00
Bhaskar Ghosh Dastidar f8b62d96f8
[BAEL-7501] Infix to Postfix (#15819)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2024-02-05 10:27:29 -08:00
Imran Alam 1732af8721
Update ImmutablePersonUnitTest.java 2024-02-05 15:29:01 +05:30
Imran Alam ac3959d261
Update MutableObjectExamplesUnitTest.java 2024-02-05 14:25:15 +05:30
Imran Alam 48690d61be
Update ImmutablePersonUnitTest.java 2024-02-05 14:24:18 +05:30
Imran Alam b07426336f
Update ImmutableObjectExamplesUnitTest.java 2024-02-05 14:23:23 +05:30
Imran Alam 34a8c4166c
Update ImmutableObjectExamplesUnitTest.java 2024-02-05 14:22:23 +05:30
Wynn Teo 08d29f73b3
BAEL-7444 create custom url connection (#15717) 2024-02-04 17:21:26 -06:00
Wynn Teo aee52febce
BAEL-5685 translate space using urlencoder (#15764)
* BAEL-5685 translate space using urlencoder

* Add a special character to the string

---------

Co-authored-by: Wynn Teo <wynnteo@Wynns-MacBook-Pro.local>
2024-02-04 17:08:33 -06:00
Kai.Yuan 7b115b3a26 [mv-0-to-end-array] changes for comments 2024-02-04 19:24:20 +01:00
davidmartinezbarua 83d9197bbf
Merge pull request #15760 from thibaultfaure/articles/BAEL-7357-Find-equilibrium-indexes
BAEL-7357 Code for the Find Equilibrium Indexes of an Array
2024-02-04 10:31:56 -03:00
Kai.Yuan e8b27416d7 [mv-0-to-end-array] move zeros to the end 2024-02-04 13:56:52 +01:00
Vini b727f604af
Merge pull request #15804 from Neetika23/RangeStream
Stream file
2024-02-04 10:58:48 +01:00
Neetika Khandelwal 186f2dbee2 modified method names 2024-02-04 14:15:22 +05:30
thibaultfaure 9aca65bd33
Update core-java-modules/core-java-arrays-operations-advanced-2/src/main/java/com/baeldung/equilibriumindex/EquilibriumIndexFinder.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2024-02-04 08:14:35 +01:00
thibaultfaure d88aa573b0
Update core-java-modules/core-java-arrays-operations-advanced-2/src/main/java/com/baeldung/equilibriumindex/EquilibriumIndexFinder.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2024-02-04 08:14:25 +01:00
Lucian Snare 43cb6d6289 Remove java version change 2024-02-04 00:52:15 -05:00
Lucian Snare 521ec4f4fc A few small test updates 2024-02-04 00:44:31 -05:00
Lucian Snare 498746ef59 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-7487-resolve-multiple-completable-futures 2024-02-03 22:33:26 -05:00
Lucian Snare c90eac4ac5 Add unit test to resolve multiple CompletableFutures 2024-02-03 22:30:22 -05:00
Imran Alam a1fb6eb66b Added code for Mutable vs Immutable objects in java 2024-02-03 21:43:12 +05:30
Imran Alam 7391417ce8
Merge branch 'eugenp:master' into master 2024-02-03 21:24:09 +05:30
anujgaud f3d6abbf6a
Fix test name 2024-02-03 19:24:33 +05:30
anujgaud d45bf19622
Add unit tests 2024-02-03 19:17:45 +05:30
anujgaud c651b85f54
Add read methods 2024-02-03 19:16:52 +05:30
Loredana Crusoveanu 9cfb1b3a1b
Update README.md 2024-02-03 15:44:56 +02:00
Neetika Khandelwal 7fff987c77 modified method names 2024-02-03 14:23:49 +05:30
Neetika Khandelwal 971238704b Stream file 2024-02-03 14:13:53 +05:30
Ana Peterlic 7ec4a9fd1d Update givenInputFromConsole_whenUsingScanner_thenReadCharByChar 2024-02-03 06:37:14 +01:00
rcalago 172719db19
Update README.md 2024-02-03 09:07:56 +08:00
rcalago b7398f9d73
Update README.md 2024-02-03 09:06:47 +08:00
rcalago e7c152635c
Update README.md 2024-02-03 08:58:45 +08:00
rcalago 19db271df5
Update README.md 2024-02-03 08:57:43 +08:00
rcalago dfbbfee452
Update README.md 2024-02-03 08:56:36 +08:00
davidmartinezbarua 3f253c832f
Merge pull request #15742 from parthiv39731/PR-7319
BAEL-7396, Instantiate an Inner Class With Reflection in Java
2024-02-01 14:17:53 -03:00
sIvanovKonstantyn 36363a112e
Merge branch 'eugenp:master' into master 2024-02-01 14:47:22 +01:00
Wynn Teo fd59ccd374
BAEL-7430 first draft (#15728)
* BAEL-7430 first draft

* Revised the code

---------

Co-authored-by: Wynn Teo <wynnteo@Wynns-MacBook-Pro.local>
2024-01-31 20:55:12 -06:00
Kai Yuan b490028e69
[runLength-en-decoding] run length encoding (#15735) 2024-01-31 20:48:31 -06:00
DiegoMarti2 9c8cbf668c
Update URLNormalizationUnitTest.java (baeldung-articles BAEL-6777) (#15779) 2024-01-31 09:08:00 -08:00
ICKostiantyn.Ivanov ab43a18bb0 BAEL-6716 - Fix test methods naming 2024-01-31 14:52:31 +01:00
Bipin kumar faaf189afb
[JAVA-29475] Upgrade gson library to latest version (#15773) 2024-01-30 23:42:31 +01:00
Bipin kumar bcba7da594
JAVA-30449 Fix formatting of POMs A_to_C (#15720) 2024-01-30 12:29:53 +02:00
Wynn Teo 5b6d31feff
BAEL-7490 read write file in separate thread (#15664)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article
2024-01-29 20:41:53 -06:00
Vini aefb1e6cbc
Merge pull request #15758 from sIvanovKonstantyn/master
BAEL-6716 - Storing UUID as Base64 String in Java
2024-01-29 21:53:46 +01:00