Unfortunately, we can't use any matching java version using sdkman. We must provide specific identifier like 11.0.12-open. Sometimes we need to set just java 11, which is installed, patch number and distribution don't matter. There is open issue on github #920 with proposal of this feature. SDKMAN autocomplete make it …
Read MoreToday I'd like to share an interesting case that took me some time before I came to a solution. The case was about using reflection in unit tests to check if the established naming conventions are followed. Problem - reflection does not find all classes Let's assume a project that has 4 classes named: UsecaseA UsecaseB …
Read MoreSDKMAN1 is a great tool for installing multiple versions of different tools and switching between versions easily. It is safe to say that it is a must-have for any programmer. Installation is very easy 1 curl -s "https://get.sdkman.io" | bash 2 source "$HOME/.sdkman/bin/sdkman-init.sh" Main commands In …
Read MoreIn multi-tier applications there is often a need for mapping between two data models. In this article you can read about comparing two mapping libraries: Dozer (http://dozer.sourceforge.net/) - popular library, where mapping is configured by XML files MapStruct (http://mapstruct.org/) - library, which is used for …
Read More