Commit Graph

26167 Commits

Author SHA1 Message Date
Bogdan Cardoş
bfbc1701a9 BAEL-5525 add mainClass and layout configuration to the spring boot maven plugin (#13049)
* BAEL-5617 Handle classes with the same name in Java

code samples

* BAEL-5617 Handle classes with the same name in Java

update project module

* BAEL-5754 Convert a List of String to a comma-separated String

code samples

* BAEL-5754 update unit test class name

* BAEL-5754 update unit test methods naming

* BAEL-5754 update tests order so to reflect the article

* BAEL-5754 align code to article

* BAEL-5525 add mainClass and layout configuration to the spring boot maven plugin
2022-12-17 15:44:23 +00:00
ACHRAF TAITAI
b7b6014041 BAEL-5927: Sorting a HashSet in Java (#13100)
* BAEL-5927: Sorting a HashSet in Java

* BAEL-5927: Sorting a HashSet in Java (Refacto)

* BAEL-5927: Sorting a HashSet in Java (Refacto)

* BAEL-5927: Sorting a HashSet in Java (Refacto)
2022-12-17 20:34:14 +05:30
Loredana Crusoveanu
4f97df5975 Merge pull request #13168 from edizor/master
Update README
2022-12-17 15:31:51 +02:00
edizor
103be6c3e0 Update README.md
[skip ci]
2022-12-16 22:28:29 +08:00
edizor
245260dadb Create README.md
[skip ci]
2022-12-16 22:27:27 +08:00
davidmartinezbarua
b62add5f51 Merge pull request #13065 from thibaultfaure/improvement/BAEL-5849-custom-deserializer-for-a-generic-type-jackson
BAEL-5849 Code for the improvement of the article Custom deserializer…
2022-12-16 11:15:41 -03:00
Azhwani
97c2faa431 BAEL-6018: HibernateSystemException: ids for this class must be manually assigned before calling save() (#13121) 2022-12-16 08:49:28 +01:00
Ulisses Lima
bd6400af8a BAEL-5812 Stream Large byte[] to File with WebClient (#13119)
* first draft

* editor review 1
2022-12-16 08:23:40 +01:00
Loredana Crusoveanu
9cd0e66b16 Merge pull request #13165 from edizor/master
Update README
2022-12-15 13:13:09 +02:00
edizor
a0def855af Update README.md
[skip ci]
2022-12-15 16:40:17 +08:00
edizor
79c6f892a7 Update README.md
[skip ci]
2022-12-15 16:36:11 +08:00
edizor
9f83f8fdee Update README.md
[skip ci]
2022-12-15 16:31:55 +08:00
edizor
216f792b7c Update README.md
[skip ci]
2022-12-15 16:25:54 +08:00
edizor
6f04fb51cb Update README.md
[skip ci]
2022-12-15 16:19:40 +08:00
edizor
a3d18a3cca Update README.md
[skip ci]
2022-12-15 16:11:58 +08:00
edizor
d956822bfe Update README.md
[skip ci]
2022-12-15 16:09:08 +08:00
edizor
78d3a10fee Create README.md
[skip ci]
2022-12-15 16:00:09 +08:00
edizor
5721225052 Update README.md
[skip ci]
2022-12-15 15:56:23 +08:00
edizor
c57da59f62 Update README.md
[skip ci]
2022-12-15 15:53:18 +08:00
edizor
6f9e2ce6ce Update README.md
[skip ci]
2022-12-15 15:49:49 +08:00
edizor
68ee002eda Update README.md
[skip ci]
2022-12-15 15:44:39 +08:00
edizor
fc09d36424 Merge branch 'eugenp:master' into master 2022-12-15 15:42:03 +08:00
edizor
b1f2e84ec7 Update README.md
[skip ci]
2022-12-15 15:36:54 +08:00
Bogdan Pistol
0bb9a2118f https://jira.baeldung.com/browse/BAEL-5871 added sample code used in article (#12986) 2022-12-15 09:33:07 +05:30
rafyen
75a1a76d57 Add code for BAEL-5878: Getting a Value in JSONObject (#13157)
* BAEL-5878: Getting a Value in JSONObject. Add JsonObjectValueGetter with unit tests

* Move json-value-getter under json-2 module

* Update packages for the source and unit test files

* Rename test class, move employee.json under test/resources

Co-authored-by: Rafael Engibaryan <rafael.engibaryan.1@gmail.com>
2022-12-14 11:58:33 +01:00
Carlos Chacin
d805384bef [BAEL-5976]: Extract Values using AssertJ in Java (#13105)
JIRA: https://jira.baeldung.com/browse/BAEL-5976
2022-12-13 16:55:12 -08:00
Michael Olayemi
e0c573094a BAEL-5979 Instanceof Alternatives (#13082)
* simple-thymeleaf-expression

* expression-update

* instanceof

* instanceof

* instanceof

* update

* Update pom.xml

* Update pom.xml

* instanceof

* update

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* instanceofnew

* update

* pom

* Revert "pom"

This reverts commit c5075e6ba7.

* Revert "Update pom.xml"

This reverts commit 7dd02df1ae.

* Revert "Revert "Update pom.xml""

This reverts commit a02a1f67d1.

* Update pom.xml

* Revert "Update pom.xml"

This reverts commit 7dd02df1ae.

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* Update pom.xml

* JAVA-8436: Remove AssertJ depenendency from the child modules - part 4

* BAEL-5979 Instanceof Alternatives
2022-12-12 20:56:43 -06:00
vunamtien
5e71700a9e BAEL-5919-java-print-pascal-triangle (#13155)
* pascal triangle

* pascal triangle

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-12-12 11:24:54 +01:00
Azhwani
c937473600 BAEL-5844: Convert Anonymous Class into Lambda in Java (#13088) 2022-12-12 08:53:16 +01:00
apeterlic
5971b4d791 Add Type Parameter vs Wildcard in Java Generics (#12988)
* Add Type Parameter vs Wildcard in Java Generics

* Fix Logger variable and code format

* Update Cat class

* Add missing import

* Add warning comment
2022-12-12 08:35:27 +01:00
Adrian Bob
d367ec1550 Updated README (#13152) 2022-12-11 09:23:11 -08:00
anuragkumawat
50a2c191db JAVA-15689 Update spring-activiti module to remove usage of deprecated WebSecurityConfigurerAdapter (#13141) 2022-12-11 12:14:57 +05:30
Haroon Khan
b753e05975 [JAVA-16680] Update Spring version to 5.3.24 (#13142)
* [JAVA-16680] Update Spring version to 5.3.24

* [JAVA-16680] Fix parent module path
2022-12-11 10:46:29 +05:30
TomVerkon
590b1713e3 Master java 15108 (#13144)
* Added server.servlet.register-default-servlet=true

to application.properties file to eliminate
java.lang.IllegalStateException: Unable to locate the default servlet
for serving static content. error

* Changed mysql-connector name space

to eliminate warning message The artifact
mysql:mysql-connector-java:jar:8.0.31 has been relocated to
com.mysql:mysql-connector-j:jar:8.0.31

* Fixed test givenDisabledSecurityExpression_whenGetFooByName_thenError()

Removed second assert, because "java.lang.RuntimeException: method
hasAuthority() not allowed" is seen in console but is not passed to
testing. Test returns "Internal Server Error"

* Removed location changes I previously made to mysql-connector-java in
the pom

Co-authored-by: tverk <tverk@TomsXPS17-9720.attlocal.net>
2022-12-11 10:43:05 +05:30
Avin Buricha
b7931b1205 BAEL-5982 | Article code (#13097)
* BAEL-5982 | Article code

* Renaming unit test methods

* Rearranging module list in alphabetic order
2022-12-11 08:30:01 +05:30
Loredana Crusoveanu
9dd381305c Merge pull request #13145 from edizor/master
Update README
2022-12-10 15:50:02 +02:00
kwoyke
d156d40736 Merge pull request #13139 from hkhan/JAVA-16711-logging-cleanup
[JAVA-16711] Remove unnecessary system out logging
2022-12-10 13:07:34 +01:00
kwoyke
2b4e428592 Merge pull request #13071 from ehsansasanian/java-15229-update-bucket4j-version
update bucket4j version in spring-boot-libraries module
2022-12-10 13:02:13 +01:00
davidmartinezbarua
01fb6d415e Merge pull request #13117 from etrandafir93/features/BAEL-5908-rxjava_just_vs_callable
BAEL-5908: Single.just vs fromCallable
2022-12-09 15:50:20 -03:00
Adrian Bob
8eff8418c2 BAEL-5325: Add Spring Security login/logout API with Springdoc (#13027)
* BAEL-5325: Add Spring Security login/logout API with Springdoc

* Updated Spring version and using annotations for Basic Auth config

* Added tests

* Removed unused dependencies

* Removed dependencies which were accidentally added.

* Removed plugins which were accidentally added.

* Removed property which was accidentally added.
2022-12-09 10:35:09 -08:00
apeterlic
6f3fabdcbc BAEL-5986 - Getting Started with Blaze Persistence (#13107)
* BAEL-5986 - Getting Started with Blaze Persistence

* Optimize imports

* Fix test class name

* Switch to JUnit5

* Removed dependencies and Controller classes

* Update pom.xml

* Update Configuration class
2022-12-09 18:40:18 +01:00
panos-kakos
374da3d61b Java 13914 (#13083)
* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Replaced Junit4 annotations with Junit5

* [JAVA-13914] Fixed test

* [JAVA-13914] Clean up

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-08 19:47:51 +05:30
panos-kakos
7af1e7572b [JAVA-15029] Upgraded to apache httpClient 5 (#13112)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-08 19:46:13 +05:30
Loredana Crusoveanu
773a61255a Merge pull request #13063 from eugenp/sam/move-article-files
[BAEL-5684] Move article files to new module
2022-12-08 16:04:12 +02:00
anuragkumawat
4564d04625 JAVA-16250 Update spring-activiti module to use parent-boot-2 module as parent (#13120) 2022-12-08 19:18:02 +05:30
freelansam
74bad6447e JAVA-16264: review module names (#13136) 2022-12-08 18:58:09 +05:30
Harry9656
54f0778e16 JAVA-5958: Ratelimit with client ip address (#13067)
* JAVA-5958: Ratelimit with client ip address

Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-12-08 01:09:03 -07:00
edizor
b9ebc7d036 Create README.md
[skip ci]
2022-12-08 15:47:27 +08:00
edizor
38d74c5812 Update README.md
[skip ci]
2022-12-08 15:43:38 +08:00
edizor
cf4df80858 Update README.md
[skip ci]
2022-12-08 15:38:32 +08:00