10461 Commits

Author SHA1 Message Date
TomVerkon
ecc8b269c1 updated logback libraries;
Added logback-core version 1.3.5 to pom
Added slf4j version 2.0.4 to pom
Updated javax.mail version to 1.6.2. Namespace changed to com.sun.mail
Updated javax.activation to version 1.6.2
All changes had to be compatible with jdk 1.8
2022-12-23 20:52:59 -05:00
TomVerkon
866b46690b Updated versions to jakarta namespace 2022-12-23 15:46:05 -05:00
TomVerkon
51965c1ecc Update Logback Article
Added logbak-core-1.3.5 to pom
Updated logback.version to 1.3.5
Added slf4j - 2.0.4 to pom
Updated javax.mail from 1.4.7 to javax.mail-api 1.6.2
Updated javax.activation to javax.activation-api 1.2.0
Ran both mvn clean verify and
mvn exec:java -Dexec.mainClass="com.baeldung.logback.Example" without
errors
2022-12-22 15:28:28 -05:00
Bogdan Cardoş
ba7371baac 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
488bb057d6 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
f9d4c4e3a1 Merge pull request #13168 from edizor/master
Update README
2022-12-17 15:31:51 +02:00
edizor
4e85cc41ba Update README.md
[skip ci]
2022-12-16 22:28:29 +08:00
edizor
92ee1b855b Create README.md
[skip ci]
2022-12-16 22:27:27 +08:00
davidmartinezbarua
672ce74ab8 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
7a2d457f58 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
ca6c1068e2 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
3a3784e689 Merge pull request #13165 from edizor/master
Update README
2022-12-15 13:13:09 +02:00
edizor
79255cb2c5 Update README.md
[skip ci]
2022-12-15 16:40:17 +08:00
edizor
94e813596a Update README.md
[skip ci]
2022-12-15 16:36:11 +08:00
edizor
56856556fa Update README.md
[skip ci]
2022-12-15 16:31:55 +08:00
edizor
3e0e9e6d83 Update README.md
[skip ci]
2022-12-15 16:25:54 +08:00
edizor
bf0356fe47 Update README.md
[skip ci]
2022-12-15 16:19:40 +08:00
edizor
082df236be Update README.md
[skip ci]
2022-12-15 16:11:58 +08:00
edizor
30a4fdb3ab Update README.md
[skip ci]
2022-12-15 16:09:08 +08:00
edizor
eec6302e19 Create README.md
[skip ci]
2022-12-15 16:00:09 +08:00
edizor
196f957535 Update README.md
[skip ci]
2022-12-15 15:56:23 +08:00
edizor
6076e9622b Update README.md
[skip ci]
2022-12-15 15:53:18 +08:00
edizor
7fdb06b40e Update README.md
[skip ci]
2022-12-15 15:49:49 +08:00
edizor
5728e8a71c Update README.md
[skip ci]
2022-12-15 15:44:39 +08:00
edizor
974b27305a Merge branch 'eugenp:master' into master 2022-12-15 15:42:03 +08:00
edizor
f0ea7edab1 Update README.md
[skip ci]
2022-12-15 15:36:54 +08:00
Bogdan Pistol
df30c2986f https://jira.baeldung.com/browse/BAEL-5871 added sample code used in article (#12986) 2022-12-15 09:33:07 +05:30
rafyen
9e7a6d2b3d 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
78124d60dd [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
abd9f8a38b 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 c5075e6ba7e1e91159864d57bcbc18dd90314e16.

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* Revert "Revert "Update pom.xml""

This reverts commit a02a1f67d16eb0bc781cc588af48f36fcc93d601.

* Update pom.xml

* Revert "Update pom.xml"

This reverts commit 7dd02df1aea201572fb64d8bc4a2990a94b6b4c0.

* 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
9c8d1d127d 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
a288f8db7e BAEL-5844: Convert Anonymous Class into Lambda in Java (#13088) 2022-12-12 08:53:16 +01:00
apeterlic
29d97308f6 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
4fc53df118 Updated README (#13152) 2022-12-11 09:23:11 -08:00
anuragkumawat
6fb90f67eb JAVA-15689 Update spring-activiti module to remove usage of deprecated WebSecurityConfigurerAdapter (#13141) 2022-12-11 12:14:57 +05:30
Haroon Khan
5eddf177a5 [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
795200d2a7 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
5c1c08e713 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
897a98ada4 Merge pull request #13145 from edizor/master
Update README
2022-12-10 15:50:02 +02:00
kwoyke
1d52e2cc86 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
141c85a5b4 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
bd984d5592 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
f45b2c8659 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
10d561451a 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
0264bb82c8 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
205506f00a [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
2285190be6 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
3810a37078 JAVA-16250 Update spring-activiti module to use parent-boot-2 module as parent (#13120) 2022-12-08 19:18:02 +05:30
freelansam
7b9ab06c14 JAVA-16264: review module names (#13136) 2022-12-08 18:58:09 +05:30
Harry9656
3b31ba4f99 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