Commit Graph

2780 Commits

Author SHA1 Message Date
pedrolopes
0201897174 BAEL-5873: Check If All the Variables of a Class Are Null (#13285)
* model classes. unit tests. apache lang3 dependency.

* fix PR build
2023-01-12 18:28:36 -08:00
Thiago dos Santos Hora
59d2278aae BAEL-5959: Monad in Java (#13278)
* BAEL-5959: Monad in Java

* Fix test name
2023-01-12 18:23:34 -08:00
Loredana Crusoveanu
0df8392800 Merge pull request #13273 from edizor/master
Update README
2023-01-11 13:09:01 +02:00
Vartika Nigam
21b1ffd892 added an example of anonymous class and lambda expression (#13241)
Co-authored-by: Vartika_Nigam <Vartika_Nigam@DellTeam.com>
2023-01-11 10:26:58 +01:00
edizor
482f921ff0 Create README.md
[skip ci]
2023-01-11 15:35:30 +08:00
edizor
9cf920315f Update README.md
[skip ci]
2023-01-11 15:27:56 +08:00
edizor
7d4f6db111 Update README.md
[skip ci]
2023-01-11 15:19:44 +08:00
edizor
b200d7dd7d Update README.md
[skip ci]
2023-01-11 15:05:55 +08:00
edizor
12aac914be Update README.md
[skip ci]
2023-01-11 14:48:42 +08:00
Iniubong LA
8ba00648e0 arthurshur@gmail.com (#13265)
* Creating a deep vs shallow copy of an object in Java

* Creating a deep vs shallow copy of an object in Java

* Baeldung article converting number bases

* Baeldung article converting number bases
2023-01-09 13:05:23 -08:00
chrisjaimes
91798948db BAEL-5822 printstream vs printwriter (#13199)
* BAEL-5822 pr with streams implementation, unit test and resource file for testing

* fix unit tests names

* swap arguments in assertion

Co-authored-by: Christian Jaimes <christian.jaimes@oracle>
2023-01-09 11:52:25 +01:00
edizor
676ab6eb7a Merge branch 'eugenp:master' into master 2023-01-07 15:43:14 +08:00
Kilian Schneider
1023634259 feat BAEL-6092 Record Patterns (#13243)
* feat BAEL-6092 Record Patterns

* Update pom.xml

* Update pom.xml

* Add additional Switch Test Case
2023-01-06 14:12:38 -08:00
Kai Yuan
ada0dfe212 [clsTypeByString] get class object from a string (#13233) 2023-01-05 21:29:23 -06:00
edizor
23ec75abb8 Update README.md
[skip ci]
2022-12-28 17:45:03 +08:00
Shaun Phillips
d322d3e531 BAEL-4487 Add Crypto Exceptions (#13183) 2022-12-28 08:52:02 +01:00
panos-kakos
99dc334d68 Java 16960 (#13201)
* [JAVA-16960]

* [JAVA-16960]

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-12-28 00:28:30 +05:30
Loredana Crusoveanu
7bc50aa083 Merge pull request #13184 from edizor/master
Update README
2022-12-23 16:39:32 +02:00
Grzegorz Piwowarek
1d6a07ad3c Fix givenOneThreadIsWriting_whenAnotherThreadWritesAtSameKey_thenWaitAndGetCorrectValue (#13186) 2022-12-22 23:18:30 +01:00
pedrolopes
8130b01886 BAEL-5946: Fix unit tests (#13187)
* consistent read unit test

* unit test to show  consistency in writing to the same key of map

* testing writes at different map key

* fix to bugs on test 1 and 2

* removing repeated tests
2022-12-22 23:18:05 +01:00
Kai Yuan
d0baf14c33 [BAEL-6051_intListToStrList] convert List<Integer> to List<String> (#13169) 2022-12-22 15:23:29 -06:00
freelansam
683d0f7053 JAVA-15822: Which sub-modules aren't being built (#13153)
* JAVA-15822: Which sub-modules aren't being built

* JAVA-15822: build error

* JAVA-15822: build error

* modified comment for gcp-firebase
2022-12-23 00:33:54 +05:30
edizor
0f4fdbda2d Update README.md
[skip ci]
2022-12-22 22:33:40 +08:00
edizor
044262c705 Update README.md
[skip ci]
2022-12-22 22:29:03 +08:00
edizor
24ebdd6592 Update README.md
[skip ci]
2022-12-22 22:25:58 +08:00
edizor
dc3bfbee2b Update README.md
[skip ci]
2022-12-22 22:13:12 +08:00
edizor
4fe8127aa4 Update README.md
[skip ci]
2022-12-22 21:57:36 +08:00
Loredana Crusoveanu
5dd9b864c3 Merge pull request #12997 from press0/master
fix getLogger class name
2022-12-22 15:37:35 +02:00
Azhwani
31d014de63 BAEL-6023: Throwing an Exception If an Optional Is Present (#13116) 2022-12-21 17:18:46 +01:00
freelansam
55810387b4 JAVA-16563: Fix formatting of POMs (#13175) 2022-12-20 22:37:54 +05:30
pedrolopes
a29f149579 BAEL-5946: Reading and Writing With a ConcurrentHashMap (#13163)
* consistent read unit test

* unit test to show  consistency in writing to the same key of map

* testing writes at different map key
2022-12-19 22:02:08 +01:00
Ulisses Lima
575a5a4f29 BAEL 5842 - Calling JMX MBean Method from a Shell Script (#13028)
* bael 5842

* bael-5842 - editor review 1
2022-12-19 15:29:17 +01:00
cesarevalenti90
246df6cefd [BAEL 5909]-Callable vs Supplier and When to Use Them in Java (#13041)
* Added test class for a simple shallow copy and deep copy

* Added test class for a simple shallow copy and deep copy

* refactor naming of test method

* formatted

* refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange

* Renamed package and added md file

* refactor README.md

* first push

* refactor

* Revert "refactor README.md"

This reverts commit eae77c453b.

* Revert "Renamed package and added md file"

This reverts commit 42c6f97cbd.

* Revert "refactor test whenIsAShallowCopyDoneByCopyConstructor_thenImmutableObjectWillNotChange"

This reverts commit 44fb57fe2b.

* Revert "formatted"

This reverts commit 44be87ef25.

* Revert "refactor naming of test method"

This reverts commit 6133c31057.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit 2cae083578.

* Revert "Added test class for a simple shallow copy and deep copy"

This reverts commit f43312e2c1.

* Merge prohect java-supplier-callable to project core-java-lambdas

* adjusted package name

* removed AbstractAgeCalculator.java

* added test for supplier-callable

Co-authored-by: Cesare <cesare.valenti@hotmail.com>
2022-12-19 19:23:17 +05:30
Tapan Avasthi
adeb036a37 BAEL-6015: Split String by Whitespace in Java (#13146)
- Using split() method of String class
- Using StringTokenizer class
- Using split() utility method of the StringUtils class

Co-authored-by: Tapan Avasthi <tavasthi@Tapans-MacBook-Air.local>
2022-12-18 22:07:11 -06: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
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
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
c57da59f62 Update README.md
[skip ci]
2022-12-15 15:53:18 +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
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
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
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
edizor
38d74c5812 Update README.md
[skip ci]
2022-12-08 15:43:38 +08:00