Commit Graph

3643 Commits

Author SHA1 Message Date
anuragkumawat e076a171ee JAVA-26736 Upgrade jackson to latest version 2023-11-30 22:54:02 +05:30
Maiklins 35b88b06af Update README.md 2023-11-30 16:10:46 +01:00
Maiklins df2a1a7501 Merge pull request #15285 from Michaelin007/unixtime
Retrieving Unix Time in Java
2023-11-30 16:05:58 +01:00
uzma 1c5e81fa34 [BAEL-7073] code for executor service 2023-11-30 01:31:02 +00:00
Loredana Crusoveanu 564de403df Merge pull request #15316 from eugenp/ulisseslima-patch-bael-7022
BAEL-7022 Why wait must be called in a synchronized block - quick fix
2023-11-29 10:57:03 +02:00
Alvin Austria 989c1cfe77 Merge pull request #15315 from panos-kakos/JAVA-26726
[JAVA-26726] Upgraded maven-javadoc-plugin to 3.6.2 version
2023-11-29 00:05:27 +01:00
anujgaud 677f4277f2 Add Unit test for commons Lang 2023-11-29 01:57:30 +05:30
anujgaud 118195d996 Add Apache Commons Lang support 2023-11-29 01:56:50 +05:30
anujgaud ecba15ffb7 Update tests 2023-11-29 01:51:58 +05:30
anujgaud fcc9c4c6ce Add milliseconds 2023-11-29 01:49:35 +05:30
Andrea Giulio Cerasoni b11a85adb1 Merge pull request #15279 from sk1418/negate-int
[negate-int] negate an int in java
2023-11-28 17:06:35 +00:00
Ulisses Lima 7b5225e8db BAEL-7022 Why wait must be called in a synchronized block - Changing Boolean to primitive
Based on a comment.
2023-11-28 12:14:50 -03:00
panos-kakos c67139e60b [JAVA-26727] Upgraded maven-javadoc-plugin to 3.6.2 version 2023-11-28 06:38:53 +02:00
SGWebFreelancer 93b63daa27 Fix test file name 2023-11-28 10:24:39 +08:00
SGWebFreelancer 50de40daa2 Unit Testing for CompletableFuture class 2023-11-28 10:19:27 +08:00
Sameer 6164b9c0ba string vs stringBuffer comparison (#15306)
Co-authored-by: Sahil <sahilsriv05@gmail.com>
2023-11-27 14:17:00 -08:00
MohamedHelmyKassab 5d6b5bf965 This commit is related to BAEL-7254 (#15299)
This commit aims to add a new test class "ByteToCharArrayUnitTest" that validates the conversion process of a Byte array into a Char array.
2023-11-26 19:52:14 -08:00
Bhaskar Ghosh Dastidar d69a3ac6bd [BAEL-6787] Increment map value benchmark - JMH (#15268)
* [BAEL-6787] jmh class added

* [BAEL-6787] jmh pom

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-26 19:43:04 -08:00
Liam Williams da3f32c737 Merge pull request #15106 from hangga/generate-unique-long
BAEL-6430 : Generate unique long using UUID | Hangga Aji Sayekti
2023-11-27 01:03:23 +00:00
Kai Yuan 62cc5adfbb [negate-int] add an empty line 2023-11-26 20:59:53 +01:00
Niket Agrawal 7b83abb7ae Review Comments 2023-11-26 23:51:38 +05:30
Kai Yuan 0b2981b94e [negate-int] using logger instead of sys.print.out 2023-11-26 19:10:19 +01:00
davidmartinezbarua 951dcdaee8 Merge pull request #15169 from sk1418/map-sort-by-value
[map-sort-by-value] sort map by value
2023-11-26 13:13:48 -03:00
Kasra Madadipouya 9af7dad83d Merge pull request #15282 from harry9656/task/JAVA-26771
JAVA-26771: Update liquibase-core and liquibase-maven-plugin to version 4.25.0
2023-11-25 19:11:29 +01:00
Loredana Crusoveanu d560084f30 Merge pull request #15288 from edizor/master
Update README
2023-11-25 17:49:52 +02:00
Kasra Madadipouya 33e3fc580a Merge pull request #15275 from harry9656/task/JAVA-26530
JAVA-26530: Update the RectangleOverlap adding a method without border checks.
2023-11-25 14:08:58 +01:00
michaelin007 fa272d3395 Retrieving Unix Time in Java 2023-11-25 05:25:47 +00:00
Graham Cox f4c35c055c BAEL-7218: Inter-Process Communication Methods in Java (#15286) 2023-11-24 22:17:18 +01:00
MohamedHelmyKassab b80ceb7ceb This PR is related to BAEL-7188 (#15271)
* Update pom.xml

Adding core-java-swing

* This commit is related to BAEL-7188

This commit aims to add a new module named "core-java-swing".
2023-11-24 08:45:14 -08:00
Bipin kumar 789ecf4581 Java 26716 Upgrade flying-saucer-pdf-openpdf, jsoup, openhtmltopdf (#15263) 2023-11-24 18:33:35 +02:00
edizor f52997ad42 Update README.md
[skip ci]
2023-11-24 21:53:03 +08:00
edizor 9b63e853fd Update README.md
[skip ci]
2023-11-24 21:40:18 +08:00
edizor a4c30e423d Update README.md
[skip ci]
2023-11-24 21:35:59 +08:00
edizor 8b481ed4d4 Update README.md
[skip ci]
2023-11-24 21:27:11 +08:00
edizor 6ced5e2c2f Update README.md
[skip ci]
2023-11-24 21:22:32 +08:00
mikr 33c1b23627 Update readme 2023-11-24 14:20:26 +01:00
edizor 4e28968b06 Update README.md
[skip ci]
2023-11-24 21:12:43 +08:00
Maiklins 5e9bf11102 Merge pull request #15154 from mcasari/master
BAEL-6600 - limit max size by LinkedHashMap and custom HashMap
2023-11-24 14:05:06 +01:00
michaelin007 c519d2be47 https://jira.baeldung.com/browse/BAEL-7268 2023-11-24 09:36:25 +00:00
Liam Williams b6dc257c80 Merge pull request #15113 from danielmcnally285/danielmcnally285_return_first_non_null
BAEL-7010 - return first non null
2023-11-23 22:29:58 +00:00
Harpal Singh 4f960b6579 JAVA-26771: Fix test core-java-string-operations-7 2023-11-23 21:53:14 +01:00
Harpal Singh 60e843aa61 JAVA-26771: Update core-java-string-operations-7 liquibase-core to 4.25.0 2023-11-23 20:59:19 +01:00
Niket Agrawal 39f5de4e30 Review Comments 2023-11-23 20:54:11 +05:30
Kai Yuan 81fe96721a [negate-int] negate an int in java 2023-11-23 13:03:09 +01:00
Harry9656 79e9818bee JAVA-26530: Update the RectangleOverlap adding a method without borders check. 2023-11-23 06:21:19 +01:00
macasari b64a40f6f4 BAEL-6600 - fix various reported issues 2023-11-22 10:40:38 +01:00
Mario Angelo Casari b38867d054 Merge remote-tracking branch 'upstream/master' 2023-11-22 09:40:19 +01:00
Kai Yuan 76d2612959 [if-class-is-enum] check class is enum (#15235)
* [if-class-is-enum] check class is enum

* [if-class-is-enum] move to new module
2023-11-21 21:38:37 -06:00
Kasra Madadipouya 7aaeeade69 Merge pull request #15259 from harry9656/task/JAVA-26732
JAVA-26732: Update the equalsverifier dependency
2023-11-21 19:29:52 +01:00
Pedro Lopes ea7466682b BAEL-7178: StringUtils.isBlank() vs String.isEmpty() (#15213)
* adding first test cases

* final code
2023-11-21 15:39:23 +01:00
Bipin kumar 923556ea27 Java 27246 (#15255) 2023-11-21 12:52:50 +02:00
Harry9656 9c995714f7 JAVA-26732: Update the equalsverifier dependency 2023-11-21 04:47:17 +01:00
Ulisses Lima 85c4c1450b BAEL-2499 - Write to CSV in Java
Closes #15250

Adding a null check.
2023-11-20 19:43:54 -03:00
ACHRAF TAITAI 111dcccb92 Bael 7060 (#15247)
* BAEL-7060: Converting String to ByteBuffer

* BAEL-7060: Converting String to ByteBuffer (format code)
2023-11-20 22:28:10 +01:00
Vini d0d42269f0 Merge pull request #15253 from constantinurs/keystore-alias-name
BAEL-6014: Check certificate name and alias in keystore file
2023-11-20 21:40:08 +01:00
Constantin 0bf89cfe37 BAEL-6014: Fix formatting 2023-11-20 22:28:07 +02:00
Constantin 34754e74ad BAEL-6014: Address PR comments 2023-11-20 22:12:10 +02:00
Constantin ee57392b4f BAEL-6014: Remove newline 2023-11-20 20:12:51 +02:00
Constantin ec1fde9dc1 BAEL-6014: Check certificate name and alias in keystore file 2023-11-20 19:53:44 +02:00
MohamedHelmyKassab a3e0639a75 This commit is related to the article BAEL-7232 (#15252)
This commit adds a new test class "TimeToLocalDateTimeUnitTest" that shows how to convert a long timestamp into a LocalDateTime object.
2023-11-20 09:18:13 -08:00
panos-kakos c10a404f57 [JAVA-26734] Upgraded aspectjrt, aspectjweaver to latest version (#15140) 2023-11-20 12:58:10 +02:00
timis1 40315beb0d JAVA-26733 Upgrade wiremock to the latest version (#15206) 2023-11-20 11:44:00 +02:00
Bhaskar Ghosh Dastidar 684a14ce5f [BAEL-6787] increment value of a map (#15243)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-11-19 11:36:51 -08:00
@hangga 7bc08e8e74 [Update] remove hashCode, add nano & secure 2023-11-19 13:43:34 +07:00
danielmcnally285 1c10f4f35b change 2 spaces for fluent apis to 4 2023-11-18 20:25:43 +00:00
danielmcnally285 9784f5ec51 Merge branch 'eugenp:master' into danielmcnally285_return_first_non_null 2023-11-18 19:59:52 +00:00
edizor cf51f27dfc Update README.md 2023-11-18 20:48:36 +08:00
edizor 607fc54bf0 Update README.md 2023-11-18 20:48:00 +08:00
edizor b62d0436d4 Update README.md
[skip ci]
2023-11-18 19:33:12 +08:00
edizor cf421052d9 Update README.md
[skip ci]
2023-11-18 19:30:06 +08:00
edizor 2d7f1c60a7 Update README.md
[skip ci]
2023-11-18 19:26:37 +08:00
edizor ccba711e86 Update README.md
[skip ci]
2023-11-18 19:24:21 +08:00
edizor 3a3459f2b8 Update README.md
[skip ci]
2023-11-18 19:22:32 +08:00
edizor f589231fde Update README.md
[skip ci]
2023-11-18 19:14:42 +08:00
edizor 8459887d19 Update README.md
[skip ci]
2023-11-18 19:10:58 +08:00
edizor de92bcb45d Update README.md
[skip ci]
2023-11-18 19:06:22 +08:00
edizor c921fdcc19 Update README.md
[skip ci]
2023-11-18 18:59:00 +08:00
edizor a4ac49de81 Update README.md
[skip ci]
2023-11-18 18:56:47 +08:00
edizor e264651cfb Update README.md
[skip ci]
2023-11-18 18:53:19 +08:00
Alvin Austria e7574bdb90 Merge pull request #15204 from panos-kakos/JAVA-26714
[JAVA-26714]
2023-11-18 09:00:16 +01:00
Hangga Aji Sayekti 10b8f0370c Merge pull request #4 from hangga/time-field
simplify unit tests
2023-11-18 14:22:52 +07:00
@hangga 213fb362a0 simplyfiying test 2023-11-18 14:17:19 +07:00
@hangga 0c8b5bd210 retry with colision 2023-11-18 06:09:14 +07:00
maenolis 62c3d6bf32 Moved to core-java-function module
Added concurrent tests
2023-11-17 22:44:42 +02:00
anujgaud dd89145547 Add unit test for JodaTime method 2023-11-18 00:59:55 +05:30
anujgaud 293322e3a3 Add Joda library support 2023-11-18 00:58:52 +05:30
anujgaud eaf6ce5fbe Add unit tests for LocalDate to ISO 8601 2023-11-18 00:27:03 +05:30
anujgaud 52c96522c1 Add Code for converting LocalDate to ISO 8601 2023-11-18 00:24:38 +05:30
Kasra Madadipouya 4e24430ad2 Merge pull request #15231 from harry9656/JAVA-27338
JAVA-27338: Fix VehicleUnitTest
2023-11-17 19:46:57 +01:00
Mo Helmy 9d441e11b8 This commit is related to the article BAEL-7172 (#15232)
This commit aims to add two classes that provide insights about the time complexity of Collections.sort().
2023-11-16 15:47:49 -08:00
MohamedHelmyKassab 290147ff08 This PR is related to BAEL-7181 (#15230)
* Update TimestampToLongUnitTest.java

* Update TimestampToLong.java
2023-11-16 14:27:43 -08:00
Ulisses Lima 0b229a9af4 draft 1 (#15222) 2023-11-16 13:35:11 -08:00
Harry9656 58db4f7a09 JAVA-27338: Fix VehicleUnitTest 2023-11-16 20:22:43 +01:00
Niket Agrawal aa357f8b64 Review comment update 2023-11-16 14:43:14 +05:30
macasari 5942a934cf BAEL-6600: add further test cases 2023-11-15 23:53:42 +01:00
Mario Angelo Casari 10152801a5 Merge remote-tracking branch 'upstream/master' 2023-11-15 23:46:36 +01:00
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
maenolis 2ed78462c8 Code formatting 2023-11-15 08:36:28 +02:00
maenolis 7135047ba1 Initial commit for lazy lambda article 2023-11-15 08:33:33 +02:00
mcasari 8a31837a3e BAEL-6600: fix flaws in the logic of put method 2023-11-14 23:22:44 +01:00
mcasari 2f9407e765 Merge remote-tracking branch 'upstream/master' 2023-11-14 23:19:44 +01:00
Azhwani 2133e9b5db BAEL-7176: How to avoid NoSuchElementException with Stream (#15098) 2023-11-14 22:48:17 +01:00
Kai Yuan 88926bba03 [map-sort-by-value] add missing diamonds 2023-11-14 22:21:47 +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
mcasari 9973d9aec3 BAEL-6600: minor fixing 2023-11-13 23:51:31 +01:00
mcasari 2ae8f45bc2 Merge remote-tracking branch 'upstream/master' 2023-11-13 23:39:46 +01:00
mcasari 5ecbb1b7c8 BAEL-6600: override put instead of additional method 2023-11-13 23:39:30 +01: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
panos-kakos 0415bc0ec7 [JAVA-26714] 2023-11-13 09:48:20 +02:00
panos-kakos 7465581d60 [JAVA-26714] 2023-11-13 09:44:21 +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
panos-kakos 39c2f49171 [JAVA-26714] Upgraded guava to latest version 2023-11-12 18:10:31 +02:00
Michael Pratt 573df300b0 Fix indentation issues 2023-11-12 09:00:56 -07:00
panos-kakos 2c7a0d05e2 [JAVA-26714] Clean up of commons-lang3 2023-11-12 18:00:46 +02: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 fe7f89a08f [JAVA-26714] Upgraded bouncycastle to latest version 2023-11-12 17:46:52 +02:00
panos-kakos e6cb1a2e43 [JAVA-26714] Upgraded commons-codec to latest version 2023-11-12 17:34:55 +02:00
panos-kakos ec251f847b [JAVA-26739] Upgraded json-path to latest version 2023-11-12 16:35:46 +02:00
@hangga b8bcd18623 pull master 2023-11-12 18:25:01 +07:00
@hangga ca62636fed pull from master 2023-11-12 18:23:58 +07:00
panos-kakos 47f7b926e6 [JAVA-26774] Upgraded mapstruct library to latest version 2023-11-12 07:32:39 +02:00
danielmcnally285 b31e6984ad rename test methods 2023-11-11 19:22:20 +00:00
danielmcnally285 2581618deb indent fluent apis 2 spaces 2023-11-11 19:17:28 +00:00
danielmcnally285 c03477e2bd rename returning first non empty optional test method 2023-11-11 19:14:58 +00: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
Kai Yuan faa689f018 [map-sort-by-value] sort map by value 2023-11-10 08:15:20 +01: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