Commit Graph

3724 Commits

Author SHA1 Message Date
Neetika23 523826cc0c Update Print2DArraysUnitTest.java 2023-12-13 23:30:11 +05:30
Neetika23 6162351819 Update Print2DArraysUnitTest.java 2023-12-13 23:29:46 +05:30
Neetika23 47bd8d25f9 renamed folder 2023-12-13 23:22:15 +05:30
Neetika23 e49112ce2b Update Print2DArraysUnitTest.java 2023-12-13 23:20:55 +05:30
parthiv39731 104d0de5f3 Merge branch 'eugenp:master' into PR-7308 2023-12-13 19:29:49 +05:30
DiegoMarti2 6e7e41cea4 Update OutputStreamToByteArrayUnitTest.java 2023-12-13 15:51:01 +02:00
Kai Yuan 0323a8168c [sum-intarray-recursion] two recursion approaches to summing int-array (#15385) 2023-12-12 21:38:31 -06:00
Dominique Plante 784cb2335c Merge pull request #15219 from maenolis/BAEL-7014
BAEL 7014
2023-12-11 19:45:03 -08:00
DiegoMarti2 dc98a1c302 Update core-java-modules/core-java-io-5/src/test/java/com/baeldung/outputstreamtobytearray/OutputStreamToByteArrayUnitTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-12-11 23:08:59 +02:00
DiegoMarti2 84bf4ee956 Update core-java-modules/core-java-io-5/src/test/java/com/baeldung/outputstreamtobytearray/OutputStreamToByteArrayUnitTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-12-11 23:08:50 +02:00
Neetika23 1f72aad0cc Rename Print2DArraysTest.java to Print2DArraysUnitTest.java 2023-12-11 23:18:44 +05:30
Neetika23 a8d04d122a Update Print2DArraysTest.java 2023-12-11 23:17:01 +05:30
DiegoMarti2 47baa5041b Update OutputStreamToByteArrayUnitTest.java 2023-12-11 19:36:34 +02:00
Neetika23 b0be5fcbaa Update Print2DArraysTest.java 2023-12-11 22:16:51 +05:30
DiegoMarti2 3ca05da859 Update and rename OutputStreamtoByteArrayUnitTest.java to OutputStreamToByteArrayUnitTest.java 2023-12-11 17:42:19 +02:00
DiegoMarti2 4e0e51139b Update OutputStreamtoByteArrayUnitTest.java 2023-12-11 17:25:25 +02:00
panos-kakos d8c3be530b [JAVA-26730] Upgraded io.projectreactor to latest version (#15234) 2023-12-11 08:58:51 +01:00
Neetika23 f2e2c0b38c Update Print2DArraysTest.java 2023-12-11 12:44:01 +05:30
Neetika23 f64c2b1689 Update pom.xml 2023-12-11 12:38:59 +05:30
timis1 d1661c2bc7 JAVA-28506 Cleanup un-committed or un-ignored artifacts - Week 49 - 2023 (#15382)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-10 22:41:16 +01:00
Neetika23 d8e96587b0 Update pom.xml 2023-12-11 00:51:06 +05:30
DiegoMarti2 b56eaf9b1b Update OutputStreamtoByteArrayUnitTest.java 2023-12-10 20:53:59 +02:00
Maiklins 3d685dc3b6 Merge branch 'master' into bael-7169-update-readme 2023-12-10 19:00:44 +01:00
mikr 2dba12e694 Update readme 2023-12-10 18:58:04 +01:00
Neetika23 9dcf7b212f Update pom.xml 2023-12-10 23:13:41 +05:30
Neetika23 7e8ccf1613 Update Print2DArraysTest.java 2023-12-10 23:12:46 +05:30
DiegoMarti2 94ddcd153d baeldung-articles : BAEL-6892
Commit to adding two mеthods to convert OutputStream to a byte array.
2023-12-10 19:40:01 +02:00
Maiklins a4f17e64f4 Merge pull request #15350 from Michaelin007/finalstatic
Final Static Variables in Java
2023-12-10 18:35:08 +01:00
michaelin007 c3fe804379 https://jira.baeldung.com/browse/BAEL-7169 2023-12-09 00:22:41 +00:00
Azhwani 8ff0949464 BAEL-6021: Handling NullPointerException in findFirst() When the First Element It Finds Is Null (#15341) 2023-12-08 21:22:40 +01:00
Neetika23 4280b17196 Delete core-java-modules/core-java-arrays-guides/src/main/java/com/baeldung/print2DArrays/Print2DArray.java 2023-12-08 12:08:15 +05:30
Neetika23 3210b24038 Update Print2DArraysTest.java 2023-12-08 12:07:28 +05:30
edizor d63b2b5a2a Update README.md
[skip ci]
2023-12-07 22:24:56 +08:00
edizor 3adfcb215c Update README.md
[skip ci]
2023-12-07 22:22:56 +08:00
edizor 300b524fde Create README.md
[skip ci]
2023-12-07 21:58:50 +08:00
edizor d8be8b3bb1 Update README.md
[skip ci]
2023-12-07 21:54:34 +08:00
edizor 183101cd4f Update README.md
[skip ci]
2023-12-07 21:51:10 +08:00
Mo Helmy 4e3e693f71 This commit is related to BAEL-6920 (#15371)
This commit aims to add a class "StringMaxLengthMain" showing the string max length.
2023-12-06 13:08:38 -08:00
MohamedHelmyKassab cab75d510a This commit is related to BAEL-7104 (#15368)
This commit aims to add a test class "SkipInputStreamUnitTest" that provide a test method that utilizes the skip() method.
2023-12-06 13:04:02 -08:00
Bipin kumar e144d0599b Java 28508 Fix formatting of POMs Modules A to C (#15359) 2023-12-06 18:17:52 +02:00
parthiv39731 8ad1043d55 BAEL-7308: Comparing One String with Multiple Values in One Expression in Java 2023-12-06 14:12:25 +05:30
Kasra Madadipouya a770f929be Merge pull request #15346 from anuragkumawat/JAVA-27357
JAVA-27357 Improve core-java-os build time
2023-12-06 09:07:47 +01:00
Kai Yuan 11c468f576 [bigdecimal-zero] bigdecimal zero vs constructor (#15355) 2023-12-05 20:18:19 -06:00
parthiv39731 3a8bae0c8e BAEL-7308: Comparing One String with Multiple Values in One Expression in Java 2023-12-05 23:20:42 +05:30
maenolis 9a003c4bf4 Unnecessary change revert. 2023-12-05 17:21:04 +02:00
anujgaud a662ef5fa6 Address review comments 2023-12-05 18:31:21 +05:30
Sameer d935c4fe23 BAEL 7138 Difference between String and StringBuffer in Java (#15351)
* string vs stringBuffer comparison

* BAEL-7138 Difference between String and StringBuffer in Java

---------

Co-authored-by: Sahil <sahilsriv05@gmail.com>
2023-12-04 22:34:33 -08:00
panos-kakos cf858a1493 Java 27490 (#15217)
* [JAVA-27490] Set java.version of JDK 9+ profile to JDK 17

* [JAVA-27490] Removed java.version from modules

* [JAVA-27490] Commented modules that are failing

* [JAVA-27490] Clean up

* [JAVA-27490] Clean up
2023-12-05 10:43:20 +05:30
parthiv39731 296e5498e8 BAEL-7308: Comparing One String with Multiple Values in One Expression in Java 2023-12-04 23:24:24 +05:30
anujgaud d660f1b8fe Append _ before then 2023-12-04 23:21:46 +05:30
anujgaud 89db04b79b Fix Package name 2023-12-04 23:17:06 +05:30
anujgaud b55f4db549 Fix package name 2023-12-04 23:15:47 +05:30
Niket Agrawal e8c97fd6e5 BAEL-7062 - Fetching Index from List using Streams (#14914)
* Primary Commit

* More Cases covered

* Indentation Corrections on POM

* Merge Conflict Fixed

* Updating as per Jira comments

* Correction

* Review Comment Implementation

* Indentation fixes

* Review Comment Implementation

* Method removal for Iterators

* Test Case Update

* Review Comment changes

* formatting change

* Updating map method

* Review comment update

* Review Comments

* Review Comments
2023-12-04 22:05:54 +05:30
Liam Williams 4b176f5549 Merge pull request #15314 from wynnteo/BAEL-7235
Unit Testing for CompletableFuture class
2023-12-04 16:06:50 +00:00
michaelin007 e6c2c4ab64 https://jira.baeldung.com/browse/BAEL-7169 2023-12-04 09:15:45 +00:00
uzma 596c10de0a [BAEL-7073] fix code style 2023-12-03 22:23:51 +00:00
timis1 e6501ada07 JAVA-26705 Upgrade lombok to latest version (#15305)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-03 21:19:12 +02:00
Alvin Austria 641ae1e973 Merge pull request #15335 from anuragkumawat/JAVA-26736
JAVA-26736 Upgrade jackson to latest version
2023-12-03 18:13:29 +01:00
Kai Yuan 7f1bfe6a87 [chk-double-is-int] check if doulbe is integer (#15312) 2023-12-03 10:55:52 -06:00
michaelin007 f763b57b7a Final Static Variables in Java 2023-12-03 11:09:55 +00:00
michaelin007 692f3b201a Final Static Variables in Java 2023-12-03 07:22:15 +00:00
edizor 0adcb51cc1 Update README.md
[skip ci]
2023-12-03 14:13:05 +08:00
edizor 5eba53af38 Update README.md
[skip ci]
2023-12-03 14:11:04 +08:00
edizor f53d917454 Update README.md
[skip ci]
2023-12-03 14:07:32 +08:00
edizor 3081399bd2 Update README.md
[skip ci]
2023-12-03 14:02:45 +08:00
edizor 2e27265f5a Update README.md
[skip ci]
2023-12-03 11:18:44 +08:00
edizor 894d87b029 Update README.md
[skip ci]
2023-12-03 11:13:25 +08:00
edizor d080d2f9f7 Update README.md
[skip ci]
2023-12-03 11:11:07 +08:00
Michael Pratt d8c84e0ea2 [BAEL-7170] Examples of colon character in Java (#15298) 2023-12-02 20:05:17 -06:00
parthiv39731 eb63164dc6 BAEL-7308: Comparing One String with Multiple Values in One Expression in Java 2023-12-02 21:38:58 +05:30
anuragkumawat c8973d8cf3 JAVA-27357 Improve core-java-os build time 2023-12-02 13:17:07 +05:30
Kasra Madadipouya dfb560b277 Merge pull request #15340 from harry9656/task/JAVA-26769
JAVA-26769: Update/Migrate to new version of Junit4
2023-12-01 22:17:29 +01:00
anuragkumawat 76a2939e7d JAVA-27645 Check article code matches github (#15323) 2023-12-01 22:14:25 +02:00
Singh Harpal ef76f798fb JAVA-26769: Update/Migrate to new version of Junit4 2023-12-01 18:01:46 +05:30
Mo Helmy 671957da9b This PR is related to BAEL-6315 (#15337)
* This commit is related to BAEL-6315

This commit aims to add two classes Contact and Person.

* This commit is related to BAEL-6315

This commit aims to add a test class DeserializationUnitTest.
2023-11-30 17:02:46 -08:00
MohamedHelmyKassab d7bb6bc0a7 This commit is related to BAEL-7113 (#15331)
This commit adds a new test class "RoundNumberToNearestMultipleUnitTest" that suggests multiplе mеthods for rounding up a numbеr to thе nеarеst multiplе of 5 in Java.
2023-11-30 16:59:17 -08:00
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
Neetika23 990a4812dc Create Print2DArraysTest.java 2023-11-24 00:31:59 +05:30
Neetika23 d64976dff4 Update Print2DArray.java 2023-11-24 00:28:48 +05:30
Neetika23 6b8040ffff Update Print2DArray.java 2023-11-23 23:00:57 +05:30
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
Neetika23 b62e4d4baf Update Print2DArray.java 2023-11-21 17:35:23 +05:30
Neetika23 b8c875adbd Create Print2DArray.java 2023-11-21 16:31:48 +05:30
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