Commit Graph

1015 Commits

Author SHA1 Message Date
rpvilao
175fb4380c Merge pull request #9336 from alimate/BAEL-4054
BAEL-4054: Super Type Token
2020-05-25 17:27:36 +02:00
François Dupire
da21b60f9a [JAVA-1657] Junit and Maven Surefire Plugin upgrade in core-java-modules (#9301)
* [JAVA-1657] core-java-modules JUnit and Maven Surefire Plugin upgrade

* [JAVA-1657] Changed sub modules parents to core-java-modules and core-java-modules to parent-java

* [JAVA-1657] Upgraded JUnit Jupiter version

* [JAVA-1657] Get JUnit 4 dependency transitively
2020-05-25 19:45:48 +05:30
Josh Cummings
e0947e4c9b Update README.md
Issue CS-144
2020-05-23 08:26:13 -06:00
Ali Dehghani
cd51a8c8d0 Adding Super Type Token 2020-05-21 21:25:37 +04:30
dupirefr
bb1ccffcaf [BAEL-3981] Fixes from Josh's review
* Upgraded Apache Commons to 3.10

* Replaced Nathalie by Natalie
2020-05-20 23:41:13 +02:00
dupirefr
0ce80e48fd [BAEL-3981] Moved inner classes to upper level 2020-05-20 23:31:13 +02:00
dupirefr
d1e64fb5db [BAEL-3981] Code for article
* Equality operators

* Object#equals method

* Objects#equals static method

* Comparable interface

* Comparator interface

* Apache Commons features

* Guava features
2020-05-20 23:31:12 +02:00
Grzegorz Piwowarek
1bf622a757 Update ExchangerPipeLineManualTest.java (#9326) 2020-05-20 07:54:02 +02:00
Roland Weisleder
2ce056b0f2 BAEL-4010 Add test for InputStream.readAllBytes() (#9265)
* BAEL-4010 Add test for InputStream.readAllBytes()

* BAEL-4010 Refactor: Move "InputStream to Bytes" to Java 9 specific module

The issue BAEL-4010 introduces a new example to the article "Java
InputStream to Byte Array and ByteBuffer". The example is about
  byte[] InputStream.readAllBytes()
which was added with Java 9.

To be consistent, all examples for this article were moved to a module
which is compiled with at least Java 9.
2020-05-19 22:24:05 +02:00
Somnath Musib
647896cdb8 BAEL-4033 LinkedBlockingQueue vs ConcurrentLinkedQueue (#9281)
* BAEL-4033 Added unit test cases for LinkedBlockingQueue and ConcurrentLinkedQueue

* BAEL-4033 Updated unit test class names due to PMD rule violations

* Moved files to another module based on the editor review
2020-05-19 17:48:58 +01:00
Josh Cummings
5e365dcad9 Merge pull request #9262 from Maiklins/JAVA-618-split-core-java-exceptions
Java-618 split core java exceptions
2020-05-18 22:09:35 -06:00
kwoyke
6c6e7ab9b4 BAEL-4042: Add new test case using BufferedReader.lines method (#9288) 2020-05-15 22:26:41 +02:00
Dhrubajyoti Bhattacharjee
fdd9c4add8 BAEL-3858 Java Exchanger introduction (#9000) 2020-05-15 22:17:08 +02:00
Greg
9b5f2f0a31 Merge pull request #9251 from markathomas/BAEL-3974
BAEL-3974 - spatialguru.net@gmail.com
2020-05-15 13:36:22 -04:00
Loredana Crusoveanu
8c18340557 Merge pull request #9276 from johnA1331/master
BAEL-24104 - add links to github-baeldung articles
2020-05-15 15:15:19 +03:00
Jonathan Cook
e6e3cf7e22 Merge pull request #8894 from nachoverdu/BAEL-3912
BAEL-3912: Changes done
2020-05-14 15:28:21 +02:00
johnA1331
3175daae2f Update README.md 2020-05-12 17:10:13 +08:00
johnA1331
4691d49c2d Update README.md 2020-05-12 17:06:47 +08:00
johnA1331
53f19e3073 Update README.md 2020-05-12 15:15:53 +08:00
Justin Albano
b0fb3f6993 BAEL-3951: Added JDK 14 record example and associated tests. (#9270) 2020-05-11 08:47:04 -07:00
Somnath Musib
e049907062 BAEL-3852 - A Guide to Foreign Memory Access API in Java 14 (#9040)
* Code sample for Java Hexagonal architecture

* BAEL-3838 Capturing a Java Thread Dump

* BAEL-3852 Foreign memory api in Java

* BAEL-3852 - Review changes of A Guide to Foreign Memory Access API in Java 14

* BAEL-3852 - Additional review changes for A Guide to Foreign Memory Access API in Java 14

* Review changes for alignment and class removal

* Removed incorrectly added old files from the PR

* Indentation changes

Co-authored-by: Somnath Musib <somnath.musib@voltbank.com.au>
2020-05-10 15:14:53 +01:00
Jonathan Cook
6cd135a67e Merge pull request #9148 from sergio41/master
[BAEL-3944] Validate Phone Numbers with Java Regex
2020-05-10 08:17:59 +02:00
Eric Martin
fa00c2a97e Merge pull request #9245 from johnA1331/master
github-related test fix (results: 03.05.2020) - BAEL-24010
2020-05-09 23:09:23 -05:00
Maiklins
ff4f753f25 Bael-3857 introduction to lock free data structures (#9238)
* BAEL-3857 Introduction to Lock-Free Data Structures

* BAEL-3857 Declare variables as final / volatile

* BAEL-3857 Declare node value as final

Co-authored-by: mikr <michael.krimgen@ximedes.com>
2020-05-09 14:00:25 +02:00
mikr
767d6a1cb8 JAVA-618 Move code for 3 articles from core-java-exceptions to core-java-exceptions-2 2020-05-08 23:12:36 +02:00
mthomas
1eb0dd85a3 BAEL-3974 - Put imports back in place 2020-05-06 02:56:12 -05:00
mthomas
9c524d890f BAEL-3974 - Add unit test for streaming Base64 encoding 2020-05-05 22:38:52 -05:00
johnA1331
00e12912a8 Update README.md 2020-05-05 16:57:15 +08:00
johnA1331
cacf1c14da Update README.md 2020-05-05 16:53:27 +08:00
johnA1331
d2474fdf84 Update README.md 2020-05-05 16:51:28 +08:00
johnA1331
ffa49b2de3 Update README.md 2020-05-05 09:21:38 +08:00
dupirefr
24cad59aad [JAVA-621] Fixed core-java-lang-oop-inheritance module description 2020-05-03 19:42:17 +02:00
sergio41
6012ecae2e [BAEL-3944] Negative test cases 2020-05-03 16:44:14 +02:00
Josh Cummings
70e953a3e5 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
2d44847335 Bael-3966: code fixes after editor review (#9203) 2020-05-01 21:35:29 +02:00
dupirefr
24ea573e94 [JAVA-621] Got last compilation error 2020-05-01 20:56:43 +02:00
sergio41
479377bc3b [BAEL-3944] Identation 2020-04-30 19:09:11 +02:00
sergio41
9171c4f4fc [BAEL-3944] Minor changes on examples and identations 2020-04-30 18:44:05 +02:00
Kamlesh Kumar
0247027cbb BAEL-3837: Java Deadlock and Livelock (#8943) 2020-04-30 07:18:30 -05:00
Josh Cummings
fe2ab86e02 Merge pull request #9201 from Maiklins/JAVA-618
Java-618 Restore missing code snippets
2020-04-29 12:56:28 -06:00
mikr
ce74c4d4b0 Java-618 Fix build failure (2) 2020-04-29 10:24:20 +02:00
dupirefr
11251caa14 [JAVA-621] Fixed package and import 2020-04-29 10:14:43 +02:00
mikr
ecb9abf3de Java-618 Fix build failure 2020-04-29 10:13:58 +02:00
dupirefr
fe6ff27d42 [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
cfcea97288 Java-618 Restore RootCauseFinder code (move classes to core-java-modules) 2020-04-28 23:37:45 +02:00
Marcos Lopez Gonzalez
e257fc3a63 AgeCalculator changes 2020-04-28 22:56:25 +02:00
Marcos Lopez Gonzalez
89dddaebe8 changed example for finder of root cause exception 2020-04-28 22:55:30 +02:00
Marcos Lopez Gonzalez
0d9608507b root cause finder 2020-04-28 22:15:39 +02:00
mikr
1937c60c6c JAVA-618 Restore code for Global Exception Handler 2020-04-28 22:12:00 +02:00
dupirefr
c39e3a6a7d [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