Commit Graph

534 Commits

Author SHA1 Message Date
dupirefr 04ac803704 [JAVA-621] Fixed core-java-lang-oop-inheritance module description 2020-05-03 19:42:17 +02:00
Josh Cummings df332afd65 Merge pull request #9021 from dupirefr/team/JAVA-621-split_core_java_lang_oop2_module
[JAVA-621] Split core-java-lang-oop modules
2020-05-02 19:26:54 -06:00
Aaron Juarez 9797d3a4fc Bael-3966: code fixes after editor review (#9203) 2020-05-01 21:35:29 +02:00
dupirefr ed27094b5b [JAVA-621] Got last compilation error 2020-05-01 20:56:43 +02:00
Kamlesh Kumar 89da31cbce BAEL-3837: Java Deadlock and Livelock (#8943) 2020-04-30 07:18:30 -05: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 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
mikr 666ca1ac69 Java-618 Fix build failure 2020-04-29 10:13:58 +02: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
mikr e7cd7da8b8 Java-618 Restore RootCauseFinder code (move classes to core-java-modules) 2020-04-28 23:37: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
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
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 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
Kumar Chandrakant 57519b9dae Testing multithreading (#9193) 2020-04-28 06:18:00 +02:00
Josh Cummings 70781cfeb1 Merge pull request #9143 from amit2103/JAVA-1273-1
update pom version from RC to GA
2020-04-27 17:18:17 -06:00
Greg Martin 71fb667478 Moved the HelpfulNullPointerException code to the npe package.
Merge remote-tracking branch 'upstream/master'
2020-04-27 18:47:18 -04:00
Aaron Juarez ee898632d3 BAEL-3966: find object's class in Java (#9118) 2020-04-25 22:23:13 +02:00
KevinGilmore d090c9b059 BAEL-2893 BAEL-3927 update README files (#9171)
* BAEL-3336 BAEL-3058 add links

* BAEL-3319: add link

* BAEL-3284: add link

* BAEL-3198: add link to article

* BAEL-3479: add link to article

* BAEL-3485: add article link

* SCALA-38: move to new package and add link back to article

* SCALA-38: add imports back into unit test

* BAEL-3908: add link back to article

* BAEL-2893 BAEL-3927 add link back to article
2020-04-24 22:28:04 -05:00
Roque Santos 35f1a3eba5 BAEL-3927 : Encode a String to UTF-8 in Java (#8954)
* BAEL-3927 : Encode a String to UTF-8 in Java

* Update core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/encode/StringEncodeUnitTest.java

Co-Authored-By: KevinGilmore <kpg102@gmail.com>

* BAEL-3927 : Applying suggested adjustments

* BAEL-3927 : Simplifying the code snippets

* BAEL-3927 : Coding styles adjustements

* BAEL-3927 : Test adjustements to fit changes in article

Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-04-24 09:10:44 -05:00
Eric Martin ed8bdf0cb5 Merge pull request #9158 from johnA1331/master
github-related test fix - BAEL-23872
2020-04-23 19:34:01 -05:00
Josh Cummings fdec685ad4 Merge pull request #9071 from dupirefr/team/JAVA-616-split_core_java_arrays
[JAVA-616] Split core-java-arrays* modules
2020-04-22 09:54:10 -06:00
johnA1331 e9450dacbb Update README.md 2020-04-21 14:11:41 +08:00
Jonathan Cook 8da4206dc4 Merge pull request #8978 from markathomas/BAEL-3860
BAEL-3860 - spatialguru.net@gmail.com
2020-04-19 14:46:49 +02:00
amit.pandey 95578f92ea update pom version from RC to GA 2020-04-19 18:09:24 +05:30
Josh Cummings 8a4c2d112e Merge pull request #9105 from Maiklins/JAVA-617
Java-617
2020-04-18 23:09:49 -06:00
Josh Cummings 43c715d949 Merge pull request #9133 from amit2103/JAVA-1278-1
Java 1278 1
2020-04-18 22:58:12 -06:00
amit.pandey 0f851a1d84 update source code to sync with article 2020-04-18 20:57:13 +05:30
mikr 744d2b5733 JAVA-617 Rename core-java-datetime-java8 to core-java-8-datetime 2020-04-18 14:22:10 +02:00
dupirefr 40fb82606a [JAVA-616] Reworded operations modules descriptions 2020-04-17 21:05:33 +02:00
dupirefr 91922d6553 [JAVA-616] Cleaning code
* Removed core-java-arrays* modules

* Updated core-java-module/pom.xml
2020-04-17 21:01:18 +02:00
dupirefr 50530b81b4 [JAVA-616] core-java-arrays-operations-advanced
* Creation

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

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

* Moved code from https://www.baeldung.com/java-array-sum-average

* Moved code from https://www.baeldung.com/java-array-intersection
2020-04-17 21:01:16 +02:00