ACHRAF TAITAI
0838279c6a
BAEL-7092: How to get the size of a file in MB, KB & GB in java ( #15117 )
...
* BAEL-7092: How to get the size of a file in MB, KB & GB in java
* Update JavaFileSizeUnitTest.java
* BAEL-7092: How to get the size of a file in MB, KB & GB in java
---------
Co-authored-by: Grzegorz Piwowarek <gpiwowarek@gmail.com>
2023-11-15 22:16:28 +01:00
Wynn Teo
5787183a36
BAEL-7109 - added code to demostrate how to get max date in java ( #14944 )
...
* BAEL-7109 - added code to demostrate how to get max date in java
* BAEL-7109 Fix test case typo
* BAEL-7109 Fix test case file name
* Fix the test method
* Fix the test method
* Fix the test method
* Remove public
* add new line
2023-11-15 20:25:03 +05:30
Michael Olayemi
de50130c74
Create Table using ASCII in a Console in Java ( #15158 )
2023-11-15 19:00:00 +05:30
Azhwani
2133e9b5db
BAEL-7176: How to avoid NoSuchElementException with Stream ( #15098 )
2023-11-14 22:48:17 +01:00
vunamtien
c6dbdeaaa5
BAEL-7106-compress-and-uncompress-bytes ( #15216 )
2023-11-14 12:41:43 +01:00
MohamedHelmyKassab
c5af2f3f3b
This PR is related to BAEL-7181 ( #15192 )
...
* This commit is related to BAEL-7181
This commit aims to add a class "TimestampToLong.java" that provides several approaches to convert timestamp string into long.
* This commit is related to BAEL-7181
This commit aims to add a test class "TimestampToLongUnitTest.java" that provides several approaches to convert timestamp string into long.
2023-11-13 21:53:16 -08:00
Mikhail Polivakha
8532499dcc
BAEL-7187 implemented ( #15208 )
...
* BAEL-7139 implemented
* BAEL-7187 implemented
2023-11-13 21:40:27 -08:00
Kasra Madadipouya
5d4fd5d50b
Merge pull request #15195 from panos-kakos/JAVA-26774
...
[JAVA-26774] Upgraded mapstruct library to latest version
2023-11-13 23:06:51 +01:00
Kasra Madadipouya
cdc1d8001f
Merge pull request #15202 from panos-kakos/JAVA-26739
...
[JAVA-26739] Upgraded json-path to latest version
2023-11-13 22:44:57 +01:00
panos-kakos
21eb70547f
[JAVA-26719] Upgraded joda-time to latest version ( #15189 )
2023-11-13 12:00:45 +02:00
panos-kakos
7d0c744c7c
[JAVA-26433] Formatting ( #15179 )
2023-11-13 11:27:36 +02:00
davidmartinezbarua
5e681a24dd
Merge pull request #15124 from michael-pratt/BAEL-7074
...
BAEL-7074: Static variable synchronization techniques
2023-11-12 18:15:09 -03:00
Michael Pratt
573df300b0
Fix indentation issues
2023-11-12 09:00:56 -07:00
Lucian Snare
c0a9532c64
BAEL-6790: Write and Read file with HashMap ( #15087 )
...
* Add examples for reading and writing a HashMap from a file
* Add test for gson
2023-11-12 07:59:00 -08:00
panos-kakos
ec251f847b
[JAVA-26739] Upgraded json-path to latest version
2023-11-12 16:35:46 +02:00
panos-kakos
47f7b926e6
[JAVA-26774] Upgraded mapstruct library to latest version
2023-11-12 07:32:39 +02:00
Loredana Crusoveanu
d170b2e036
Merge pull request #15181 from edizor/master
...
Update README
2023-11-11 18:50:53 +02:00
panos-kakos
b87609265d
[JAVA-26709] Upgraded modelmapper to latest version
2023-11-11 08:29:09 +02:00
edizor
a6bed18176
Update README.md
...
[skip ci]
2023-11-11 08:31:26 +08:00
edizor
12fa2a3961
Update README.md
...
[skip ci]
2023-11-11 08:27:08 +08:00
edizor
c523d5b201
Update README.md
...
[skip ci]
2023-11-11 08:21:22 +08:00
edizor
3d8d1ad904
Update README.md
...
[skip ci]
2023-11-11 08:16:39 +08:00
edizor
4e5f7adc81
Update README.md
...
[skip ci]
2023-11-11 08:10:55 +08:00
edizor
2c26effb64
Update README.md
...
[skip ci]
2023-11-11 07:49:53 +08:00
edizor
bb31624bb4
Update README.md
...
[skip ci]
2023-11-11 07:43:24 +08:00
edizor
75828dbf49
Update README.md
...
[skip ci]
2023-11-11 07:29:30 +08:00
panos-kakos
7c1065b494
[JAVA-26439] Moved code related to "Guide to Stream.reduce()" to ebook module ( #15170 )
2023-11-10 16:15:28 +02:00
edizor
4c87707c90
Update README.md
...
[skip ci]
2023-11-10 21:16:16 +08:00
edizor
2e330d6f34
Update README.md
...
[skip ci]
2023-11-10 21:12:41 +08:00
edizor
c7883a6d5c
Update README.md
...
[skip ci]
2023-11-10 21:10:20 +08:00
edizor
277001771c
Update README.md
...
[skip ci]
2023-11-10 21:06:56 +08:00
edizor
a2ad229e4e
Update README.md
...
[skip ci]
2023-11-10 19:37:26 +08:00
edizor
ac0fa6ff78
Update README.md
...
[skip ci]
2023-11-10 18:46:51 +08:00
Bogdan Cardoş
63679af8ca
BAEL-6874 update test code for article ( #15164 )
...
* 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
* BAEL-6874 update test code for article
2023-11-09 14:01:10 -08:00
psevestre
0b0db24ebb
[BAEL-7044] Shared Memory Between Two JVMs ( #15162 )
...
* [BAEL-4849] Article code
* [BAEL-4968] Article code
* [BAEL-4968] Article code
* [BAEL-4968] Article code
* [BAEL-4968] Remove extra comments
* [BAEL-5258] Article Code
* [BAEL-2765] PKCE Support for Secret Clients
* [BAEL-5698] Article code
* [BAEL-5698] Article code
* [BAEL-5905] Initial code
* [BAEL-5905] Article code
* [BAEL-5905] Relocate article code to new module
* [BAEL-6275] PostgreSQL NOTIFY/LISTEN
* [BAEL-6275] Minor correction
* BAEL-6138
* [BAEL-6138] WIP - LiveTest
* [BAEL-6138] Tutorial Code
* [BAEL-6138] Tutorial Code
* [BAEL-6694] Article Code
* [BAEL-7044] Tutorial code
---------
Co-authored-by: Philippe Sevestre <psevestre@gmail.com>
2023-11-09 13:56:11 -08:00
Paul Greer
499ed4bbbd
BAEL-6943: Difference between String and StringBuffer in Java ( #14815 )
...
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Add files via upload
* Delete core-java-modules/core-java-lang-6/src/main/java/com/baeldung/intposneg directory
* Delete core-java-modules/core-java-lang-6/src/test/java/com/baeldung/intposneg directory
* Add files via upload
* Delete core-java-modules/core-java-numbers-conversions/src/main/java/com/baeldung/stringtoint/intposneg directory
* Add files via upload
* Add files via upload
* Delete core-java-modules/core-java-numbers-conversions/src/main/java/com/baeldung/intposneg directory
* Delete core-java-modules/core-java-numbers-conversions/src/test/java/com/baeldung/intposneg directory
* Add files via upload
* Add files via upload
* Delete core-java-modules/core-java-lang-6/src/main/java/com/baeldung/diffstringstringbuffer directory
* Delete core-java-modules/core-java-lang-6/src/test/java/com/baeldung/diffstringstringbuffer directory
* Delete core-java-modules/core-java-string-apis-2/src/main/java/com/baeldung/diffstringstringbuffer directory
* Delete core-java-modules/core-java-string-apis-2/src/test/java/com/baeldung/diffstringstringbuffer directory
* Add files via upload
* Add files via upload
2023-11-09 13:52:12 -08:00
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