9499 Commits

Author SHA1 Message Date
Geoffrey Churchill
5a1208f029 Improve insertInStream
New version works with infinite streams and has constant space/time complexity.
2022-07-31 14:25:22 -04:00
Loredana Crusoveanu
8db0d7b277 Merge pull request #12548 from Asjad-J/master
Updated links titles
2022-07-31 15:27:12 +03:00
lucaCambi77
0ec6a036ba Spring Security: Upgrading the deprecated WebSecurityConfigurerAdapter (#12540)
* add SecurityFilterChain application in spring security web boot 4

* pmd violation

* fix: pom description

* remove unused code, format

* make tests grouped logically

* add missing case for user role

* rename package to lower case
2022-07-30 21:43:09 -05:00
Matei Cernăianu
858e158680 BAEL-5651: How to check if an integer is in a given range? (#12470)
* BAEL-5651: How to check if an integer is in a given range?

* BAEL-5651: How to check if an integer is in a given range?
2022-07-30 19:18:52 -04:00
Thiago dos Santos Hora
a313c855d3 [BAEL-5631] Quarkus vs Spring boot improvements (#12520)
* Initial impl

* Update framework versions testing from jm to wrk

* Add hyperfoil

* Add hyperfoil read me
2022-07-30 14:26:16 +02:00
ACHRAF TAITAI
d0ba47e75d BAEL-5643 : Replace at Specific Index in Java ArrayList (#12539) 2022-07-30 14:22:59 +02:00
lalitrajput72
ef758acef0 [BAEL-5622] static vs instance initializer block (#12271)
* Deep copy vs Shallow copy Code commit

* Static and instance block

* Deep copy branch chanaged from master to other

* static vs instance block

* Update InstanceBlockExample.java

* Update StaticBlockExample.java

Co-authored-by: Lalit Rajput <lalit.rajput@globallogic.com>
Co-authored-by: paritoshsunny <sams.sunny.16@gmail.com>
2022-07-30 12:39:02 +02:00
kwoyke
e9fdf78b77 Merge pull request #12547 from thibaultfaure/BAEL-842/fix-integrations-tests
Fix failed integration tests
2022-07-30 09:52:49 +02:00
Asjad J
065846c376 Updated README.md
Updated title from 'Hibernate's “Detached Entity Passed to Persist” Error' to 'Hibernate’s “Detached Entity Passed to Persist” Error'
2022-07-30 06:46:34 +05:00
Asjad J
be5e772318 Updated README.md
Updated link title in README from 'Sealed Classes and Interfaces in Java 17' to 'Sealed Classes and Interfaces in Java'
2022-07-30 06:34:42 +05:00
Asjad J
300d9408f6 Updated README.md
Updated link title in README from 'Guide to QuarkusIO' to 'Guide to Quarkus'
2022-07-30 06:26:40 +05:00
thibault.faure
067cddb33e Fix failed integration tests 2022-07-29 21:45:18 +02:00
anuragkumawat
e97b4c899a JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching (#12509)
* JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching

* JAVA-10376 Code Mismatch | Exploring the Spring 5 WebFlux URL Matching
2022-07-29 19:14:40 +05:30
Elçim Duran
67c9cfec23 Bael-5645 - Scanning Java Annotations at Runtime (#12527)
* BAEL-5645 - Annotation scanners using Spring context, Spring core, reflections, java reflection, and Jandex libraries are implemented

* BAEL-5645 - Library versions are incremented in pom.xml

* BAEL-5645 - Some refactoring and indentation adjustments

* BAEL-5645 - Revert of annotation value in unit test

* BAEL-5645 - Merge with the latest remote version (after resolution of the conflicts)

* BAEL-5645 - Some refactoring due to review comments

Co-authored-by: elcimduran <elcim.duran@kboxglobal.com>
2022-07-29 15:13:54 +02:00
Loredana Crusoveanu
d41f65b479 Merge pull request #12542 from Asjad-J/master
Updated README.md
2022-07-29 10:38:38 +03:00
Asjad J
35dadda533 Merge branch 'eugenp:master' into master 2022-07-29 00:11:05 +05:00
Ralf Ueberfuhr
33c18f2cd5 BAEL-5630: Spring Boot 3 Sample (#12449)
* BAEL-5630: Spring Boot 3 Sample

* BAEL-5630: Reorganize project in Maven profiles

* BAEL-5630: Upgrade Maven PMD plugin version

* BAEL-5630: Rename tests to follow naming conventions
2022-07-28 21:04:26 +02:00
Asjad J
a9115211bc Updated README.md
added link back to the article: https://www.baeldung.com/spring-jms-testing
2022-07-28 23:40:22 +05:00
Asjad J
e34a4ed143 Updated README.md
added link back to the article: https://www.baeldung.com/spring-reactive-read-flux-into-inputstream
2022-07-28 23:36:27 +05:00
Asjad J
594cfc0c0e Updated README.md
added link back to the article: https://www.baeldung.com/maven-snapshot-release-repository
2022-07-28 23:30:32 +05:00
Asjad J
47aaa04661 Updated README.md
added link back to the article: https://www.baeldung.com/spring-openapi-global-securityscheme
2022-07-28 23:25:23 +05:00
Asjad J
463a4aeee9 Merge branch 'eugenp:master' into master 2022-07-28 23:22:56 +05:00
Asjad J
b358b17bc0 Updated README.md
added link back to the articles: https://www.baeldung.com/java-string-remove-whitespace
2022-07-28 23:15:33 +05:00
davidmartinezbarua
c0d5df745e Merge pull request #12505 from thibaultfaure/articles/BAEL-5663-filter-java-stream-to-only-one-element
BAEL-5663 code for the filter java stream to only one element article
2022-07-28 14:44:35 -03:00
kwoyke
495e40630b Merge pull request #12541 from christian-german/BAEL-5589-fixing-integration-tests
BAEL-5589 - Skipping tests with docker from pipeline.
2022-07-28 15:19:41 +02:00
Christian GERMAN
1eeb2721e7 BAEL-5589 - Skipping tests with docker from pipeline. 2022-07-28 14:30:02 +02:00
kwoyke
9fa417faf5 Merge pull request #12537 from freelansam/JAVA-13134
JAVA-13134: Fix references to parents
2022-07-28 10:43:56 +02:00
Avin Buricha
cf4225a9ea Moved article code to new module (#12423) 2022-07-27 16:31:18 +02:00
kwoyke
fe6bab6975 Merge pull request #12535 from dkapil/task/JAVA-13627
Task/java 13627
2022-07-27 09:24:36 +02:00
kwoyke
d378b72d3a Merge pull request #12534 from dkapil/task/JAVA-12033
JAVA-12033 Upgraded assertion libraries and minor cleanup
2022-07-27 09:21:20 +02:00
sampadawagde
ad61eaa45a JAVA-13134 2022-07-27 10:23:01 +05:30
AttilaUhrin
b055a790be Add Spring JMS testing examples. (#12518) 2022-07-27 09:30:18 +05:30
Tapan Avasthi
ba18865ff3 BAEL-4840: Read Flux<DataBuffer> into a single InputStream (#12500)
Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-07-26 19:21:31 -05:00
davidmartinezbarua
343a79e402 Merge pull request #12447 from thibaultfaure/improvements/BAEL-842-add-a-dynamic-example
BAEL-842 improvement to the spring controller return image or file in…
2022-07-26 16:53:57 -03:00
Graham Cox
d083a20aa9 BAEL-5686: Implementing a Map with Multiple Keys (#12531) 2022-07-26 21:11:45 +02:00
sampadawagde
2268d19caa JAVA-13134: Fix references to parents 2022-07-26 20:01:43 +05:30
Dhawal Kapil
4e13672a93 JAVA-13627 Removed MockitoMockIntegrationTest as it was a duplicate, other cleanup and API upgrades 2022-07-26 18:23:50 +05:30
kwoyke
c1ffc6c2c5 Merge pull request #12532 from dkapil/task/JAVA-13625
JAVA-13625 Updated/upgraded Mockito Annotations Code
2022-07-26 10:20:56 +02:00
kwoyke
f06b36c459 Merge pull request #12526 from ulisseslima/master
JAVA-13615 - GitHub Issue: The code for A* is in the src/test/java directory, not the src/main/java directory
2022-07-26 10:16:30 +02:00
kwoyke
790828fc18 Merge pull request #12525 from panos-kakos/JAVA-13410
[JAVA-13410] Replaced @Mappings with sequential @Mapping
2022-07-26 10:10:43 +02:00
kwoyke
01624f4dbd Merge pull request #12530 from panos-kakos/JAVA-8691
[JAVA-8691]
2022-07-26 10:08:48 +02:00
Dhawal Kapil
4dab3eb46d JAVA-12033 Upgraded assertion libraries and minor cleanup 2022-07-26 12:58:41 +05:30
Dhawal Kapil
80a4ca1c2b JAVA-13625 Updated/upgraded Mockito Annotations Code 2022-07-26 12:41:56 +05:30
panagiotiskakos
324cb08a48 [JAVA-8691] 2022-07-26 08:14:19 +03:00
thibault.faure
2c901e1d67 BAEL-5663 code for the filter java stream to only one element article 2022-07-25 23:26:17 +02:00
Ulisses Lima
e12f0d064f JAVA-13615
GitHub Issue: The code for A* is in the src/test/java directory, not the
src/main/java directory
2022-07-25 12:27:02 -03:00
Ulisses Lima
e536a0335c Merge branch 'eugenp:master' into master 2022-07-25 10:42:37 -03:00
panagiotiskakos
bda1a947f7 [JAVA-13410] Replaced @Mappings with sequential @Mapping 2022-07-25 15:47:51 +03:00
kwoyke
96cfb7f239 Merge pull request #12521 from hkhan/JAVA-13130-logging-cleanup
[JAVA-13130] Logging cleanup
2022-07-25 10:13:15 +02:00
victorsempere
a4691406f2 BAEL-5328 (#12457)
* BAEL-5328

First draft of the code to the article:
https://drafts.baeldung.com/wp-admin/post.php?post=136328&action=edit

* BAEL-5328

Fixed comment. Used  entry point instead of endpoint

* BAEL-5328

Added SecurityFilterChain configuration to allow requests to:
* "/api/auth/**", "/swagger-ui-custom.html" ,"/swagger-ui.html", "/swagger-ui/**", "/v3/api-docs/**", "/webjars/**", "/swagger-ui/index.html","/api-docs/**"
As the spring-boot-starter-security has been started we need to add it to keep this article, simple.
Fixed description of the login() method for the 200 httpstatus response

* BAEL-5328

Added required attribute in @RequestBody of the login() method

* BAEL-5328

Code formatting
2022-07-25 09:21:00 +05:30