mcasari
e0c7ddb52e
BAEL-6600 - limit max size by LinkedHashMap and custom HashMap
2023-11-06 20:38:18 +01: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
danielmcnally285
a8e298e389
Modify Optional value to be more descriptive
2023-11-05 20:11:49 +00:00
danielmcnally285
8f01f45455
Modify givenTwoObjects_whenUsingGoogleGuavaMoreObjects_thenReturnFirstNonNull() unit test to have two extra local variables for readability
2023-11-05 12:06:33 +00:00
danielmcnally285
88a92d399c
Add LazyEvaluate class
2023-11-05 11:43:32 +00:00
danielmcnally285
a33bdf8a03
Use String over Object for unit tests
2023-11-05 11:37:03 +00:00
danielmcnally285
9368968cea
Merge branch 'eugenp:master' into danielmcnally285_return_first_non_null
2023-11-05 11:32:42 +00: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
@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
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
edizor
499705b6d1
Update README.md
...
[skip ci]
2023-10-29 06:42:50 +08:00
edizor
f6deb1c0ef
Update README.md
...
[skip ci]
2023-10-29 06:40:01 +08:00
edizor
467b9a2fed
Update README.md
...
[skip ci]
2023-10-29 06:31:46 +08:00
edizor
3df29751a7
Update README.md
...
[skip ci]
2023-10-29 06:29:25 +08:00
lucaCambi77
c65981938f
[BAEL-7048] - Passing Strings By Reference in Java ( #15047 )
...
* feat: pass by reference java string
* fix: review
2023-10-28 16:56:11 -05:00
collaboratewithakash
3042166f4b
readme created or backlink added
2023-10-28 14:39:02 +05:30
collaboratewithakash
96b32de7ba
backlink added
2023-10-28 14:33:07 +05:30
collaboratewithakash
235cba0dbd
updated backlink
2023-10-28 13:08:15 +05:30
Anton Dalagan
3c8d10dd82
Bael 7146 improvement to this article convert double to float in java ( #15067 )
...
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.
* BAEL-7146 Updated the unit test to display the results of the conversion. This will be explained in the article itself.
* BAEL-7146 cleaned up pR
2023-10-27 09:44:07 -07:00
Neetika23
befba49dec
Update StringIteratorTest.java
2023-10-27 14:52:14 +05:30
Neetika23
66604b8e27
Update StringIterator.java
2023-10-27 14:51:01 +05:30
Neetika23
98c8e96fca
Delete core-java-modules/core-java-lang-oop-patterns/src/test/java/com/baeldung/shallowdeepcopy/ShallowDeepCopyExampleTest.java
2023-10-27 14:49:52 +05:30
Neetika23
f20dbd4ed9
Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/Student.java
2023-10-27 14:49:29 +05:30
Neetika23
002def2d24
Delete core-java-modules/core-java-lang-oop-patterns/src/main/java/com/baeldung/shallowdeepcopy/School.java
2023-10-27 14:49:09 +05:30
Azhwani
16b931c4df
BAEL-7055: How can I capitalize the first letter of each word in a string? ( #14927 )
...
Co-authored-by: Mo Helmy <135069400+BenHelmyBen@users.noreply.github.com>
2023-10-27 08:46:04 +02:00
Neetika23
9f1ce56f82
Update StringIteratorTest.java
2023-10-27 00:09:53 +05:30
Neetika23
aa7ad247e1
Update StringIteratorTest.java
2023-10-27 00:02:38 +05:30
Neetika23
7aeb97fcdf
Update StringIterator.java
2023-10-26 23:57:27 +05:30
Neetika23
0fa77ed809
Create StringIteratorTest.java
2023-10-26 23:45:34 +05:30
Neetika23
d3d60f392b
Update StringIterator.java
2023-10-26 23:41:32 +05:30
Neetika23
450b6d8025
Create StringIterator.java
2023-10-26 23:25:17 +05:30
Azhwani
b4db616646
BAEL-7026: Check If a String Contains a Number Value in Java ( #14867 )
...
Co-authored-by: Luis Javier Peris Morillo <javierperis@gmail.com>
2023-10-26 08:18:01 +02:00
davidmartinezbarua
ba577997ae
Merge pull request #14978 from etrandafir93/features/BAEL-7001-retry_completable_future
...
BAEL-7001: retry RetryCompletableFuture
2023-10-25 17:22:38 -03:00
davidmartinezbarua
5337edf3b2
Merge pull request #15041 from thibaultfaure/article/BAEL-7107-arrays-mismatch
...
BAEL-7107 Code for the article Arrays mismatch method in Java
2023-10-25 16:55:13 -03:00
davidmartinezbarua
2b44a380df
Merge pull request #14863 from sam-gardner/BAEL-6895-truncating-doubles-to-two-decimal-places
...
BAEL-6895 Add code for truncating a double to two decimal places
2023-10-25 16:43:13 -03:00
emanueltrandafir1993
f5bb9479b4
MKT-7001: formatting
2023-10-25 19:53:50 +02:00
Mo Helmy
69aaf2dbf7
This commit is related to the article BAEL-7089 ( #15065 )
...
This commit aims to update the evenElementsQueue queue with oddElementsQueue.
2023-10-25 09:10:28 -07:00
danielmcnally285
efdb3f65b3
return first non null and non empty optional unit tests
2023-10-23 19:15:17 +00:00
anujgaud
e99ce4da19
Add tests for UnicodeLetterChecker
2023-10-23 23:45:43 +05:30
anujgaud
9756cb1d10
Add UnicodeLetterChecker to check if String contains Unicode
2023-10-23 23:44:18 +05:30
emanueltrandafir1993
5b4fc0d6f3
BAEL-7001: small fix
2023-10-23 18:13:35 +02:00
emanueltrandafir1993
210eaf2c0b
BAEL-7001: fixed formatting
2023-10-23 18:07:43 +02:00
Loredana Crusoveanu
1556aac121
Merge pull request #15031 from edizor/master
...
Update README
2023-10-23 10:07:31 +03:00
Mo Helmy
80f0c86aa3
This commit is related to the article BAEL-7089 ( #15037 )
...
This commit aims to add a test class named "RemoveQueueElementsUnitTest" that provides code snippets for removing elements from a queue.
2023-10-22 19:12:19 -07:00
Thibault Faure
4cd426bb14
BAEL-7107 Code for the article Arrays mismatch method in Java
2023-10-22 23:40:15 +02:00
Bipin kumar
6e470ca730
JAVA-25111: Adding missed modules ( #14805 )
2023-10-22 15:09:12 +03:00
anujgaud
781a1c265a
[BAEL-6623] Add code for Convert Object to String ( #15000 )
...
* Add Person class
* Add Unit tests for Person class
* Add Person class
* Add PersonWithHashCode class
* Address review comments
* Add PersonUnitTest class
* Add PersonWithHashCodeUnitTest class
* Add missing dependency
* Remove redundant code
* Remove redundant code
* Address review comments
* Address review comments
2023-10-22 09:49:38 +05:30
timis1
1a7d3aff21
JAVA-23808 Rewrite Custom Spliterator Section of Introduction to Spliterator Article
2023-10-21 20:11:04 +03:00
Neetika23
c0d76384a4
Merge branch 'eugenp:master' into deepShallowCopy
2023-10-21 20:23:16 +05:30
anuragkumawat
b0ed62e8c8
JAVA-24938 Article Code Matches first commit ( #14820 )
2023-10-21 11:57:49 +03:00
Loredana Crusoveanu
835cb8e15c
Merge pull request #15022 from eugenp/lor6-patch-2
...
Delete core-java-modules/core-java-lang-math-3/src/test/java/com/bael…
2023-10-20 19:26:01 +03:00
Loredana Crusoveanu
08c8682406
Merge pull request #15021 from eugenp/lor6-patch-1
...
Update README.md
2023-10-20 19:25:36 +03:00
edizor
faae5f776b
Update README.md
...
[skip ci]
2023-10-20 22:12:59 +08:00
edizor
60bdc1f505
Update README.md
...
[skip ci]
2023-10-20 22:06:57 +08:00
edizor
349fee9202
Update README.md
...
[skip ci]
2023-10-20 22:00:01 +08:00
edizor
76fc84ba64
Update README.md
...
[skip ci]
2023-10-20 21:49:19 +08:00
edizor
8457a250f4
Update README.md
...
[skip ci]
2023-10-20 21:46:32 +08:00
edizor
b3702a402a
Update README.md
...
[skip ci]
2023-10-20 21:44:03 +08:00
edizor
bd31b72858
Update README.md
...
[skip ci]
2023-10-20 21:35:24 +08:00
edizor
29eb8388c9
Update README.md
...
[skip ci]
2023-10-20 21:33:29 +08:00
edizor
838e1d14ca
Update README.md
...
[skip ci]
2023-10-20 21:31:32 +08:00
edizor
2e219b6a08
Update README.md
...
[skip ci]
2023-10-20 21:28:07 +08:00
edizor
2609ac2689
Update README.md
...
[skip ci]
2023-10-20 21:24:28 +08:00
edizor
c309272de3
Update README.md
...
[skip ci]
2023-10-20 21:20:38 +08:00
Niket Agrawal
63b435c097
Method removal for Iterators
2023-10-20 18:43:27 +05:30
edizor
a89385b14f
Update README.md
...
[skip ci]
2023-10-20 21:12:35 +08:00
edizor
adfb51acac
Update README.md
...
[skip ci]
2023-10-20 20:57:48 +08:00
edizor
ca2edea0d4
Update README.md
...
[skip ci]
2023-10-20 20:57:31 +08:00
Kai Yuan
fdca014527
[impr-list-of-lists] The size of list of lists ( #15002 )
2023-10-19 19:24:07 -05:00
davidmartinezbarua
0530fb8bca
Merge pull request #14797 from thibaultfaure/articles/BAEL-6591-Wrapping-String
...
BAEL-6591 Code for the Wrapping a String After a Number of Characters…
2023-10-19 15:17:48 -03:00
Eugene Kovko
e3e95fbc82
BAEL - 6715 ( #15024 )
...
* BAEL-6715: Fixed Indentation
* BAEL-6715: Changed Lists to Streams
* BAEL-6715: Inlined skip methods in the tests
2023-10-19 10:30:55 -07:00
Michael Olayemi
3178d8cb59
Get file size efficiently in Java ( #14970 )
...
* Get file size efficiently in Java
* Get file size efficiently in Java
* Get file size efficiently in Java
* Update FileSizeBenchmark.java
2023-10-19 17:45:54 +05:30
panos-kakos
ec26c2802c
[JAVA-4584] Clean up ( #15006 )
2023-10-19 13:47:13 +03:00
Loredana Crusoveanu
727e24feda
Merge pull request #14980 from timis1/JAVA-25805
...
JAVA-25805 Review log statements for projects - Week 41 - 2023
2023-10-19 13:10:30 +03:00
Bipin kumar
a44a7e4af1
JAVA-26001_A_C: Fix formatting of POMs for modules A to C ( #14961 )
2023-10-19 12:54:46 +03:00
Loredana Crusoveanu
43e4c6d9fe
Delete core-java-modules/core-java-lang-math-3/src/test/java/com/baeldung/magicsquare/README.md
2023-10-18 14:12:40 +03:00
Loredana Crusoveanu
0f93942502
Update README.md
2023-10-18 14:11:54 +03:00
Dhawal Kapil
c3c8b1d016
Update README.md ( #15016 )
2023-10-18 12:29:41 +05:30
MohamedHelmyKassab
faddb1d62c
Update CenteringTextUnitTest.java ( #15011 )
...
This commit aims to add new updates to the class "CenteringTextUnitTest" based on the review process recommendations.
2023-10-17 19:03:31 -07:00
Mo Helmy
3298d5fb96
Updating code related to the article BAEL-7017 ( #15009 )
...
* Update pom.xml
Update pom with the apache dependency
* Update WriteHashmaptoCVSFileUnitTest.java
Adding a new test method to solve the problem using Apache Commons CSV.
2023-10-17 18:59:54 -07:00
@hangga
7eef9b46b7
[Optimize] using try-with-resources
2023-10-17 20:18:28 +07:00
@hangga
223c0bd32f
[Update] rename completableFuture to productDataFuture
2023-10-17 18:45:08 +07:00
@hangga
3f40e66508
clean unused
2023-10-17 18:29:26 +07:00
@hangga
38d4d8f621
text block
2023-10-17 18:24:02 +07:00
@hangga
2efe2c7987
using json body for sample
2023-10-17 13:50:31 +07:00
Kasra Madadipouya
0eac8610bd
Merge pull request #14919 from alvin577austria/JAVA-20429
...
JAVA-20429 : Used URI() instead of the deprecated URL()
2023-10-17 01:43:16 +02:00
Kasra Madadipouya
1c3d24532d
Merge pull request #14921 from panos-kakos/JAVA-25962
...
[JAVA-25962] Upgraded joda-time version to 2.12.5
2023-10-17 01:20:31 +02:00
Mikhail Polivakha
5d6e1a21ff
BAEL-7022 ( #14984 )
...
* BAEL-6706 source code
* BAEL-7022 implemented
2023-10-16 09:38:35 -07:00
@hangga
c1f53973cd
[Update] clean trash
2023-10-16 18:33:15 +07:00
@hangga
7e924cefe4
[update] method name, result, flow
2023-10-16 17:31:19 +07:00
panos-kakos
6d7040879b
[JAVA-4584] Enabled core-java-12 module ( #14926 )
...
Enabled 12,13,15
2023-10-16 12:52:33 +03:00
MohamedHelmyKassab
0eafba3ba1
This PR related to the article BAEL-7023 ( #14993 )
...
* Update pom.xml
* This commit related to the article BAEL-7023
This commit aims to add a test class 'CenteringTextUnitTest.java' proposing several ways to center text in Java.
2023-10-15 15:25:13 -07:00
Mo Helmy
ab62e675ec
This commit is related to the article BAEL-7017 ( #14985 )
...
This commit aims to add a new test class named "WriteHashmaptoCVSFileUnitTest.java" that explains how to write HashMap to a CSV file.
2023-10-15 15:21:36 -07:00
Kai Yuan
8934c1492f
[put-vs-computeIfAbsent] Difference Between putIfAbsent and computeIfAbsent in Java Map ( #14977 )
2023-10-15 15:27:03 -05:00
timis1
696ac5670a
JAVA-25805 Review log statements for projects - Week 41 - 2023
2023-10-14 17:09:16 +03:00
emanuel.trandafir
06943519f8
BAEL-7001: retry RetryCompletableFuture
2023-10-14 13:06:31 +02:00
Kai Yuan
24dcde3d6d
[join-str-comma-and] Joining Strings follows natural language grammar ( #14941 )
2023-10-13 19:41:06 -05:00
Eugene Kovko
268698089d
BAEL-6715: Taking Every Nth Element from a Java Stream ( #14974 )
...
* BAEL-6715: Taking Every Nth Element from a Java Stream
* BAEL-6715: Renaming the tests
2023-10-13 10:47:19 -07:00
Michael Olayemi
604c45b8f0
Difference Between Information Hiding and Encapsulation ( #14886 )
...
* Difference Between Information Hiding and Encapsulation
* Difference Between Information Hiding and Encapsulation
2023-10-13 17:36:18 +05:30
panos-kakos
ee98df03f4
[JAVA-12051] Moved code to core-java-streams-simple for ebook ( #14889 )
2023-10-13 14:41:35 +03:00
ulisses
e9627963ef
include header
2023-10-13 02:39:34 -03:00
Thibault Faure
0bf14c03f5
BAEL-6591 Code for the Wrapping a String After a Number of Characters World-Wise in Java article
2023-10-12 20:59:44 +02:00
MohamedHelmyKassab
d6cedbf2fb
This commit related to the article BAEL-6784 ( #14900 )
...
This commit aims to add a new test class to split Java String into Key-Value pairs
2023-10-12 09:26:33 +02:00
Loredana Crusoveanu
4a56ad8680
Merge pull request #14950 from edizor/master
...
Update README
2023-10-12 10:14:16 +03:00
Kai Yuan
d64af6f9ac
[record-field-reflection] Get All Record Fields and Its Values via Reflection ( #14933 )
2023-10-11 19:46:22 -05:00
Maiklins
d083e32b1a
Update README.md
2023-10-11 23:36:00 +02:00
Niket Agrawal
ce61cf5e7d
Merge remote-tracking branch 'upstream/master' into feature/BAEL-7062-GetIndex
2023-10-12 02:59:22 +05:30
Niket Agrawal
3caca638de
Review Comment Implementation
2023-10-12 02:58:49 +05:30
edizor
80a01d78cd
Update README.md
...
[skip ci]
2023-10-12 05:26:40 +08:00
edizor
5f1c499cea
Update README.md
...
[skip ci]
2023-10-12 05:18:05 +08:00
edizor
475111027f
Update README.md
...
[skip ci]
2023-10-12 05:13:08 +08:00
ovidiumihaitacu
3e9ea6e299
Merge branch 'eugenp:master' into master
2023-10-11 20:59:46 +03:00
ovidiu-mihai98
b60089275f
Created another module for core-java-reflection
2023-10-11 20:58:43 +03:00
Sam Gardner
d4d4a0e1a4
BAEL-6895 extend String format test to cover negatives
2023-10-11 11:09:45 +01:00
Liam Williams
daaefb0f26
Merge pull request #14807 from mcasari/master
...
BAEL-6846 - Converting from Float to BigDecimal in Java
2023-10-10 23:52:21 +01:00
Kai Yuan
a74415a7c7
[rm-linebreaks-inFile] How to Remove Line Breaks From a File in Java ( #14917 )
2023-10-09 19:08:53 -05:00
Bhaskar Ghosh Dastidar
a3148b3dd2
[BAEL-7035] improvement to value based class ( #14938 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-10-09 13:08:57 -07:00
Anton Dalagan
3bd2e7eb3e
Bael 6962 convert double to float in java ( #14936 )
...
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.
* BAEL-6962 - Created unit test, and updated pom.xml
* BAEL-6962 - Removed files unrelated to the article
* BAEL-6962 - Added a declartions for float and double in diff class. Updated unit tests.
* BAEL-6962 - Made changes into the unit tests. Removed printlns, and updated isinstance with assertequals
2023-10-09 13:05:03 -07:00
ACHRAF TAITAI
150efcec72
BAEL-6984: Deprecate URL Public Constructors in Java 20 ( #14934 )
2023-10-09 13:01:20 -07:00
Bhaskar Ghosh Dastidar
8ffbb095da
[BAEL-6955] finalization deprcation ( #14932 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-10-09 12:59:52 -07:00
Niket Agrawal
a78b189d69
Indentation fixes
2023-10-09 23:27:14 +05:30
Niket Agrawal
9c152ce3bd
Review Comment Implementation
2023-10-09 20:10:12 +05:30
@hangga
e3ef6b6275
[Update] non static
2023-10-09 20:40:45 +07:00
@hangga
70e6dcd47b
non static
2023-10-09 20:16:40 +07:00
Mo Helmy
bb29bb9dcd
Adding the new module to the main pom ( #14924 )
...
* This commit related to the article BAEL-6877
This commit aims to add a new Java module "core-java-collections-maps-7"
* Update pom.xml
2023-10-09 13:17:30 +02:00
Azhwani
1f3252df75
BAEL-6714: Convert Char Array to Int Array in Java ( #14875 )
2023-10-09 09:57:03 +02:00
Azhwani
52f4344bce
BAEL-7057: How to convert CharSequence to String? ( #14892 )
2023-10-09 09:55:29 +02:00
Harry9656
901951bff7
BAEL-6898: Add Debug property for ssl Handshakes ( #14822 )
2023-10-09 09:53:54 +02:00
Rufina Uche
0e7c032aa8
Javadoublevsbigdecimal ( #14862 )
...
* Create BigDecimalConversionUnitTest.java
* Add files via upload
* Update BigDecimalConversionUnitTest.java
* Update BigDecimalConversionUnitTest.java
* Update BigDecimalConversionUnitTest.java
2023-10-09 09:53:46 +02:00
Kai Yuan
b7f3161bc5
[bin-int-to-str] zero-padded binary string representation ( #14885 )
2023-10-08 21:30:55 -05:00
Niket Agrawal
1002f9b196
Correction
2023-10-08 21:59:20 +05:30
Niket Agrawal
ca432bbe6b
Updating as per Jira comments
2023-10-08 21:57:29 +05:30
@hangga
92d038dc3c
add default
2023-10-08 20:33:43 +07:00
@hangga
05f4487d63
[Update] no need to be public
2023-10-08 05:12:47 +07:00
Niket Agrawal
51603e4af6
Merge Conflict Fixed
2023-10-07 23:28:10 +05:30
Niket Agrawal
64e46d7e95
Merge remote-tracking branch 'upstream/master' into feature/BAEL-7062-GetIndex
2023-10-07 23:25:36 +05:30
Mo Helmy
e62aba145b
This commit related to the article BAEL-6877 ( #14899 )
...
This commit aims to add a new Java module "core-java-collections-maps-7"
2023-10-07 14:53:38 +02:00
etrandafir93
5aea5d5c29
BAEL-6782: partitioning streams ( #14833 )
...
* BAEL-6782: partitioning streams
* BAEL-6782: code reivew
* BAEL-6782: line continuations
2023-10-06 23:11:47 -05:00
panos-kakos
0c1ea7ae77
[JAVA-25962] Upgraded joda-time version to 2.12.5
2023-10-07 01:12:13 +03:00
Alvin Austria
27e89503fa
JAVA-20429 : Used URI constructions instead of the deprecated URL constructors.
2023-10-06 23:12:32 +02:00
mcasari
68fd94288d
change string constructor test case in simpler form
2023-10-06 21:57:56 +02:00
mcasari
a8290e27cd
Merge remote-tracking branch 'upstream/master'
2023-10-06 21:29:32 +02:00
Niket Agrawal
10da2b32ba
Indentation Corrections on POM
2023-10-06 19:11:54 +05:30
Niket Agrawal
3bb0e4faa1
Merge branch 'eugenp:master' into feature/BAEL-7062-GetIndex
2023-10-06 18:54:19 +05:30
Niket Agrawal
31b23630ec
More Cases covered
2023-10-06 18:53:27 +05:30
Loredana Crusoveanu
428ec8cc6f
Merge branch 'master' into master
2023-10-06 14:22:48 +03:00
Niket Agrawal
602dba71be
Merge remote-tracking branch 'upstream/master' into feature/BAEL-7062-GetIndex
2023-10-06 12:56:00 +05:30
edizor
a9e906aa69
Update README.md
...
[skip ci]
2023-10-05 21:43:16 +08:00
edizor
cb0bccfbd4
Update README.md
...
[skip ci]
2023-10-05 21:39:55 +08:00
edizor
4151a02bb6
Update README.md
...
[skip ci]
2023-10-05 19:34:57 +08:00
edizor
11cea0a956
Update README.md
...
[skip ci]
2023-10-05 19:26:10 +08:00
Bipin kumar
d79e840c9d
JAVA-25433: Fix the failing test in core-java-datetime-conversion ( #14878 )
2023-10-05 11:08:20 +03:00
edizor
d9c845f3d2
Update README.md
...
[skip ci]
2023-10-05 15:57:02 +08:00
edizor
7607c700b5
Update README.md
...
[skip ci]
2023-10-05 15:52:15 +08:00
edizor
cfcaee0e01
Update README.md
...
[skip ci]
2023-10-05 15:49:25 +08:00
edizor
5266e4d218
Update README.md
...
[skip ci]
2023-10-05 15:40:11 +08:00
edizor
39f1754fad
Update README.md
...
[skip ci]
2023-10-05 15:38:21 +08:00
edizor
0c0dddef88
Update README.md
...
[skip ci]
2023-10-05 15:31:17 +08:00
Niket Agrawal
fe6bb0e286
Primary Commit
2023-10-05 11:44:52 +05:30
Eugene Kovko
d76083ae04
BAEL-6828: Finding the Square Root of a BigInteger in Java ( #14903 )
...
* BAEL-6828: Finding the Square Root of a BigInteger in Java
* BAEL-6828: Remove Java 9 annotation from the test
* BAEL-6828: Remove Java 9 profile
2023-10-04 09:23:38 -07:00
mcasari
7e1d5991e6
BAEL-6846 - tests revision due to article updates
2023-10-03 23:41:11 +02:00
mcasari
6f085f068a
BAEL-6846 - minor code format fix
2023-10-03 18:34:40 +02:00
mcasari
89e987aa64
Merge remote-tracking branch 'upstream/master'
2023-10-03 18:29:06 +02:00
Alexandru Borza
dc512cc408
BAEL-6971 Unnamed Classes and Instance Main Methods in Java 21 ( #14841 )
...
* BAEL-6727 Streams vs. Loops in Java
* BAEL-6971 - Unnamed Classes and Instance Main Methods in Java 21
* BAEL-6971 - decomment code
* BAEL-6971 - add child class
* BAEL-6971 - add unnamed class with method
2023-10-02 18:39:22 +05:30
Maiklins
d1aa92f178
Merge pull request #14770 from niket17590/feature/BAEL-6963-ArrayList
...
BAEL-6963 - ArrayList with Multiple Object Types
2023-10-01 22:15:42 +02:00
mcasari
39c353c6ae
BAEL-6846 - updates due to further discussion about float representation
2023-10-01 21:58:55 +02:00
Maiklins
9ca51279ae
Update README.md
2023-10-01 21:56:19 +02:00
mcasari
a493c570ad
Merge remote-tracking branch 'upstream/master'
2023-10-01 21:48:56 +02:00
Kasra Madadipouya
0df6524e4a
Merge pull request #14872 from timis1/JAVA-25350
...
JAVA-25350 Potential issue in "Sorting Java Map in Descending Order" …
2023-10-01 16:14:05 +02:00
ovidiu-mihai98
db9dc5f286
[BAEL-6794] Is Java Reflection Bad Practice?
2023-09-30 23:21:21 +03:00
Anton Dalagan
306f1335b8
Bael 6962 convert double to float in java ( #14883 )
...
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.
* BAEL-6962 - Created unit test, and updated pom.xml
* BAEL-6962 - Removed files unrelated to the article
* BAEL-6962 - Added a declartions for float and double in diff class. Updated unit tests.
2023-09-30 08:39:12 -07:00
Loredana Crusoveanu
b63f63c7da
Merge pull request #14879 from edizor/master
...
Update README
2023-09-30 18:32:56 +03:00
Loredana Crusoveanu
fad02f73d2
BAEL-6847 move article
2023-09-30 18:08:57 +03:00
Liam Williams
95a63c881c
Merge pull request #14827 from rajat-garg/rg/get-extension-from-mimetype
...
[BAEL-6730] Address review comments
2023-09-30 14:59:57 +01:00
Eugene Kovko
9e5c656d84
BAEL-6781: Skip First Iteration in Java Foreach ( #14876 )
2023-09-29 14:39:41 -07:00
edizor
8faea6ae13
Create README.md
...
[skip ci]
2023-09-30 00:33:33 +08:00
edizor
aebe7fa26b
Update README.md
...
[skip ci]
2023-09-30 00:29:54 +08:00
edizor
ac1d97801d
Update README.md
...
[skip ci]
2023-09-30 00:27:07 +08:00
edizor
6a7f88cbbd
Update README.md
...
[skip ci]
2023-09-30 00:06:01 +08:00
Niket Agrawal
d109a6bcb5
Updated POM Formatting
2023-09-29 21:04:56 +05:30
Niket Agrawal
29bfc410bc
Update pom.xml
2023-09-29 21:03:32 +05:30
edizor
dd1503b6e0
Update README.md
...
[skip ci]
2023-09-29 23:19:11 +08:00
edizor
c731ff9446
Update README.md
...
[skip ci]
2023-09-29 23:12:27 +08:00
edizor
3d09f92af7
Update README.md
...
[skip ci]
2023-09-29 23:02:38 +08:00
edizor
14971d6017
Update README.md
...
[skip ci]
2023-09-29 22:59:09 +08:00
edizor
9594616562
Update README.md
...
[skip ci]
2023-09-29 22:56:54 +08:00
edizor
823d0efb33
Create README.md
...
[skip ci]
2023-09-29 22:16:10 +08:00
edizor
b2295ce3b7
Update README.md
...
[skip ci]
2023-09-29 22:14:32 +08:00
Vini
d00863eeb2
Merge pull request #14720 from lajka/master
...
BAEL-6871: Using the Apache Commons Lang 3 for Comparing Objects in Java
2023-09-29 08:33:32 +02:00
timis1
a50bdf6816
JAVA-25350 Potential issue in "Sorting Java Map in Descending Order" article
2023-09-29 09:28:16 +03:00
Zahid Khan
0fbf2beda5
Character generation. ( #14871 )
...
* Add of unit test.
* Add of unit test.
* Update and rename GenerationOfAlphabetsUsingForVariousWaysUnitTest.java to GenerationOfCharactersUsingForVariousWaysUnitTest.java
* Replace the variable name
* Update GenerationOfCharactersUsingForVariousWaysUnitTest.java
* Rename of package
* Rename of file and package.
2023-09-29 11:06:54 +05:30
Zahid Khan
cf058499c4
Generation of the Sequence numbers ( #14589 )
...
* Add of unit test.
* Add of unit test.
* Update and rename GenerationOfAlphabetsUsingForVariousWaysUnitTest.java to GenerationOfCharactersUsingForVariousWaysUnitTest.java
* Replace the variable name
* Update GenerationOfCharactersUsingForVariousWaysUnitTest.java
2023-09-29 09:17:51 +05:30
Eugene Kovko
ed4b43ce98
BAEL-6705: Check if a String is Strictly Alphanumeric With Java ( #14865 )
...
* BAEL-6705: Check if a String is Strictly Alphanumeric With Java
* BAEL-6705: Rename a Class
* BAEL-6705: Fix isAlpanumeric Logic
* BAEL-6705: Fix alphanumericIterationWithCharacterChecks Logic
* BAEL-6705: Expose isAlphanumeric method
* BAEL-6705: Added isAlphanumeric test
2023-09-28 15:05:22 -07:00
Vlad
204555a479
Bael 6961 Unnamed Patterns and Variables ( #14829 )
...
* BAEL-6961 Added first code snippets
* Added code for article
* Added debug configuration
* Build trigger
---------
Co-authored-by: Vlad <vlad.galuska@hibyte.ro>
2023-09-28 09:05:39 -07:00
Eugene Kovko
eabaf2764d
BAEL-6773: Get the OS Username in Java ( #14848 )
...
* BAEL-6773: Removed Ignored Tests
* BAEL-6773: Initializing a New Module
* BAEL-6773: user.name Property Example
* BAEL-6773: Removed Unused Dependencies
2023-09-28 09:04:54 -07:00
Sam Gardner
fe9c78ceb8
BAEL-6895 Add code for truncating a double to two decimal places
2023-09-28 16:29:51 +01:00
Niket Agrawal
27d104d197
Update pom.xml
2023-09-28 11:55:40 +05:30
Niket Agrawal
15ca62982f
Updated pom formatting
2023-09-28 11:21:46 +05:30
Niket Agrawal
20d6dbaef3
Updating spelling mistake
2023-09-28 11:14:33 +05:30
Niket Agrawal
5bc91182a5
Update pom.xml
2023-09-28 11:13:45 +05:30
Niket Agrawal
ca1e69ae86
Review Comments
2023-09-27 22:34:49 +05:30
Michael Olayemi
2dc953dcad
Code Snippets in Java API Documentation ( #14792 )
2023-09-27 22:02:18 +05:30
@hangga
e9536ff0c4
[Update] set DEFAULT_TIMEOUT to 1000
2023-09-27 09:20:07 +07:00
Kai Yuan
ef3c6c0e0b
[list-ic-contains] Check if a List Contains a String Element While Ignoring Case ( #14826 )
2023-09-26 20:08:30 -05:00
@hangga
78d8f62ef7
[Add] completablefuture timeout test
2023-09-26 10:05:04 +07:00
Bhaskar Ghosh Dastidar
c689708383
[BAEL-6956] string templates ( #14825 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-24 18:32:12 -06:00
rajatgarg
d2ede7f67c
Address review comments
2023-09-25 01:34:58 +05:30
Azhwani
6c4848958f
BAEL-6783: Converting HashMap to an ArrayList in Java ( #14814 )
2023-09-23 19:43:53 -07:00
Eugene Kovko
8171a4604f
BAEL-6985: Patterns With Locales ( #14808 )
2023-09-23 19:22:37 -07:00
mcasari
c56bc04f95
BAEL-6846 - change assertNotEquals to assertEquals
2023-09-23 17:02:20 +02:00
mcasari
91c0a3ceb2
Merge remote-tracking branch 'upstream/master'
2023-09-23 16:46:14 +02:00
Kai Yuan
8ea2cc9703
[duration-improvement] isNegative, isZero Tests ( #14791 )
2023-09-22 19:59:43 -05:00
Neetika KHANDELWAL
fc07da9eda
Modified code for Test
2023-09-22 23:06:36 +05:30
Neetika23
601d051f32
Student.java
2023-09-22 22:30:54 +05:30
collaboratewithakash
1937f1a965
backlink updated
2023-09-22 15:28:00 +05:30
Loredana Crusoveanu
6141bd4f56
Merge pull request #14803 from edizor/master
...
Update README
2023-09-22 10:38:51 +03:00
Niket Agrawal
2b7c4f684d
Removal of Surefire and Upgrading to JDK17
2023-09-22 11:29:41 +05:30
Niket Agrawal
efab8b66cf
Removing Maven Plugin
2023-09-22 11:21:24 +05:30
mcasari
f36035a22a
Merge remote-tracking branch 'upstream/master'
2023-09-21 20:28:41 +02:00
mcasari
a7940d9658
BAEL-6846 - Convert from float to BigDecimal
2023-09-21 20:28:15 +02:00
Eugene Kovko
f2b6460056
BAEL-6978: Adding the information about the bug ( #14804 )
2023-09-21 10:26:51 -07:00
Bhaskar Ghosh Dastidar
7af1c7917f
BAEL-6823-middle-element-array ( #14774 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-21 09:23:10 -07:00
davidmartinezbarua
3f62e256da
Merge pull request #14775 from parthiv39731/PR-6726
...
BAEL-6726, Merge Two Arrays and Remove Duplicates in Java
2023-09-21 11:51:52 -03:00
edizor
d83ba0aef8
Update README.md
...
[skip ci]
2023-09-21 20:55:24 +08:00
edizor
654c04d0f2
Update README.md
...
[skip ci]
2023-09-21 20:48:07 +08:00
edizor
d185bbe190
Update README.md
...
[skip ci]
2023-09-21 20:40:36 +08:00
edizor
383ad4b354
Update README.md
...
[skip ci]
2023-09-21 20:31:13 +08:00
edizor
62d47b8acc
Update README.md
...
[skip ci]
2023-09-21 20:07:58 +08:00
edizor
2a34149e8a
Update README.md
...
[skip ci]
2023-09-21 19:56:38 +08:00
Kasra Madadipouya
914d01d03d
JAVA-25341 fix Java networking flaky tests ( #14798 )
2023-09-21 09:28:33 +05:30
Niket Agrawal
910be42d8f
Review Comment changes
2023-09-20 22:05:22 +05:30
Liam Williams
156793bb48
Merge pull request #14796 from rajat-garg/rg/extension-from-mime-type
...
[BAEL-6730] Use ContentType to fetch the extensions
2023-09-19 22:17:46 +01:00
rajatgarg
030f308c5b
Use ContentType to fetch the extensions
2023-09-20 00:36:33 +05:30
Niket Agrawal
0f425a4573
Updated comments
2023-09-19 23:45:25 +05:30
Niket Agrawal
50515d3070
Additional Approach Changes
2023-09-19 23:39:38 +05:30
Niket Agrawal
da0beaeee0
Restructuring to new module
...
Restructuring to new module
2023-09-19 21:25:59 +05:30
Hangga Aji Sayekti
556002e8d1
EOF Detection | bazeniancode@gmail.com | Hangga Aji Sayekti ( #14738 )
...
* [Add] add from my experiment repo github.com/hangga/eof-detection
* [Update] reorder test
* [Update] add close()
* [Update] try with resource
* [update] be careful with typo
2023-09-19 18:23:41 +05:30
Eugene Kovko
1e7471a2b3
BAEL-6822: Difference between Arrays.sort() and Collections.sort() ( #14787 )
2023-09-18 10:36:58 -07:00
Bhaskar Ghosh Dastidar
d6db7fd6e7
[BAEL-6960] value based class ( #14785 )
...
* [BAEL-6960] value based class
* [BAEL-6960] value based class
* [BAEL-6960] value based class
---------
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-18 10:26:37 -07:00
davidmartinezbarua
9d0985112b
Merge pull request #14759 from sam-gardner/BAEL-6811-check-if-letter-is-emoji
...
BAEL-6811 Check if letter is emoji example code
2023-09-18 12:35:24 -03:00
Sam Gardner
39f5f3cdd7
BAEL-6811 extract dependecy version number
2023-09-18 10:41:36 +01:00
Loredana Crusoveanu
2c7bba9332
Merge pull request #14778 from edizor/master
...
Update README
2023-09-17 14:36:32 +03:00
Michael Olayemi
2a574249c1
Add Minutes to a String Time in Java ( #14767 )
2023-09-17 08:44:00 +05:30
parthiv39731
2d4d7308ad
BAEL-6726, modified method names
2023-09-15 21:26:37 -07:00
edizor
64b8889bab
Update README.md
...
[skip ci]
2023-09-16 09:26:17 +08:00
edizor
3e91cea3b7
Update README.md
...
[skip ci]
2023-09-16 09:23:27 +08:00
edizor
57448bdc88
Update README.md
...
[skip ci]
2023-09-16 09:19:02 +08:00
edizor
1e1dc78e41
Update README.md
...
[skip ci]
2023-09-16 09:10:33 +08:00
edizor
9fb2ef8bc0
Update README.md
...
[skip ci]
2023-09-16 09:00:17 +08:00
parthiv39731
7b188517e3
BAEL-6726, Merge Two Arrays and Remove Duplicates in Java
2023-09-15 09:20:34 -07:00
Niket Agrawal
5159e8ab67
Program Updates
2023-09-15 19:48:05 +05:30
Niket Agrawal
b7b167ea1e
Updated output
2023-09-15 18:39:05 +05:30
Kasra Madadipouya
f820b37b6f
Merge pull request #14739 from Bipinkumar27/JAVA-24545
...
JAVA-24545: Changes made for fixing issues in core-java-perf-2
2023-09-15 13:41:31 +02:00
Amol Gote
78b183b581
BAEL-6791 - Added in existing module Unit tests and Bench mark tests. ( #14744 )
...
* BAEL-6791 - Added in existing module Unit tests and Bench mark tests.
* BAEL-6791 - Put all of your code in a single package that refers to your article
* BAEL-6791 -
PR - add a newline after the package statements
PR - use 2-space indents for line continuations.
Use given-when-then naming convention for test methods
2023-09-14 21:00:04 -05:00
Bhaskar Ghosh Dastidar
c1b2a9d4f7
BAEL-6838-index-of-set-element ( #14771 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-14 16:17:36 -07:00
Niket Agrawal
6929fe1469
BAEL-6963
...
BAEL-6963 Changes
2023-09-15 00:04:31 +05:30
Sam Gardner
f0719f76a7
BAEL-6811 remove unused import
2023-09-14 16:09:18 +01:00
Sam Gardner
913f8f5500
BAEL-6811 remove emoji4j usage
2023-09-14 16:03:19 +01:00
Sam Gardner
39f235d8ba
Revert "BAEL-6811 Move folders"
...
This reverts commit 1fe064e743
.
2023-09-14 15:56:39 +01:00
Sam Gardner
1fe064e743
BAEL-6811 Move folders
2023-09-14 15:06:43 +01:00
Loredana Crusoveanu
a6ec9122ea
BAEL-6811 move string article to make space for a new one using the same library; delete extra file
2023-09-14 10:01:58 +03:00
davidmartinezbarua
8bdab701bf
Merge pull request #14727 from parthiv39731/PR-6669
...
BAEL-6669, Passing Class Name as Parameter in Java
2023-09-13 15:03:07 -03:00
Sam Gardner
601275a5c9
BAEL-6811 Check if letter is emoji example code
2023-09-13 15:39:17 +01:00
Bipinkumar27
76a427219e
JAVA-24545: Incorporating review comments
2023-09-13 19:50:36 +05:30
panos-kakos
d167545325
[JAVA-20157] Upgraded core-java-serialization module to JDK17 ( #14646 )
...
* [JAVA-20157] Upgraded core-java-serialization module to JDK17
* [JAVA-20157] Upgraded core-java-nio-2 module to JDK17
2023-09-13 12:39:35 +03:00
Bipin kumar
76f7964c96
JAVA-24677: Changes made for add sub-modules in parents ( #14690 )
2023-09-13 12:28:47 +03:00
Michael Olayemi
cc911cefeb
Differences between Heap Dump, thread dump and core dump ( #14718 )
...
* Differences between Heap Dump, thread dump and core dump
* Differences between Heap Dump, thread dump and core dump
* Differences between Heap Dump, thread dump and core dump
* Differences Between Heap Dump, Thread Dump and Core Dump
2023-09-13 06:48:47 +05:30
Kai Yuan
7c02a6ffdb
[integer-to-digits] How to Split an Integer Number Into Digits in Java ( #14736 )
2023-09-12 16:46:08 -05:00
vunamtien
9bec8ebcdb
BAEL-6816-create-stream-regex-matches ( #14731 )
...
* BAEL-6816-create-stream-regex-matches
* add unit test
---------
Co-authored-by: tienvn <tienvn@>
2023-09-12 21:58:56 +02:00
Bhaskar Ghosh Dastidar
42188fdc2d
BAEL-6838-index-of-set-element ( #14747 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-11 17:37:38 -07:00
mmomjya
3d522eb8c4
BAEL-6142 Map clear methods in Java ( #14255 )
...
Co-authored-by: Mariam Momjyan <mmomjyan@vmware.com>
2023-09-11 07:40:30 -07:00
Hamid Reza Sharifi
d2a1340d5c
Bael 6188: Extract CN from X509Certificate in Java ( #14681 )
...
* #BAEL-6188:add unit tests
* #BAEL-6188:add dependencies
* #BAEL-6188:add certificate
* #BAEL-6188:add extract CN using Regex
* #BAEL-6188:refactor CN using Regex
* #BAEL-6188:refactor test case name
* #BAEL-6188:add properties for dependency version
2023-09-10 14:11:22 -05:00
Alexandru Borza
53f3cf70a1
BAEL-6727 Streams vs. Loops in Java ( #14741 )
2023-09-10 08:49:43 -07:00
Harry9656
4609814e3c
BAEL-6896: Add test for public static final field lookup. ( #14668 )
2023-09-09 21:28:24 +02:00
Loredana Crusoveanu
e6a231d824
Merge pull request #14734 from edizor/master
...
Update README
2023-09-09 18:33:53 +03:00
Liam Williams
ba5065c692
Merge pull request #14740 from rajat-garg/rg/extension-from-mime-type
...
[BAEL-6730] Move hardcoded version to properties
2023-09-09 15:47:46 +01:00
rajatgarg
30b5e9d7cb
Move hardcoded version to properties
2023-09-09 15:25:14 +05:30
Bipinkumar27
1189911fc0
JAVA-24545: Changes made for fixing issues in core-java-perf-2
2023-09-09 15:22:02 +05:30
edizor
bcacb5a37a
Update README.md
...
[skip ci]
2023-09-08 22:48:56 +08:00
edizor
218938048a
Update README.md
...
[skip ci]
2023-09-08 22:42:31 +08:00
edizor
03610a604c
Update README.md
...
[skip ci]
2023-09-08 22:32:48 +08:00
edizor
d68d446414
Update README.md
...
[skip ci]
2023-09-08 22:25:42 +08:00
edizor
7ed3a423cf
Update README.md
...
[skip ci]
2023-09-08 22:22:17 +08:00
edizor
6ce1d12ff1
Update README.md
...
[skip ci]
2023-09-08 22:15:04 +08:00
edizor
1b5d9edacb
Update README.md
...
[skip ci]
2023-09-08 22:10:24 +08:00
edizor
2a4f7f0e86
Update README.md
...
[skip ci]
2023-09-08 21:55:48 +08:00
edizor
90216306d7
Update README.md
...
[skip ci]
2023-09-08 21:49:40 +08:00
Gaetano Piazzolla
cf1a561443
JAVA-24659 Simplifying Logic of Consumer-Producer problem. ( #14682 )
...
* JAVA-24659 | moving runflag inside consumer and producer. it makes no sense to have it inside
* JAVA-24659 | using atomic integer for sequence, and moving thread.sleep() in the same place
* JAVA-24659 | enhanced logic for simplicity
2023-09-08 19:14:38 +05:30
Bipin kumar
b4d796004d
JAVA-24414: Changes made for fixing failing test cases in core-java-st… ( #14647 )
2023-09-08 11:58:51 +03:00
Liam Williams
62e3033f5c
Merge pull request #14701 from rajat-garg/rg/extension-from-mime-type
...
[BAEL-6730] Add getting Extension from MIME type of a file
2023-09-07 18:34:53 +01:00
rajatgarg
2b5199a2c6
Address review comments
2023-09-07 22:48:08 +05:30
Bipin kumar
9748166751
JAVA-23291: adding missed modules in pom.xml ( #14614 )
2023-09-07 18:47:37 +03:00
Vini
c488be7122
Merge pull request #14685 from ovidiumihaitacu/master
...
[BAEL-6810] - Sequenced Collections in Java 21
2023-09-07 17:07:37 +02:00
Michael Olayemi
75bd390e27
update clamp function
2023-09-07 05:09:07 +00:00
Kai Yuan
7a0c69e969
[stream-map-object] Create List of Object From Another Type Using Java 8 ( #14716 )
2023-09-06 22:33:56 -05:00
rajatgarg
982a592fc6
Address review comments
2023-09-06 23:27:10 +05:30
parthiv39731
b066bce2b6
BAEL-6669, Passing Class Name as Parameter in Java
2023-09-06 03:02:37 -07:00
rajatgarg
d7f6dfff1c
Address review comments
2023-09-06 02:18:51 +05:30
rajatgarg
d7367094f3
Address review comments
2023-09-06 02:17:39 +05:30
rajatgarg
869b931e73
Update Tests to get multiple extensions
2023-09-06 02:12:57 +05:30
lajka
a0ca4e6438
BAEL-6871: Remove junit-jupiter-api dependency.
2023-09-05 19:44:37 +02:00
lajka
5116a17b36
BAEL-6871: Add code and tests demonstrating how to compare objects using apache commons lang 3.
2023-09-05 19:42:03 +02:00
davidmartinezbarua
41facdad5f
Merge pull request #14670 from manfred106/BAEL-6894-close-iostream
...
BAEL-6894: Closing Java IO Streams
2023-09-05 14:15:27 -03:00
Kasra Madadipouya
b176a7feff
Merge pull request #14708 from GaetanoPiazzolla/JAVA-24699-delete-classes
...
JAVA-24699 | removing useless classes
2023-09-04 16:13:03 +02:00
Mo Helmy
c4c613b5a8
This commit related to the article BAEL-6877 ( #14676 )
...
This commit aims to add a new test class to convert a HashMap string into a HashMap object using toString().
2023-09-04 12:12:03 +02:00
Loredana Crusoveanu
dcf2685179
Merge pull request #14691 from edizor/master
...
Update README
2023-09-04 09:41:35 +03:00
Kai Yuan
1811ec4bc1
[meaning-of-->] the meaning of --> ( #14678 )
2023-09-03 21:50:16 -05:00
gaepi
7d712320ed
JAVA-24699 | removing useless classes
2023-09-03 15:12:14 +02:00
Partha Sutradhar
228598db3c
[BAEL-6481] - Stop Executing Further Code in Java ( #14076 )
...
* Creating a Deep vs Shallow Copy of an Object in Java
* [BAEL-6481]-Stop Executing Further Code in Java
* [BAEL-6481] - Stop Executing Further Code in Java
* [BAEL-6481] - Stop Executing Further Code in Java
* [BAEL-6481] - Stop Executing Further Code in Java.
* [BAEL-6481] - Stop Executing Further Code in Java.
* [BAEL-6481] - Stop Executing Further Code in Java.
* [BAEL-6481] Stop Executing Further Code in Java.
* [BAEL-6481] Stop Executing Further Code in Java. Moved to core java numbers - 6
* [BAEL-6481] Stop Executing Further Code in Java.
* [BAEL-6481] Stop Executing Further Code in Java.
* [BAEL-6481] Stop Executing Further Code in Java.
* [BAEL-6481] Stop Executing Further Code in Java. [Commented the Test cases]
* [BAEL-6481] Stop Executing Further Code in Java. [Commented the Two Test]
* [BAEL-6481] Stop Executing Further Code in Java. [Fixed Method Name's]
2023-09-03 10:13:01 +05:30
Bhaskar Ghosh Dastidar
e337b6dff3
[BAEL-6823] middle of array ( #14696 )
...
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-09-02 20:21:33 -07:00
rajatgarg
f1c7b8b2b0
Add getting Extension from MIME type of a file
2023-09-03 03:59:20 +05:30
ACHRAF TAITAI
8c54cce5d1
BAEL-6847: Replacing Single Quotes in Java String ( #14665 )
2023-09-02 16:35:17 +02:00
davidmartinezbarua
b7c65ace34
Merge pull request #14464 from abdul0214/convert-between-localdate-and-epoch
...
BAEL-5928: Adds conversion b/w Epoch & LocalDateTime
2023-09-01 19:32:54 -03:00
Pedro Lopes
94b8db6042
BAEL-6699: Java Interface Naming Conventions ( #14551 )
...
* interfaces and implementations
* code review changes
2023-09-01 21:01:51 +02:00
edizor
9de72d9295
Update README.md
...
[skip ci]
2023-09-01 19:50:43 +08:00
edizor
b472014d5f
Update README.md
...
[skip ci]
2023-09-01 19:45:05 +08:00
edizor
456312f67d
Update README.md
...
[skip ci]
2023-09-01 19:39:52 +08:00
edizor
afb3d1c7cb
Update README.md
...
[skip ci]
2023-09-01 19:29:30 +08:00
edizor
1cdfb0fece
Update README.md
...
[skip ci]
2023-09-01 19:22:51 +08:00
edizor
04078e06a0
Update README.md
...
[skip ci]
2023-09-01 19:08:11 +08:00
Michael Olayemi
036409850b
Clamp Function in Java ( #14650 )
...
* Clamp Function in Java
* Clamp Function in Java
* Clamp Function in Java
* Clamp Function in Java
2023-09-01 08:42:51 +05:30
ovidiu-mihai98
21176bb975
[BAEL-6810] - Sequenced Collections in Java 21
2023-08-30 19:58:17 +03:00
Liam Williams
89b7fa640d
Merge pull request #14653 from parthiv39731/PR-6865
...
BAEL 6865
2023-08-30 10:05:23 +01:00
parthiv39731
9e0223b28f
BAEL-6865, implemented review comments
2023-08-29 20:16:37 -07:00