Commit Graph

661 Commits

Author SHA1 Message Date
kwoyke
db70d23f39 BAEL-3476: Add Java 9 example to Immutable ArrayList in Java (#8636) 2020-01-31 21:55:19 +01:00
Loredana Crusoveanu
b479e97f2e Merge pull request #8642 from amit2103/BAEL-21550-3
Bael 21550 3
2020-01-30 22:03:52 +02:00
karl82
fd894af6fe Update ThreadLocalRandom benchmark to show issues with contention (#8292)
Previous benchmark was measuring initialization of thread pools and
their shutdown, not really measuring performance of Random.nextInt()
shared Random instance vs ThreadLocalRandom.current()

Example when run with 8 threads

Benchmark                                                         Mode  Cnt     Score     Error   Units
ThreadLocalRandomBenchMarker.randomValuesUsingRandom             thrpt   20     9.597 ±   0.475  ops/us
ThreadLocalRandomBenchMarker.randomValuesUsingThreadLocalRandom  thrpt   20  2195.178 ± 109.579  ops/us
2020-01-30 11:10:20 -08:00
amit.pandey
2a698d7975 resolve merge conflicts 2020-01-30 02:39:31 +05:30
amit.pandey
a407505698 extract pom version into properties 2020-01-30 02:16:26 +05:30
Ali Dehghani
96555d8f01 Fixing Yet Another Date & Time Problem 2020-01-27 23:34:21 +03:30
Loredana Crusoveanu
1e46bc5420 Merge pull request #8564 from Maiklins/BAEL-20598-Fix-unit-test-in-core-java-jndi-module
BAEL-20598 fix unit test in core java jndi module
2020-01-26 18:38:07 +02:00
Loredana Crusoveanu
bb1682a213 Merge pull request #8541 from kwoyke/BAEL-20927
BAEL-20927: Standardize packages for core-java-modules
2020-01-26 11:51:00 +02:00
Pazis
d3997a959f BAEL-3513 (#8489)
* BAEL3513

* fix
2020-01-24 11:24:35 -08:00
Greg
4418ea0865 Merge pull request #8442 from Thabo08/work-stealing-3
t.ntsoko@gmail.com - Work stealing framework
2020-01-24 09:44:03 -05:00
Loredana Crusoveanu
600882d9fe Merge pull request #8560 from kwoyke/BAEL-20599
BAEL-20599: Increase blocking operations' time
2020-01-24 15:21:59 +02:00
mikr
91fdc03c5d BAEL-20598 Merge master 2020-01-22 08:55:30 +01:00
mikr
d73994fc06 Merge branch 'master' of https://github.com/Maiklins/tutorials into BAEL-20598-Fix-unit-test-in-core-java-jndi-module
 Conflicts:
	core-java-modules/core-java-jndi/pom.xml
2020-01-22 08:52:27 +01:00
mikr
88ee96379b BAEL-20598 Fix unit test in core-java-jndi module 2020-01-22 08:48:27 +01:00
Loredana Crusoveanu
0a51c73305 Merge pull request #8514 from dkapil/task/BAEL-20665
Task/bael 20665
2020-01-21 21:35:59 +02:00
Vijay Palaniappan S
a0204c56ab Added a new module & code for creating LocalDate (#8558) 2020-01-21 08:07:38 -08:00
Dhawal Kapil
08d80cdc3a Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-20665
# Conflicts:
#	core-java-modules/core-java-jndi/pom.xml
2020-01-21 20:02:01 +05:30
Maiklins
e7ddc7d9e3 http://jira.baeldung.com/browse/BAEL-3707 (#8535)
Missing Code - Guide To Java 8 Optional
2020-01-21 10:03:23 +01:00
Krzysztof Woyke
ae011d4f4c BAEL-20599: Increase blocking operations' time 2020-01-21 09:53:09 +01:00
Greg
081b3b8b5b Merge pull request #8485 from vikasrajput6035/BAEL-3504
BAEL-3504: Article - what causes invocation-target-exception : done
2020-01-19 13:01:46 -05:00
Vikas Ramsingh Rajput
ca464ab443 BAEL-3504: Added blank lines before when and then in unit test 2020-01-19 11:56:33 +03:00
Vikas Ramsingh Rajput
b2f369ef51 Merge branch 'BAEL-3504' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-19 11:53:14 +03:00
Vikas Rajput
b7ffef72fb BAEL-3504: Update core-java-modules/core-java-reflection/src/test/java/com/baeldung/reflection/exception/invocationtarget/InvocationTargetUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-01-19 10:52:37 +03:00
Eric Martin
c8ac240a5f Merge pull request #8506 from sampada07/BAEL-3602
BAEL-3602 : Java 13 New Features
2020-01-18 20:17:39 -06:00
sampada
b2cdd4db7e BAEL-3602 : swapped order of args in assertEquals call 2020-01-18 20:19:34 +05:30
Jonathan Cook
42a7fab51e Merge pull request #8502 from vikasrajput6035/BAEL-3655
BAEL-3655: Article Find vs Matches in Java Regex API - done
2020-01-18 09:43:00 +01:00
Vikas Ramsingh Rajput
bcb2ce10da BAEL-3655: Renamed the JUnit test file as the proper naming convention 2020-01-17 23:54:00 +03:00
Vikas Ramsingh Rajput
83bfe70444 Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-17 23:40:44 +03:00
Vikas Ramsingh Rajput
e19c356bf9 BAEL-3504: Added Unit test file and removed old class file 2020-01-17 23:38:53 +03:00
Krzysztof Woyke
e085fa8680 BAEL-20927: Migrate pom.xml files to com.baeldung package 2020-01-16 13:48:48 +01:00
Krzysztof Woyke
24afff5c4a BAEL-20927: Migrate core-java-concurrency-collections to com.baeldung package 2020-01-16 13:45:16 +01:00
Krzysztof Woyke
086d0b8f69 BAEL-20927: Migrate core-java-collections-list-2 to com.baeldung package 2020-01-16 13:41:37 +01:00
Krzysztof Woyke
cd35af5781 BAEL-20927: Migrate core-java-collections-list to com.baeldung package 2020-01-16 13:35:13 +01:00
Krzysztof Woyke
eb6c4c008b BAEL-20927: Migrate core-java-collections-array-list to com.baeldung package 2020-01-16 13:30:52 +01:00
Krzysztof Woyke
24e980ae1e BAEL-20927: Migrate core-java to com.baeldung package 2020-01-16 13:26:09 +01:00
amit.pandey
b315bf35c6 move versions in properties 2020-01-16 01:53:26 +05:30
sampada
d1db78f5c1 BAEL-3602 : Added test for formatted() 2020-01-13 12:04:35 +05:30
Dhawal Kapil
eed45d213c BAEL-20665 Submodules not building
- Further fixes
2020-01-12 23:40:28 +05:30
Dhawal Kapil
9b6b14a40b Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-20665
# Conflicts:
#	core-groovy-2/src/test/groovy/com/baeldung/metaprogramming/MetaprogrammingUnitTest.groovy
#	core-java-modules/pom.xml
#	pom.xml
2020-01-12 20:55:19 +05:30
Dhawal Kapil
73b5664785 BAEL-20655 Which sub-modules aren't being built?
- Added more parent levels pom
2020-01-12 20:28:45 +05:30
Eric Martin
6ff4e49984 Merge pull request #8456 from SmartyAnsh/BAEL-3596_Asynchronous_Method_Calls_in_Java
Bael 3596 asynchronous method calls in java
2020-01-10 20:13:04 -06:00
sampada
3f61fa10a9 BAEL-3602 : Java 13 New Features 2020-01-10 17:43:48 +05:30
Dhawal Kapil
b75658a2d4 BAEL-20655 Which sub-modules aren't being built?
- Added several missing modules in the main pom.xml
- Fixed the modules list for all the profiles
- Commented several test cases so that all modules can run and be included in the pom.xml
- Moved child modules from main pom to parent modules pom
2020-01-10 17:22:13 +05:30
François Dupire
51f5bf282f dupirefr/dupire.francois+pro@gmail.com [BAEL-3488] Timer Class (#8468)
* [BAEL-3488] Added examples and tests

* [BAEL-3488] Moved code to core-java-date-operations-2 module

* [BAEL-3488] Added assertj library to maven dependencies
2020-01-09 16:06:52 -08:00
Vikas Ramsingh Rajput
fbf82f6375 BAEL-3655: Article Find vs Matches in Java Regex API - done 2020-01-09 23:22:47 +03:00
Vijay Palaniappan S
4899959adb Added Create Date class & Unit Tests for all the cases (#8499) 2020-01-09 09:58:12 -08:00
Anshul BANSAL
647cef2ec7 Merge branch 'BAEL-3596_Asynchronous_Method_Calls_in_Java' of https://github.com/SmartyAnsh/tutorials into BAEL-3596_Asynchronous_Method_Calls_in_Java 2020-01-09 11:38:49 +02:00
Anshul BANSAL
89f3dd5f8a BAEL-3596 - extracted the version numbers into properties 2020-01-09 11:34:28 +02:00
Vikas Ramsingh Rajput
b76640bfb6 Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-07 21:38:25 +03:00
Vikas Ramsingh Rajput
5259814b16 BAEL-3504: Article - what causes invocation-target-exception : done 2020-01-07 21:08:42 +03:00