3740 Commits

Author SHA1 Message Date
@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
Niket Agrawal
2f34022ded Test Case Update 2023-10-31 18:11:34 +05:30
@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
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