3542 Commits

Author SHA1 Message Date
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
@hangga
32940c41e4 update time test 2023-11-04 15:28:49 +07: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
Michael Pratt
159461815d New example and unit test 2023-11-03 15:31:25 -06:00
Michael Pratt
1aa2f849f4 Revert 2 changes unrelated to BAEL-7074 2023-11-03 13:10:24 -06:00
Sam Gardner
3d561e24df BAEL-7105 Add code for StringBuilder comparison 2023-11-03 12:43:44 +00:00
Hangga Aji Sayekti
b7bc968da2 Update core-java-modules/core-java-uuid/src/main/java/com/baeldung/uuid/UUIDPositiveLongGenerator.java
Oh yeah..

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-03 17:13:48 +07:00
@hangga
899700f27e [Update] add time field 2023-11-03 15:45:12 +07: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
Michael Pratt
38f30e733f [BAEL-7074] Update tests 2023-11-02 19:23:43 -06:00
Michael Pratt
02e02f928f [BAEL-7074] Synchronization for static data examples 2023-11-02 17:47:02 -06:00
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
@hangga
39bc0b9eaa logback 2023-11-02 21:08:06 +07:00
Hangga Aji Sayekti
18220b12af Update core-java-modules/core-java-uuid/src/test/resources/logback.xml
Ok..

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 21:05:07 +07:00
@hangga
7cc4de47ef remove some space 2023-11-02 16:55:49 +07:00
@hangga
0f222559dc simplyfying log 2023-11-02 14:16:43 +07:00
@hangga
69d17b634d N to NUMBER_OF_CHECKS 2023-11-02 11:25:19 +07:00
Palaniappan Arunachalam
57840bb083 BAEL-4200: JNDI - What Is java:comp/env? (#15081) 2023-11-02 09:28:54 +05:30
@hangga
8f1a091a43 update : add space after () 2023-11-02 09:42:31 +07:00
Hangga Aji Sayekti
a5d0a15419 Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Simplify the throws clause

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:40:20 +07:00
Hangga Aji Sayekti
f25f06795b Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
Simplify the throws clause

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:40:04 +07:00
Hangga Aji Sayekti
9fe75192ec Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDPositiveLongGeneratorUnitTest.java
assert that the value is positive

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:39:43 +07:00
Hangga Aji Sayekti
b946f580f4 Update core-java-modules/core-java-uuid/src/main/java/com/baeldung/uuid/UUIDPositiveLongGenerator.java
Minor style issue: put a space between () and { in each of these methods

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-02 09:39:17 +07:00
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
@hangga
039753af1f back to 16 2023-11-01 18:26:54 +07:00
@hangga
3286aab10c bit 16 to 64 2023-11-01 18:24:02 +07:00
@hangga
e0ca0be76a positive 2023-11-01 16:27:09 +07:00
@hangga
10ddc97854 update 2023-11-01 12:44:04 +07:00
@hangga
579f35981e update, rename class 2023-11-01 11:01:27 +07:00
@hangga
da886b27b3 [Update] resolve after review 2023-11-01 10:52:35 +07:00
@hangga
b55db89b5f update 2023-11-01 10:37:14 +07:00
Hangga Aji Sayekti
0165793370 Update core-java-modules/core-java-uuid/src/test/java/com/baeldung/uuid/UUIDLongGeneratorUnitTest.java
IntStream to loop

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-01 10:36:43 +07:00
danielmcnally285
a54e0ba8d2 Merge branch 'eugenp:master' into danielmcnally285_return_first_non_null 2023-10-31 20:21:00 +00:00
danielmcnally285
9d66171dd5 change unit test name for apache commons unit test given one object and alt method 2023-10-31 20:19:54 +00:00
Eugene Kovko
036369c792 BAEL-6705: Fixed typo (#15015) 2023-10-31 08:21:05 -07:00
@hangga
ece5cdeb6e add unit test 2023-10-31 18:17:54 +07:00
@hangga
a567d31871 add some methods 2023-10-31 18:15:47 +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