Commit Graph

13802 Commits

Author SHA1 Message Date
Ulisses Lima 0ce0a647a1 MongoDbHashMapIntegrationTest - Changing to LiveTest (#15013)
* changing to LiveTest

Prevent integration tests from failing after spring boot upgrade.

* Update MongoDbHashMapLiveTest.java

Including docs.

* Update MongoDbHashMapLiveTest.java

removing instructions from atlas search.
2023-11-10 08:10:03 +01:00
Dmytro Budym 1f609d3aaf Code examples for article: Switching Between Frames Using Selenium We… (#14973)
* Code examples for article: Switching Between Frames Using Selenium WebDriver in Java

* continuation indent 2

* moved to selenium-2 package
2023-11-10 08:38:28 +05:30
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
Alvin Austria 734d0c2c08 Merge pull request #15166 from timis1/JAVA-27237_1
JAVA-27237 Review log statements for projects | Week 44 | Manually Cr…
2023-11-09 17:34:25 +01:00
anuragkumawat 52197768be JAVA-27190 Remove code overriding parent-boot-version of hibernate-validator 2023-11-09 19:23:42 +05:30
anuragkumawat 4cf46ce719 JAVA-27190 Upgrade hibernate validator version 2023-11-09 19:19:22 +05:30
timis1 bf5328c397 JAVA-27237 Review log statements for projects | Week 44 | Manually Created (conti-1) 2023-11-09 14:40:44 +02:00
Loredana Crusoveanu 925eb644ea Merge pull request #14948 from SamsterZero/patch-1
To change default redirect
2023-11-09 14:19:18 +02:00
Bipin kumar 3fbd2eaab9 JAVA-26001_Q_Z: Fix formatting of POMs for modules Q to Z (#14960) 2023-11-09 13:18:02 +02:00
Bipin kumar d1685c42bd JAVA-26001_D_M: Fix formatting of POMs for modules D to M (#14958) 2023-11-09 13:17:34 +02:00
gaepi 4145926d94 JAVA-27245 - renamed modules. 2023-11-09 11:55:32 +01:00
Bipin kumar 781b7fde45 JAVA-27244: Changes made removing comment from modules that are added already (#15161) 2023-11-09 11:57:46 +02:00
hmdrz 75a64be865 #BAEL-7157: upgrade dependency version and add extra dependencies 2023-11-09 11:22:48 +03:30
hmdrz b6d28c4446 #BAEL-7157: add main test suite 2023-11-09 11:22:14 +03:30
hmdrz f33372e091 #BAEL-7157: add one extra method 2023-11-09 11:21:54 +03:30
Alexander Molochko 5b596e0c49 BAEL-7012: Splitting Streams in Kafka (#15029)
* BAEL-7012: Splitting Streams in Kafka

* Move sources to the spring-kafka module

* Move sources to the spring-kafka-2 module
2023-11-08 19:05:37 -06: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 e394311aa9 Merge pull request #15084 from anuragkumawat/JAVA-26280
JAVA-26280 Improve libraries-testing module build time
2023-11-08 23:02:23 +01:00
Kasra Madadipouya a11bef868b Merge pull request #15080 from anuragkumawat/JAVA-26380
JAVA-26380 Change parent of spring-security-modules- Check build failures
2023-11-08 22:49:17 +01:00
Kasra Madadipouya 7636704f7f Merge pull request #15137 from anuragkumawat/JAVA-27183
JAVA-27183 Upgrade hibernate-validator version in spring-jpa module
2023-11-08 22:39:00 +01:00
Kasra Madadipouya d1eeca75f5 Merge pull request #15136 from anuragkumawat/JAVA-27182
JAVA-27182 Upgrade hibernate-validator version in spring-data-couchbase-2 module
2023-11-08 22:24:09 +01:00
Kasra Madadipouya ef86a6e8ac Merge pull request #15135 from anuragkumawat/JAVA-27181
JAVA-27181 Update hibernate-validator version in jpa-hibarnate-cascade-type module
2023-11-08 22:18:36 +01:00
Kasra Madadipouya e167755896 Merge pull request #15134 from anuragkumawat/JAVA-27180
JAVA-27180 Upgrade hibernate-validator version in hibernate-mapping module
2023-11-08 22:07:57 +01:00
Kasra Madadipouya e44baa3310 Merge pull request #15131 from anuragkumawat/JAVA-27178
JAVA-27178 Upgrade hibernate-validator in javaxval module
2023-11-08 21:59:35 +01:00
Kasra Madadipouya d357c4c098 Merge pull request #15130 from anuragkumawat/JAVA-27177
JAVA-27177 Upgrade hibernate-validator version in atomikos module
2023-11-08 21:55:49 +01: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
Michael Olayemi 33fceb65a6 Using CriteriaDefinition Utility in Hibernate (#15128)
* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate

* Using CriteriaDefinition Utility in Hibernate
2023-11-08 18:46:19 +05:30
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
Ehsan Sasanianno 9b28d7739a java-26718: upgrade caffeine version to 3.x (#15138) 2023-11-08 11:26:53 +02:00
Azhwani 362610ca58 BAEL-6776: Convert File to Byte Array in Java (#15123) 2023-11-07 19:21:46 +01:00
Niket Agrawal 270acf62e4 Formatter Changes 2023-11-07 21:49:49 +05:30
davidmartinezbarua 2309c3e0cb Merge pull request #15088 from parthiv39731/PR-7145
BAEL 7145
2023-11-07 13:14:12 -03:00
Bipin kumar 63758605c9 JAVA-26557: Changes made for Adding missed modules (#15121)
/libraries-ai
/spring-pulsar
/maven-modules/versions-maven-plugin/original
2023-11-07 13:15:05 +02: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
parthiv39731 a7f39e4155 Spell mistake fix 2023-11-07 13:42:25 +05:30
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
Alvin Austria 8c2c788b0d Merge pull request #15141 from timis1/JAVA-27237
JAVA-27237 Review log statements for projects - Week 16 - 2023 (moved…
2023-11-06 22:35:14 +01:00
danielmcnally285 392928ccfa Remove unnecessary spy annotation and make unit tests package private 2023-11-06 20:59:54 +00:00
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
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