Commit Graph

2772 Commits

Author SHA1 Message Date
Sasa M 9f0d8cf6ab Refactoring code in com.baeldung.modelmapper package 2020-04-30 14:28:40 +02:00
Sasa M 58dc739c3e changes in build pom.xml 2020-04-30 14:27:20 +02:00
Sasa M 4bc8c329fc Renaming test methods and formatting 2020-04-30 14:27:14 +02:00
Sasa M b9cbfa49c4 Moving com.baeldung.modelmmaper package to java-collections-conversations module 2020-04-30 14:25:01 +02:00
Sasa M 4bb9f166b6 Source project for the draft article 2020-04-30 14:19:21 +02:00
Kamlesh Kumar 89da31cbce BAEL-3837: Java Deadlock and Livelock (#8943) 2020-04-30 07:18:30 -05:00
SippingCode 2c99a832cd Bael 3970 (#9132)
* Manual logout with Spring Security
- Basic manual logout
- logout with Clear Data Site Header

* Add missing annotation for controller. Change mapping URL value.

* Add intergration tests for manual logouts.

* BAEL-3970 - Add asserts on test. Fix tests names. Remove unused imports.

* BAEL-3970 - Use PostMapping annotation. Remove unnecessary information for security configuration.

* remove logout controllers

* Add multiple entrypoints configurations. Create custom handlers for different logouts (basic, cookie clearing, clear-site-data).

* Refactor configuration with lambda DSL.
2020-04-29 23:16:05 -07:00
mikr 4552da7ba7 Java-1470 Add new modules to main pom 2020-04-29 22:02:31 +02:00
mikr 753c0ef0d0 Java-1470 Fix compilation errors and Readme files 2020-04-29 21:55:48 +02:00
Sasa M 9bf7546d42 Creating TypeMap to use property mapping and converter class 2020-04-29 21:55:30 +02:00
Josh Cummings 9ae7596d5e Merge pull request #9201 from Maiklins/JAVA-618
Java-618 Restore missing code snippets
2020-04-29 12:56:28 -06:00
mikr 299effed3e Java-1470 Split libraries module 2020-04-29 20:49:15 +02:00
Ankur Gupta 5aa57193e1 ankurguptajec@gmail.com (#9192)
* Java Example of Hexagonal Architecture

* removing unnecessary maven files from pull request and spaces in code

* Removing unnecessary lines

* Example code for using Multiple Cache Manager in SpringBoot

* BAEL-3963:Using multiple cache managers in Spring

* removing new module created in last pull request

* Fixes as per editor Suggestions

* fixing spacing issue in pom.xml

* Fixing spacing issue in pom.xml

* Fixing spacing issue 2

* Formatting space issues in pom.xml

Co-authored-by: Ankur Gupta <ankur.gupta@jda.com>
2020-04-29 07:40:16 -07:00
mikr 95a29d7e0b Java-618 Fix build failure (2) 2020-04-29 10:24:20 +02:00
dupirefr da22d7a839 [JAVA-621] Fixed package and import 2020-04-29 10:14:43 +02:00
Loredana Crusoveanu c3b4907a4c Merge pull request #8501 from cxmshine/master
update AddressMapper.java
2020-04-29 11:14:29 +03:00
mikr 666ca1ac69 Java-618 Fix build failure 2020-04-29 10:13:58 +02:00
Loredana Crusoveanu 1fa7d46996 Merge pull request #8909 from piuserre/SpringJenkinsPipeline
fix launch run command for windows
2020-04-29 10:41:03 +03:00
dupirefr f01f9f9d86 [JAVA-621] Used *UnitTest suffix instead of Test for compliance with Maven PMD (article need update) 2020-04-29 09:08:43 +02:00
Josh Cummings 4f12335bcf Merge pull request #9199 from dupirefr/team/JAVA-630-fixing_indent
[JAVA-630] Fixing indent of vavr* modules
2020-04-28 17:09:01 -06:00
Josh Cummings c988db5986 Merge pull request #9198 from dupirefr/team/JAVA-616-update_readmes
[JAVA-616] Fixed link to article by using HTTPS
2020-04-28 16:53:01 -06:00
mikr e7cd7da8b8 Java-618 Restore RootCauseFinder code (move classes to core-java-modules) 2020-04-28 23:37:45 +02:00
Marcos Lopez Gonzalez 491e79bd3e test renamed to end with UnitTest suffix 2020-04-28 23:13:27 +02:00
Marcos Lopez Gonzalez d973864c8b AgeCalculator changesJava-618 Restore RootCauseFinder code 2020-04-28 23:12:45 +02:00
Marcos Lopez Gonzalez cdd14b23f7 AgeCalculator changes 2020-04-28 22:56:25 +02:00
Marcos Lopez Gonzalez c59d9dbf8f changed example for finder of root cause exception 2020-04-28 22:55:30 +02:00
Marcos Lopez Gonzalez c223b669be root cause finder 2020-04-28 22:15:39 +02:00
mikr 9e83dbbc85 JAVA-618 Restore code for Global Exception Handler 2020-04-28 22:12:00 +02:00
Greg 09e9f0ce0b Merge pull request #9034 from kkaravitis/master
[BAEL-3936] Constructing a JPA query between unrelated entities
2020-04-28 14:25:46 -04:00
Kostas Karavitis f964a31ffc [BAEL-3936] Merged with upstream and fixed conflicts 2020-04-28 20:35:04 +03:00
dupirefr aa7daf7901 [JAVA-621] Added missing code
* https://www.baeldung.com/java-type-erasure introduction code

* https://www.baeldung.com/java-interfaces Electronic interface and Computer class

* https://www.baeldung.com/java-abstract-class BoardGame and Checkers classes

* https://www.baeldung.com/java-hashcode different ways of implementing hashCode

* https://www.baeldung.com/java-inheritance-composition ComputerBuilder and StandardComputerBuilder classes

* https://www.baeldung.com/java-equals-hashcode-contracts Renamed method to match article

* https://www.baeldung.com/java-static Renamed class to match article

* https://www.baeldung.com/java-nested-classes Renamed class to match article
2020-04-28 19:32:19 +02:00
Dhawal Kapil 148d9fd6c6 Merge pull request #9200 from sampada07/JAVA-913
JAVA-913: migrate parent-boot-1 articles to parent-boot-2
2020-04-28 20:59:58 +05:30
sampadawagde aec4ed2d5c JAVA-928: Migrate property-exp-default-config to parent-boot-2 2020-04-28 18:20:23 +05:30
Mrudav Shukla f56bf16d11 BAEL-1921 - added example code and unit test for GlobalExceptionHandler (#4646)
* added example code and unit test for GlobalExceptionHandler

* Code for common exceptions
2020-04-28 10:35:11 +02:00
dupirefr 4f75f2d5b0 [JAVA-621] Ensuring each article has its own package
* Putting test classes directly under abstractclasses package (no need
for test subpackage, we're already in test sources)

* Removed unnecessary keyword package to just let superkeyword

* Renamed scope package to variableandmethodhiding

* Renamed package basicmethods into methods

* Putting test classes directly under methodoverloadingoverriding package (no need for test subpackage, we're already in test sources)

* Moved publicmodifier package under com.baeldung as it contains code from a separate article

* Moved privatemodifier under com.baeldung as it was under an unnecessary core package

* Renamed staticdemo package into staticmodifier (was more adequate with other modifiers articles)

* Putting test classes directly under defaultstaticinterfacemethods package (no need for test subpackage, we're already in test sources)

* Moved thiskeyword package to com.baeldung instead of under keywords package
2020-04-28 08:02:18 +02:00
dupirefr c02e57fe7e [JAVA-621] Fixes due to minor article changes
* Renamed KeywordUnitTest to Keyword as it's the chosen name for the
article now
2020-04-28 08:02:15 +02:00
dupirefr b117f4ccd6 [JAVA-621] Flattened modules hierarchy 2020-04-28 08:02:13 +02:00
dupirefr fc303de35f [JAVA-621] Obsolete modules deletion
* Delete core-java-lang-oop module (remaining code
was duplicate of core-java-lang-syntax where it really belonged)

* Moved code from https://www.baeldung.com/java-eclipse-equals-and-hashcode to core-java-lang where it belong

* Delete core-java-lang-oop-2 module

* Delete core-java-lang-oop-3 module

* Delete core-java-lang-oop-4 module
2020-04-28 08:02:09 +02:00
dupirefr f6d3dc711f [JAVA-621] core-java-lang-oop-others module
* Creation

* Moved code from www.baeldung.com/java-static-dynamic-binding

* Recreated code for https://www.baeldung.com/java-oop as none was
matching anymore

* Moved code from https://www.baeldung.com/java-pass-by-value-or-pass-by-reference

* Moved article references to the new README.md
2020-04-28 08:02:06 +02:00
dupirefr b1e507d44c [JAVA-621] core-java-lang-oop-methods module
* Creation

* Moved code from https://www.baeldung.com/java-equals-hashcode-contracts

* Moved code from www.baeldung.com/java-hashcode

* Moved code from https://www.baeldung.com/java-method-overload-override

* Moved code from www.baeldung.com/java-methods

* Moved article references to the new README.md
2020-04-28 08:02:03 +02:00
dupirefr 654de59bbf [JAVA-621] core-java-lang-oop-inheritance module
* Creation

* Moved code from https://www.baeldung.com/java-anonymous-classes

* Moved code from www.baeldung.com/java-polymorphism

* Moved code from www.baeldung.com/java-inheritance

* Moved code from www.baeldung.com/java-variable-method-hiding

* Moved code from https://www.baeldung.com/java-type-casting

* Moved code from https://www.baeldung.com/java-super

* Moved code from www.baeldung.com/java-interfaces

* Moved code from www.baeldung.com/java-abstract-class

* Moved code from www.baeldung.com/java-inner-interfaces

* Moved article references to the new README.md
2020-04-28 08:02:00 +02:00
dupirefr a6846bb1ca [JAVA-621] core-java-lang-oop-types module
* Creation

* Moved code from https://www.baeldung.com/java-marker-interfaces

* Moved code from https://www.baeldung.com/java-abstract-class

* Moved code from https://www.baeldung.com/java-this

* Moved code from https://www.baeldung.com/java-nested-classes

* Moved code from https://www.baeldung.com/java-inner-interfaces

* Moved code from https://www.baeldung.com/java-classes-objects

* Moved article references to the new README.md
2020-04-28 08:01:57 +02:00
dupirefr 1ddd56978b [JAVA-621] core-java-lang-oop-modifiers module
* Creation

* Moved code from https://www.baeldung.com/java-static

* Moved code from https://www.baeldung.com/java-final

* Moved code from https://www.baeldung.com/java-public-keyword

* Moved code from https://www.baeldung.com/java-access-modifiers

* Moved code from https://www.baeldung.com/java-private-keyword

* Moved code from https://www.baeldung.com/java-static-default-methods

* Moved code from https://www.baeldung.com/java-strictfp

* Moved article references to the new README.md
2020-04-28 08:01:55 +02:00
dupirefr f23c60568c [JAVA-621] core-java-lang-oop-generics module
* Creation

* Moved code from https://www.baeldung.com/raw-types-java

* Moved code from https://www.baeldung.com/java-generic-constructors

* Moved code from https://www.baeldung.com/java-type-erasure

* Moved article references to the new README.md
2020-04-28 08:01:52 +02:00
dupirefr c0169519ad [JAVA-621] core-java-lang-oop-patterns module
* Creation

* Moved code from https://www.baeldung.com/java-composition-aggregation-association

* Moved code from https://www.baeldung.com/java-inheritance-composition

* Moved code from https://www.baeldung.com/java-immutable-object

* Moved code from https://www.baeldung.com/java-deep-copy

* Moved article references to the new README.md
2020-04-28 08:01:49 +02:00
dupirefr 117cb9ce46 [JAVA-621] core-java-lang-oop-constructors module
* Creation

* Moved code from https://www.baeldung.com/java-constructors

* Moved code from https://www.baeldung.com/java-copy-constructor

* Moved code from https://www.baeldung.com/java-cannot-reference-x-before-supertype-constructor-error

* Moved article references to the new README.md
2020-04-28 08:01:46 +02:00
dupirefr e25ce92d5e [JAVA-621] Creating core-java-lang-oop-modules module 2020-04-28 08:01:44 +02:00
dupirefr 5e1b86e79e [JAVA-630] Fixing indent of vavr* modules 2020-04-28 07:55:51 +02:00
dupirefr 41a9f46cad [JAVA-616] Fixed link to article by using HTTPS 2020-04-28 07:50:03 +02:00
Loredana Crusoveanu 6ebce06882 Merge pull request #9197 from glmartin/master
Helpful NullPointerException package move
2020-04-28 08:40:54 +03:00