13670 Commits

Author SHA1 Message Date
Alvin Austria
9e107be963 Merge pull request #15127 from panos-kakos/JAVA-26735
[JAVA-26735] Upgraded gson library to 2.10.1 version
2023-11-06 21:50:56 +01: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
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
Anastasios Ioannidis
9e3c735879 JAVA-22208 Fix port to 1030,1031 for jenkins (#15100) 2023-11-06 21:08:16 +05:30
parthiv39731
fb2f90d88f BAEL-7177
review comments implemented.
2023-11-06 19:08:47 +05:30
timis1
dc667e03f3 JAVA-27237 Change the logging level to WARN (spring-integration) 2023-11-06 13:59:05 +02:00
panos-kakos
81be7c4ad5 [JAVA-26374-boot-runtime] Moved "CORS with Spring" article to spring-boot-runtime (#15096) 2023-11-06 11:45:12 +02:00
panos-kakos
91293d64b0 [JAVA-26049] Upgraded spring-boot-environment module to spring-boot 3… (#14994) 2023-11-06 10:52:53 +02:00
Vini
5b7c37eab5 Merge pull request #14786 from ChernoVl/master
BAEL-5755: Convert an XML file to CSV file
2023-11-06 09:21:02 +01:00
Loredana Crusoveanu
f3f39c2e56 Merge pull request #15133 from edizor/master
UPDATE README
2023-11-06 09:31:52 +02:00
Amol Gote
6e758b8438 The test names should be LiveTest not IntegrationTest, as per the other similar tests in this module. This naming is used to mark these tests as manually runnable only, since they are heavy tests that spin up a container, so we don't want them to be run as part of the automatic CI build. Same for the other tests. 2023-11-05 21:39:02 -05:00
Amol Gote
5d3f08d0e9 Fix the whitespace and newline issues - wuth code formatter 2023-11-05 21:32:49 -05:00
Rajat Garg
da8167cf17 [BAEL-7069] Pass list as a query parameter in Jersey (#15051)
* Pass list as a query parameter in Jersey

* Address review comment

* Address review comment

---------

Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2023-11-06 07:15:53 +05:30
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
timis1
790ec2b7fb JAVA-27237 Review log statements for projects - Week 16 - 2023 (moved-13) (conti-1) 2023-11-05 23:28:32 +02:00
Kasra Madadipouya
4931a3b16d Merge pull request #15111 from GaetanoPiazzolla/JAVA-18614-fix-logout
Java 18614 fix logout
2023-11-05 13:00:43 +01:00
anuragkumawat
a575de93b1 JAVA-27183 Upgrade hibernate-validator version in spring-jpa module 2023-11-05 13:36:30 +05:30
anuragkumawat
9e0b0945f7 JAVA-27182 Upgrade hibernate-validator version in spring-data-couchbase-2 module 2023-11-05 13:05:01 +05:30
anuragkumawat
a8af97e2eb JAVA-27181 Update hibernate-validator version in jpa-hibarnate-cascade-type module 2023-11-05 12:40:54 +05:30
anuragkumawat
dad8f5cf2b JAVA-27180 Upgrade hibernate-validator version in hibernate-mapping module 2023-11-05 11:48:26 +05:30
Ulisses Lima
0fc112e613 BAEL 6701 - MongoDB - Atlas Search using the Java Driver and Spring Data (#15069)
* research 1

* new search methods

* first draft

* removing old code

* updated to parent-boot-3

* mongo review 2
2023-11-05 06:45:44 +01:00
edizor
9ba05068aa Create README.md
[skip ci]
2023-11-05 13:45:06 +08:00
edizor
4f98043b95 Update README.md
[skip ci]
2023-11-05 13:39:48 +08:00
edizor
0391a9c840 Update README.md
[skip ci]
2023-11-05 13:35:00 +08:00
edizor
ac7cedb7ef Update README.md
[skip ci]
2023-11-05 13:30:32 +08:00
edizor
4ee135819b Create README.md
[skip ci]
2023-11-05 13:24:26 +08:00
edizor
686196c040 Update README.md
[skip ci]
2023-11-05 13:16:48 +08:00
edizor
9d7705309e Create README.md
[skip ci]
2023-11-05 13:08:59 +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
Vladyslav Chernov
ee97389e28 BAEL-5755: remove BAEL-5852 commits 2023-11-04 15:38:37 -07:00
Vladyslav Chernov
cea912e42f BAEL-5852: remove comments 2023-11-04 15:33:30 -07:00
Amol Gote
80cd71fff3 Removing slf4j-log4j12, deleting log4j.properties and adding a standard src/test/resources/logback.xml, since the Kafka libraries use the logback SLF4J binding. 2023-11-04 18:33:09 -04:00
Amol Gote
2a6e561f76 Fixed unit test case failures 2023-11-04 18:09:21 -04:00
Amol Gote
2cecae1dfb Incorporate Review comments 2023-11-04 17:18:20 -04:00
Amol Gote
b24851bfce Update apache-kafka-2/src/main/java/com/baeldung/kafka/message/ordering/serialization/JacksonDeserializer.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:59:10 -04:00
Amol Gote
cb274a7ed4 Update apache-kafka-2/src/main/java/com/baeldung/kafka/message/ordering/serialization/JacksonSerializer.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:58:28 -04:00
Amol Gote
ddc5e0a5ef Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/SinglePartitionIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:58:01 -04:00
Amol Gote
9c463c752b Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/MultiplePartitionIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:57:47 -04:00
Amol Gote
3e2975196d Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/ExtSeqWithTimeWindowIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:57:32 -04:00
Amol Gote
33b18c0ca4 Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/ExtSeqWithTimeWindowIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:57:19 -04:00
Amol Gote
9a76f1a637 Update apache-kafka-2/src/test/java/com/baeldung/kafka/message/ordering/ExtSeqWithTimeWindowIntegrationTest.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:57:02 -04:00
Amol Gote
aeb5f55e0e Update apache-kafka-2/src/main/java/com/baeldung/kafka/message/ordering/serialization/JacksonDeserializer.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:56:47 -04:00
Amol Gote
d4842ac511 Update apache-kafka-2/src/main/java/com/baeldung/kafka/message/ordering/serialization/JacksonDeserializer.java
Co-authored-by: Liam Williams <liam.williams@zoho.com>
2023-11-04 16:56:07 -04:00