Commit Graph

2903 Commits

Author SHA1 Message Date
Sam Gardner 686f39fc38 BAEL-6611 add example code for completablefuture vs future vs rxjava comparison 2023-07-25 14:05:05 +01:00
panos-kakos 0a3998e407 [JAVA-23091] Upgraded esapi version and removed it form main pom.xml (#14384)
Co-authored-by: Dhawal Kapil <dhawalkapil@gmail.com>
2023-07-25 12:59:21 +05:30
Bipin kumar 2229e249a5 JAVA-22625: Changes made for formatting the pom.xml (#14327)
* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: commenting module

* JAVA-22625: commenting module
2023-07-25 12:04:39 +05:30
Vali Tuguran 526e9845a8 BAEL-6225 Refactor code and move package. (#14132)
* BAEL-6225 Refactor code and move package.

* BAEL-6225 Move code to core-java-lang-oop-patterns.

* BAEL-6225 Refactor test name.

* BAEL-6225 Refactor test name.

* BAEL-6225 Update with singleton instances.
2023-07-24 08:47:07 +01:00
parthiv39731 4f24eb635e BAEL-6710 (#14454)
Changed method names
2023-07-23 19:50:50 +02:00
Manfred a1baca99fb BAEL-6725 - Performance Comparison Between Different Java String Concatenation Methods (#14458) 2023-07-23 10:04:32 +02:00
davidmartinezbarua 8db7da5c11 Merge pull request #14404 from sam-gardner/BAEL-6721-example-code-for-notification-of-a-complete-task
BAEL-6721 Add example code for notification of a complete task
2023-07-22 10:26:28 -03:00
davidmartinezbarua 9b90e43d85 Merge pull request #14415 from etrandafir93/features/BAEL-6578-CompletableFuture_allOf_vs_join
BAEL-6578: CompletableFuture allOf.join() vs join()
2023-07-22 10:19:55 -03:00
Gaetano Piazzolla f2d8753391 JAVA-23317 | Added dummy TrustManager (#14444)
* JAVA-23317 | Added dummy TrustManager

* JAVA-23317 | Added comment

* JAVA-23317 | renamed dummy to mock

* JAVA-23317 | renamed unit test
2023-07-22 18:49:21 +05:30
Michael Olayemi 10613742da What is the maximum depth of the java call stack? (#14428)
* What is the maximum depth of the java call stack?

* What is the maximum depth of the java call stack?
2023-07-21 07:12:48 +05:30
Loredana Crusoveanu c55d386498 Merge branch 'master' into master 2023-07-20 16:30:42 +03:00
collaboratewithakash 7dd971d743 backlink removed 2023-07-20 16:42:50 +05:30
edizor ec844f474d Update README.md
[skip ci]
2023-07-19 19:36:16 +08:00
edizor d097805ea3 Update README.md
[skip ci]
2023-07-19 19:35:36 +08:00
edizor 2188703fac Update README.md
[skip ci]
2023-07-19 19:11:45 +08:00
edizor 6fa2244acb Update README.md
[skip ci]
2023-07-19 16:22:36 +08:00
edizor e04ef61899 Update README.md
[skip ci]
2023-07-19 16:17:52 +08:00
Loredana Crusoveanu 0c9a09d705 Merge pull request #14383 from timis1/JAVA-23082
JAVA-23082 Review log statements for projects - Week 16 - 2023 (moved…
2023-07-18 19:25:35 +03:00
emanueltrandafir1993 aa424d05cb BAEL-6578: removed comments 2023-07-17 19:39:13 +02:00
Sam Gardner 0a8d642f0d BAEL-6721 move code to concurrency basic folder 2023-07-17 15:57:24 +01:00
emanuel.trandafir 6fbb898059 BAEL-6578: CompletableFuture allOf.join() vs join() 2023-07-15 19:53:51 +02:00
Bipin kumar ea5c9114fa JAVA-23053: Changes made for correcting the article tagging with right module (#14411) 2023-07-15 17:28:33 +05:30
Dhawal Kapil 2eb978e01b Delete core-java-modules/core-java-io-apis-3 directory (#14408) 2023-07-14 23:31:14 +05:30
Dhawal Kapil 776ae7b875 Update README.md (#14409) 2023-07-14 23:25:39 +05:30
timis1 f2ab4c2aa8 JAVA-22516 Split or move core-java-io-apis-2 module (moved-1) (#14361)
* JAVA-22516 Split or move core-java-io-apis-2 module (moved-1)

* JAVA-22516 Adding back the file after fixing the conflicts

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-07-14 23:00:39 +05:30
Loredana Crusoveanu 346418a266 Merge pull request #14401 from edizor/master
Update README
2023-07-14 17:24:32 +03:00
parthiv39731 c93173406e BAEL-6710 (#14403)
Check If a String Has All Unique Characters in Java
2023-07-13 21:49:18 +02:00
Tetiana 8be07c6b36 BAEL-6717 Convert One Enum to Another Enum in Java (#14400)
- added new module core-java-lang-6
- added data model and test for enums
2023-07-13 21:29:37 +02:00
Sam Gardner 712e8b89e2 BAEL-6721 Add example code for notification of a complete task 2023-07-13 19:07:35 +01:00
edizor bcef2f9001 Update README.md
[skip ci]
2023-07-13 21:46:09 +08:00
edizor cd909bf69b Update README.md
[skip ci]
2023-07-13 21:44:30 +08:00
edizor dc2912fe4c Update README.md
[skip ci]
2023-07-13 21:27:25 +08:00
edizor e668c85464 Update README.md
[skip ci]
2023-07-13 14:25:31 +08:00
edizor 5b1bf5fb47 Update README.md
[skip ci]
2023-07-13 14:14:56 +08:00
edizor 0f3acf5ba0 Update README.md
[skip ci]
2023-07-13 14:06:49 +08:00
edizor 6ebf4aee2a Update README.md
[skip ci]
2023-07-13 14:01:58 +08:00
Michael Olayemi 8333346c43 Does Java read integers in little endian or big endian? (#14381)
* Does Java read integers in little endian or big endian?

* Does Java read integers in little endian or big endian?
2023-07-13 06:35:34 +05:30
MohamedHelmyKassab ded6e1acca BAEL-6418 (#14311)
* BAEL-6418

This commit aims to add a test class for the article BAEL-6418

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java

* Update IntegerClassIntegerTYPEIntClassUnitTest.java
2023-07-11 07:52:58 +05:30
Loredana Crusoveanu ca6b549835 Merge pull request #14376 from edizor/master
Update README.md
2023-07-10 20:14:42 +03:00
tienvn 5f24d80f3d edit unit test 2023-07-10 22:42:12 +07:00
collaboratewithakash 0baeb9312c updated backlink 2023-07-10 16:47:21 +05:30
collaboratewithakash 4cef94bb76 backlink updated 2023-07-10 16:13:02 +05:30
timis1 14e5ed0897 JAVA-23082 Review log statements for projects - Week 16 - 2023 (moved-13) (conti-1) 2023-07-10 11:23:04 +03:00
Vini 0ff24b8a56 Merge pull request #14342 from azhwani/BAEL-6399
BAEL-6399: Getting Yesterday's Date in Java
2023-07-10 10:21:56 +02:00
Ulisses Lima b21100a01e Update StringFilenameValidationUtils.java
Based on email feedback. Changing regex from "A-z" to "A-Z".
2023-07-10 00:00:07 -03:00
Kai Yuan 92c575498c [long-to-bigdecimal] Convert Long to BigDecimal in Java (#14372)
* [long-to-bigdecimal] Convert Long to BigDecimal in Java

* [long-to-bigdecimal] renaming var
2023-07-08 22:30:44 -05:00
Michael Olayemi 6fa3c122e3 Generating Random Numbers in a Range with Some Exclusions in Java (#14357) 2023-07-09 08:37:06 +05:30
edizor e29cb85200 Update README.md
[skip ci]
2023-07-08 08:31:12 +08:00
Azhwani 3277c75dd4 BAEL-6399: Getting Yesterday's Date in Java 2023-07-07 22:17:50 +02:00
tienvn cd4167c462 add unit test 2023-07-08 00:39:27 +07:00
tienvn b693287519 Merge branch 'master' into BAEL-6541-convert-relative-path 2023-07-08 00:12:28 +07:00
Dhawal Kapil 6f905048c4 JAVA-22625 Removed junit4 engine (#14368) 2023-07-06 13:02:53 +05:30
Kai Yuan b64958a6bf [split-digits] Split a String Into Digits- and Non-Digits-Elements (#14349)
* [split-digits] Split a String Into Digits- and Non-Digits-Elements

* [split-digits] JMH benchmark

* [split-digits] using enum
2023-07-05 18:20:28 -05:00
davidmartinezbarua 37add6dc4d Merge pull request #14340 from etrandafir93/features/BAEL-6579-completable_future_thread_pool
BAEL-6579: completable future's thread pool
2023-07-05 14:41:11 -03:00
Shahul Basha 1556a3c384 BAEL-6633 (#14356)
* Deep copy of Arraylist

* Deep copy of Arraylist

* Deep copy of Arraylist updated as per review

* Deep copy of Arraylist updated as per review

* Deep copy of Arraylist updated as per review
2023-07-05 14:24:57 +02:00
vunamtien e3f36b304f rename file (#14365) 2023-07-05 13:23:40 +02:00
Abhinav Pandey 0b193f4544 Bael 6577 (#14260)
* BAEL-6577 - Paralellize for loops in Java

* BAEL-6577 - Paralellize for loops in Java

* BAEL-6577 - Paralellize for loops in Java - adding JMH

* BAEL-6577 - Paralellize for loops in Java - using CompletableFuture
2023-07-04 20:07:40 +05:30
Shahul Basha 1c12d45700 BAEL-6633 (#14308)
* Deep copy of Arraylist

* Deep copy of Arraylist

* Deep copy of Arraylist updated as per review
2023-07-04 14:35:53 +02:00
parthiv39731 de3fc4f21a BAEL-6626 (#14345)
* BALE-6626
Check If a String Contains Non-Alphanumeric Characters in Java

* Move patterns to class level.

---------

Co-authored-by: parthiv39731 <parthiv39731@gmail.com>
2023-07-04 14:17:45 +02:00
Loredana Crusoveanu 03385bed6a Merge pull request #14339 from edizor/master
Update README
2023-07-03 13:07:16 +03:00
vunamtien 8e336ba020 BAEL-6644-read-zip-entries (#14321)
* read zip file entries

* add unit test

* update test code
2023-07-03 12:04:44 +02:00
Kasra Madadipouya ec8f9b4006 Merge pull request #14331 from timis1/JAVA-22498
JAVA-22498 Potential issue in "Difference Between FileReader and Buff…
2023-07-02 15:20:19 +02:00
Kai Yuan dbaba09fb9 [file-is-empty] Check If a File is Empty in Java (#14319)
* [file-is-empty] Check If a File is Empty in Java

* [file-is-empty] adjust code format

* [file-is-empty] rename test methods

* [file-is-empty] Then->then in method names
2023-07-01 21:39:05 -05:00
emanueltrandafir1993 09c62a2d70 BAEL-6579: fixing tests 2023-07-01 13:33:40 +02:00
emanueltrandafir1993 dbbd2a0a12 BAEL-6579: completable future's thread pool 2023-07-01 13:24:01 +02:00
edizor 8deff81ef9 Update README.md
[skip ci]
2023-07-01 17:54:36 +08:00
edizor 004089182c Update README.md
[skip ci]
2023-07-01 17:39:19 +08:00
edizor a24bbc6187 Update README.md
[skip ci]
2023-07-01 17:31:59 +08:00
edizor 9ec60c6e80 Update README.md
[skip ci]
2023-07-01 17:20:41 +08:00
edizor f9eec5f598 Update README.md
[skip ci]
2023-07-01 17:18:27 +08:00
edizor a328fcec3b Update README.md
[skip ci]
2023-07-01 16:59:56 +08:00
edizor 3f9cfa9beb Update README.md
[skip ci]
2023-07-01 16:50:32 +08:00
Dhawal Kapil f4d0dfcbbe JAVA-22625 Replaced Junit4 package with Junit5 (#14334) 2023-06-30 17:03:46 +05:30
timis1 8e800d1a2d JAVA-21187 Cleanup un-committed or un-ignored artifacts - Week 21 - 2023 (moved-5) (#14312)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-06-30 09:33:31 +05:30
Tapan Avasthi f9ac0f459e BAEL-6627: How to start a thread using an anonymous class (#14314)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2023-06-29 20:59:37 -05:00
timis1 615bd5c714 JAVA-22498 Potential issue in "Difference Between FileReader and BufferedReader in Java" 2023-06-29 22:35:10 +03:00
Gaetano Piazzolla f372563ca2 JAVA-21602 | fixing sync code block (#14318) 2023-06-28 20:18:08 +05:30
Azhwani 8e6bdc0205 BAEL-6597: How to get the last Day of the Month in Java (#14191) 2023-06-26 14:05:24 +02:00
Michael Pratt 5abc2c6d2c Add unit tests (#14306) 2023-06-25 20:42:54 -05:00
Loredana Crusoveanu 15dc4eb1d0 Merge pull request #14299 from collaboratewithakash/master
updated backlink
2023-06-25 18:50:11 +03:00
Bipin kumar dad0e8cf5e Java-20326: Changes made for replacing strSubstitutor with stringSubstitutor (#14301) 2023-06-25 18:19:11 +05:30
Gaetano Piazzolla e30ae6e6e0 JAVA-22238 | moved articles into correct locations. (#14297) 2023-06-24 23:41:14 +05:30
Azhwani faf6b79e86 BAEL-6397: Adding One Month to Current Date in Java (#14261) 2023-06-24 10:38:42 +02:00
collaboratewithakash d071df91a8 updated backlink 2023-06-24 13:29:37 +05:30
timis1 b39cee5e7a Java 20405 Align module names, folder names and artifact id - Week 18 - 2023 (moved-7) (#14290)
* JAVA-20405 Align name for spring-boot-aws

* JAVA-20405 Align module name for spring-boot-3-url-matching

* JAVA-20405 Align module name for core-java-streams-collect

* JAVA-20405 Align module name for dummy-surefire-junit47

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-06-23 13:15:40 +05:30
Loredana Crusoveanu 84f60d9c86 Merge pull request #14276 from edizor/master
Update README
2023-06-22 11:42:46 +03:00
Bhaskar Ghosh Dastidar 6844a63c64 [BAEL-6090] vector api examples (#14274)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-06-21 13:50:45 -07:00
edizor 279ae5d2a4 Update README.md
[skip ci]
2023-06-21 20:22:12 +08:00
edizor e296c2fc7c Update README.md
[skip ci]
2023-06-21 18:26:24 +08:00
edizor f2b2b8546d Update README.md
[skip ci]
2023-06-21 17:36:02 +08:00
Dmytro Budym 6311a27f8c Add code examples for "Convert Java Array to Iterable" (#14144)
* Add code examples for "Convert Java Array to Iterable"

* fix formatting
2023-06-20 21:23:47 +05:30
Michael Olayemi c4334bf328 Hex Representation of a SHA-1 Digest of a String in Java (#14239)
* Hex Representation of a SHA-1 Digest of a String in Java

* Hex Representation of a SHA-1 Digest of a String in Java

* Hex Representation of a SHA-1 Digest of a String in Java
2023-06-20 21:17:00 +05:30
davidmartinezbarua 33b4f08269 Merge pull request #14243 from thibaultfaure/article/BAEL-5600
BAEL-5600 Code for the Read Date in Java using Scanner article
2023-06-19 13:07:37 -03:00
Kai Yuan b58d374862 [list<str>-to-list<int>] Convert a List of Strings to a List of Integers (#14244) 2023-06-18 10:53:42 -05:00
Bahaa El-Din Helmy e3afaf7996 Difference Between Boolean.TRUE and true in Java (#14253)
This commit is related to the article "Difference Between Boolean.TRUE and true in Java"
2023-06-16 14:34:34 -07:00
thibault.faure a88028874b BAEL-5600 Code for the Read Date in Java using Scanner article 2023-06-16 10:52:58 +02:00
edizor feb26e3bb0 Update README.md
[skip ci]
2023-06-15 22:59:15 +08:00
edizor cf0b7af0c1 Update README.md
[skip ci]
2023-06-15 22:32:42 +08:00
edizor c75bfdaf29 Update README.md
[skip ci]
2023-06-15 22:09:26 +08:00
edizor 0e52c2fbff Update README.md
[skip ci]
2023-06-15 21:57:03 +08:00