MohamedHelmyKassab
7e81d666c9
This commit related to BAEL-7103 ( #15160 )
...
This commit aims to add a test class named "ConvertingHashSetToArrayUnitTest" that provides test methods to convert HashSet to an array.
2023-11-08 14:08:33 -08:00
Kasra Madadipouya
7bc73cd2c4
Merge pull request #15129 from anuragkumawat/JAVA-27176
...
JAVA-27176 Upgrade hibernate validator version in core-java-string-operations-2 module
2023-11-08 21:51:38 +01:00
Bipin kumar
7b6ba0e030
JAVA-26729:Changes made for upgrade commons-validator to latest version ( #15159 )
2023-11-08 12:24:10 +02:00
timis1
c7e2dc2a6e
JAVA-27248 Align module names, folder names and artifact id - Week 44 - 2023 (conti-1) ( #15147 )
...
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-11-08 12:06:28 +02:00
Azhwani
362610ca58
BAEL-6776: Convert File to Byte Array in Java ( #15123 )
2023-11-07 19:21:46 +01:00
Bipin kumar
19e70b20a4
JAVA-26498: Changes made for adding missed module core-java-collectio… ( #15071 )
...
/core-java-modules/core-java-collections-conversions-2
/core-java-modules/core-java-collections-conversions-3
/core-java-modules/core-java-concurrency-advanced-5
2023-11-07 12:28:16 +02:00
Bipin kumar
f1424a62ef
JAVA-26556: Changes made for Adding missed modules ( #15105 )
...
/core-java-modules/core-java-numbers-conversions
/core-java-modules/core-java-datetime-conversion
/di-modules/avaje/persistence-modules/spring-boot-persistence-4
/spring-boot-modules/spring-boot-security-2
/spring-boot-modules/spring-boot-ssl-bundles
/spring-boot-modules/spring-boot-telegram
2023-11-07 12:22:43 +02:00
Loredana Crusoveanu
2fc5ad953c
Merge pull request #15153 from eugenp/ulisseslima-patch-1
...
BAEL-6481 - Remove `isInterrupted()` check
2023-11-07 09:48:06 +02:00
Eugene Kovko
14070ec048
BAEL-6139: Added ThreadMonitorInfo ( #15094 )
...
* BAEL-6139: Added ThreadMonitorInfo
* BAEL-6139: Move ThreadMonitorInfo
* BAEL-6139: Unsafe using park() and unpark(Thread)
2023-11-07 09:20:48 +05:30
Mateusz Szablak
9e995c1e41
BAEL-6489 Time Conversions Using TimeUnit ( #14390 )
2023-11-06 21:38:36 +00:00
Bogdan Cardoş
4ef6b9039f
BAEL-6874 update test code for article ( #15155 )
...
* BAEL-6819 convert from int to Long in Java
* BAEL-6819 update package name
* BAEL-6874 test code for article
* BAEL-6874 rename test class
* BAEL-6874 update test code for article
2023-11-06 12:47:45 -08:00
Ulisses Lima
03c615201f
Update InterruptThread.java
...
Based on a comment:
Section 6 should be headlined with “Using System.exit()” since that’s what stops code execution, not the boolean variable (this is just a means to decide that execution should be stopped, like the negative array element in section 4.
Also it’s unclear why we’d need the “if (isInterrupted())” statement in the while loop of the 8th section: how should isInterrupted() be true one line after we’ve checked in the while loop header that it’s false? Admittedly there’s a little chance that the interrupt status changed between these 2 lines, but this if statement would make much more sense somewhere in the business logic code where more time has passed since the evaluation of “while (!isInterrupted())”… and if that business code doesn’t have that complexity/length, one should omit this if statement altogether, since it creates more confusion than it helps for timely reaction on an interruption.
2023-11-06 16:26:35 -03:00
MohamedHelmyKassab
4d7e5eb5c9
This commit is related to the article BAEL-6988 ( #15149 )
...
This commit aims to add a test class "HexToIntConversionUnitTest.java" that provides several ways to convert Hex string into int.
2023-11-06 09:40:42 -08:00
Mo Helmy
946f849767
Update StreamToMapAndMultiMapUnitTest.java ( #15146 )
2023-11-06 09:34:00 -08:00
davidmartinezbarua
d847f0d335
Merge pull request #15122 from parthiv39731/PR-7177
...
BAEL-7177
2023-11-06 14:10:53 -03:00
davidmartinezbarua
68cfb27b6e
Merge pull request #15125 from sam-gardner/BAEL-7105-Add-code-for-StringBuilder-comparison
...
BAEL-7105 Add code for StringBuilder comparison
2023-11-06 12:53:46 -03:00
parthiv39731
fb2f90d88f
BAEL-7177
...
review comments implemented.
2023-11-06 19:08:47 +05:30
Loredana Crusoveanu
f3f39c2e56
Merge pull request #15133 from edizor/master
...
UPDATE README
2023-11-06 09:31:52 +02:00
Kai Yuan
63953b74f3
Nth substring ( #15120 )
...
* [nth-substring] nth substring in a string
* [nth-substring] find n-th substring
2023-11-05 19:26:25 -06:00
edizor
686196c040
Update README.md
...
[skip ci]
2023-11-05 13:16:48 +08:00
edizor
67d1902524
Update README.md
...
[skip ci]
2023-11-05 13:02:33 +08:00
edizor
252696e2b3
Update README.md
...
[skip ci]
2023-11-05 12:58:15 +08:00
edizor
88a874082d
Update README.md
...
[skip ci]
2023-11-05 12:49:07 +08:00
Mo Helmy
89744aff6c
This commit is related to BAEL-7161 ( #15132 )
...
This commit aims to add a test class "StreamToMapAndMultiMapUnitTest" that provides several approaches to convert Java stream to Map or MultiMap.
2023-11-04 20:06:13 -07:00
panos-kakos
d9fd96773e
[JAVA-26720] Upgraded opencsv to 5.8 version ( #15126 )
2023-11-04 15:23:42 +02:00
panos-kakos
1baaca3e37
[JAVA-26432] Update "Introduction to Java 8 Streams" article Clean up ( #15038 )
2023-11-04 12:01:25 +02:00
anuragkumawat
df78df7a81
JAVA-26394 Move java-native to core-java modules ( #15092 )
2023-11-04 11:23:37 +02:00
anuragkumawat
049770733c
JAVA-27176 Upgrade hibernate validator version in core-java-string-operations-2 module
2023-11-04 12:24:35 +05:30
vaibhav007jain
22ad2b88a8
Bael-7075: Initial Commit ( #15053 )
...
* Create VectorOperations.java
BAEL-7075: Initial Commit
* BAEL-7075: Create VectorOperationsUnitTest.java
* Delete core-java-modules/core-java-collections-5/src/main/java/com/baeldung/vectors/VectorOperations.java
* Update VectorOperationsUnitTest.java
* Update VectorOperationsUnitTest.java - Added one more test case
2023-11-04 11:02:23 +05:30
Sam Gardner
3d561e24df
BAEL-7105 Add code for StringBuilder comparison
2023-11-03 12:43:44 +00:00
Pedro Lopes
6f618f5cf9
BAEL-7128: Optional as a Record Parameter in Java ( #15114 )
...
* record class and test
* renaming test
2023-11-03 09:50:47 +05:30
Michael Olayemi
4c06d8e9f9
How to Document Generic Type Parameter ( #15108 )
...
* How to Documeny Generic Type Parameters
* How to Documeny Generic Type Parameters
2023-11-03 09:45:06 +05:30
parthiv39731
aa27014425
BAEL-7177
...
Modifying Objects within Stream while iterating
2023-11-02 23:12:45 +05:30
parthiv39731
a5d58617e2
BAEL-7177
...
Modifying Objects within Stream while iterating
2023-11-02 20:21:59 +05:30
Palaniappan Arunachalam
57840bb083
BAEL-4200: JNDI - What Is java:comp/env? ( #15081 )
2023-11-02 09:28:54 +05:30
Kai Yuan
d8fb8b381f
[linkedhashmap-first-last] get first and last entry from LinkedHashMap ( #15066 )
...
* [linkedhashmap-first-last] get first and last entry from LinkedHashMap
* [linkedhashmap-first-last] add the stream approach
2023-11-01 20:28:53 -05:00
Maiklins
5fdce9f12a
Merge pull request #15119 from Maiklins/bael-7061-update-readme
...
Update readme
2023-11-01 21:25:32 +01:00
mikr
dad8a5c021
Update readme
2023-11-01 21:14:14 +01:00
Maiklins
47856fa103
Merge pull request #15073 from Neetika23/stringIterationCode
...
String iteration code
2023-11-01 21:09:45 +01:00
Bogdan Cardoş
7482aa3c25
BAEL-6874 test code for article ( #15118 )
...
* BAEL-6819 convert from int to Long in Java
* BAEL-6819 update package name
* BAEL-6874 test code for article
* BAEL-6874 rename test class
2023-11-01 12:13:08 -07:00
Bhaskar Ghosh Dastidar
aaa4e333a6
[BAEL-7043] mutable strings ( #15112 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-01 12:02:13 -07:00
MohamedHelmyKassab
33f52b2e0b
This PR is related to the article BAEL-7130 ( #15109 )
...
* This commit related to the article BAEL-7130
This commit aims to add a RoundDate class with several methods to round the date.
* This commit related to the article BAEL-7130
This commit aims to add a test class DateRoundingUnitTest.
2023-11-01 11:54:40 -07:00
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