Commit Graph

390 Commits

Author SHA1 Message Date
Josh Cummings 3cd2cf7cd1 Merge pull request #8784 from dupirefr/team/JAVA-131-hamcrest_version_update
[JAVA-131] Updated hamcrest version from 1.3 to 2.2
2020-03-07 14:12:21 -07:00
Ashley Frieze ce75bc8ddf BAEL-3905 - replacing tokens tests and implementation 2020-03-07 17:50:50 +00:00
johnA1331 7e829a4ab8 Update README.md 2020-03-07 11:11:41 +08:00
johnA1331 7ade5a3abf Update README.md 2020-03-07 11:11:01 +08:00
johnA1331 696eaa8666 Update README.md 2020-03-07 11:06:09 +08:00
Cavero Barca 020c3bd8c9 Clean Apache Commons and Guava functions and tests 2020-03-06 21:58:00 +01:00
Somnath Musib 6600942cef BAEL-3838 Capturing a Java Thread Dump (#8780)
Co-authored-by: Somnath Musib <somnath.musib@voltbank.com.au>
2020-03-06 17:12:06 +00:00
eelhazati 735ce1e7d5 revert 2020-03-06 15:19:36 +01:00
dupirefr cc79530c9c [JAVA-131] Unifying hamcrest-core and hamcrest-libraries dependencies under hamcrest 2020-03-05 07:51:28 +01:00
dupirefr 0a6ee0c797 [JAVA-131] Kept difference between hamcrest and hamcrest-all 2020-03-05 07:51:22 +01:00
Jonathan Cook 84a0cb5498 BAEL-3854 - Pattern Matching for instanceof in Java 14 (#8799)
* BAEL-3491 - Check for null before calling parse in the
Double.parseDouble

* BAEL-3491 - Check for null before calling parse in the
Double.parseDouble

- Return to indentation with spaces.

* BAEL-3854 - Pattern Matching for instanceof in Java 14

* BAEL-3854 - Pattern Matching for instanceof in Java 14 - add unit test
2020-03-02 22:15:28 -08:00
Greg e8da9d39f7 Merge pull request #8742 from amdegregorio/BAEL-3840
BAEL-3840 Suppressed Exceptions in Java
2020-03-02 10:05:23 -05:00
johnA1331 78029ac429 Delete README.md 2020-03-02 18:35:52 +08:00
johnA1331 07b9fb4be0 Update README.md 2020-03-02 14:48:49 +08:00
johnA1331 52577b5e2b Update README.md 2020-03-02 14:34:11 +08:00
eelhazati 1bfac7ea53 move jaas to core security module. 2020-02-29 16:46:05 +01:00
Cavero Barca f5a18c6dca Reformat and correct the indentation 2020-02-28 23:53:33 +01:00
Cavero Barca 647e4ffe0e Add the functionality and the unit testing for LTrim and RTrim 2020-02-28 21:00:01 +01:00
Cavero Barca 76f8c05fac Fix the Case Insensitive article name and github references 2020-02-28 18:55:48 +01:00
amdegregorio d1ed8af579 BAEL-3840 Adjust examples based on editor feedback 2020-02-28 06:54:27 -05:00
Unknown 79be75cd74 BAEL-3855
Moved to java-core-modules folder
2020-02-25 10:31:59 +01:00
Eric Martin bbd41d5672 Merge pull request #8751 from johnA1331/master
Bi-Monthly Test Fix - BAEL-22265 and BAEL-22266
2020-02-24 20:47:31 -06:00
Jonathan Cook 242bd4f13d Merge pull request #8688 from psoares/master
[BAEL-3601] How to Lock Files in Java
2020-02-24 23:10:40 +01:00
François Dupire e673011d6b [BAEL-3488] Timer Class (#8769)
* [BAEL-3488] Moving code to core-java where the original article code was located

* [BAEL-3488] Moved original code under timer package
2020-02-23 08:53:12 -08:00
johnA1331 b30112554a Update README.md 2020-02-19 11:33:53 +08:00
amdegregorio 83539b1b3e BAEL-3840 Fix example for section 2.1. 2020-02-18 16:07:26 -05:00
Loredana Crusoveanu 733402b709 Merge pull request #8737 from eugenp/lor6-patch-1
Update README.md
2020-02-17 21:21:47 +02:00
amdegregorio a681588bcc BAEL-3840 Suppressed Exceptions in Java 2020-02-17 06:36:35 -05:00
Jonathan Cook d523011fd0 Merge pull request #8592 from AlexFlorinHriscu/master
BAEL-3502 Arrays.deepEquals method examples.
2020-02-17 11:27:53 +01:00
Loredana Crusoveanu f69aee855f Update README.md 2020-02-16 21:35:44 +02:00
Loredana Crusoveanu f1e1ca8dcf Merge pull request #8717 from Maiklins/JAVA-112-merge-duplicate-read-file-articles
JAVA-112 merge duplicate read file articles
2020-02-16 21:32:41 +02:00
mikr 46d3228551 Java-112 Update unit tests for article merge 2020-02-16 18:32:53 +01:00
Florin Hriscu 70799d694f BAEL-3502 - Format core-java-modules pom.xml file. 2020-02-16 17:45:08 +02:00
Florin Hriscu 347a2b2b4f BAEL-3502 - Format pom.xml file. 2020-02-16 17:43:28 +02:00
Florin Hriscu dcccf21e0d BAEL-3502 Apply correct formatter. 2020-02-16 17:34:31 +02:00
Florin Hriscu af1fd4e1b0 BAEL-3502 Bind core-java-arrays-3 module to parent module. 2020-02-16 00:33:48 +02:00
Florin Hriscu 319fbc12c5 BAEL-3502 Add ArraysDeepEqualsUnitTest.java inside new core-java-arrays-3 module. 2020-02-16 00:33:19 +02:00
Florin Hriscu 9c505d2ac1 BAEL-3502 Remove ArraysDeepEqualsUnitTest file from core-java-arrays-2 module. 2020-02-16 00:29:50 +02:00
Philippe Soares 466d25bd05 Reverted change on README.md 2020-02-14 23:20:05 -05:00
psoares bc18fd907f Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:12:37 -05:00
psoares 80d241be46 Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:12:30 -05:00
psoares db20aeb12c Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:11:52 -05:00
psoares c6489551cf Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:11:41 -05:00
psoares 81d097732d Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:11:34 -05:00
psoares 37d822bc12 Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/lock/FileLocksUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-14 23:11:28 -05:00
mikr fa07aedde7 Java-64 Remove stray code 2020-02-14 12:30:43 +01:00
mikr b155b71c4b Java-112 Merge duplicate Java read from file articles 2020-02-13 09:16:08 +01:00
mikr d7fd1e2493 Java-112 Merge duplicate Java read from file articles 2020-02-13 08:50:05 +01:00
rpvilao 31d0d6a7cd Merge pull request #8672 from sampada07/BAEL-3394
BAEL-3394 : Using headless mode in Java
2020-02-12 18:21:44 +01:00
Pazis bde0c37075 java.net.SocketException: Connection reset (#8707)
* initial commit

* fix
2020-02-11 12:10:59 -08:00
Loredana Crusoveanu ffb9e43a11 Merge pull request #8703 from eugenp/lor6-patch-7
Delete README.md
2020-02-10 23:14:37 +02:00
Loredana Crusoveanu fe9a040728 Merge pull request #8702 from eugenp/lor6-patch-6
Update README.md
2020-02-10 23:14:05 +02:00
Loredana Crusoveanu 7789468baf Merge pull request #8675 from eugenp/lor6-patch-3
Update SortComparisonUnitTest.java
2020-02-10 23:13:19 +02:00
Loredana Crusoveanu 29622aba6c Delete README.md 2020-02-10 23:11:03 +02:00
Loredana Crusoveanu 64c2ddbf30 Update README.md 2020-02-10 23:10:44 +02:00
johnA1331 0e36222099 Update README.md 2020-02-10 15:24:02 +08:00
johnA1331 9b7b426965 Update README.md 2020-02-10 15:20:46 +08:00
johnA1331 d55d7157cc Update README.md 2020-02-10 15:19:13 +08:00
johnA1331 92f3b3a96d Update README.md 2020-02-10 15:10:22 +08:00
johnA1331 fd3e69582d Update README.md 2020-02-10 15:08:56 +08:00
johnA1331 de9aa7c9ec Update README.md 2020-02-10 15:07:32 +08:00
johnA1331 ac95ae258f Update README.md 2020-02-10 14:56:01 +08:00
johnA1331 e577ed1e05 Update README.md 2020-02-10 14:43:34 +08:00
johnA1331 265a5100bd Update README.md 2020-02-10 14:35:29 +08:00
johnA1331 1fe0b4ccbc Update README.MD 2020-02-10 14:33:53 +08:00
johnA1331 b70afb3544 Update README.md 2020-02-10 14:21:28 +08:00
johnA1331 85977c9bfe Create README.md 2020-02-10 14:18:09 +08:00
johnA1331 deb3a7458b Update README.md 2020-02-10 14:00:57 +08:00
johnA1331 be6b5832e8 Update README.md 2020-02-10 13:27:50 +08:00
johnA1331 dce0283239 Update README.md 2020-02-10 13:11:52 +08:00
johnA1331 910bdc10d6 Update README.md 2020-02-10 13:10:29 +08:00
johnA1331 92a07a5b0b Update README.md 2020-02-10 13:09:23 +08:00
johnA1331 b9a0908199 Update README.md 2020-02-10 13:07:20 +08:00
fejera 17e8bbd128 corrected typo 2020-02-09 17:40:30 +01:00
Philippe Soares f80e6c396a [BAEL-3601] - Reformatted code with eclipse. Removed unused imports. 2020-02-09 10:17:06 -05:00
Philippe Soares 696e4943df [BAEL-3601] - Fix code review comments. 2020-02-09 00:49:26 -05:00
Philippe Soares e94f0ad2f1 Merge branch 'master' of https://github.com/psoares/tutorials 2020-02-08 23:47:22 -05:00
amit.pandey b368399b28 resolve conflicts 2020-02-09 02:34:45 +05:30
Loredana Crusoveanu 63d394d697 Merge pull request #8668 from johnA1331/master
BAEL-21624
2020-02-08 12:35:17 +02:00
Florin Hriscu 124cae5760 BAEL-3502 Change destination package for ArraysDeepEqualsUnitTest.java. 2020-02-08 00:20:48 +02:00
Greg 218d9c92f4 Merge pull request #8534 from carloscaverobarca/BAEL-3739-string-Contains-Case-Insensitive-Java
[BAEL 3739] -  Workarounds for String contains case insensitive in Java
2020-02-07 10:35:43 -05:00
Jonathan Cook 4e3191c488 Merge pull request #8609 from martinvw/feature/BAEL-2397-text-blocks
Feature/bael 2397 text blocks
2020-02-07 16:01:27 +01:00
Martin van Wingerden b0ba3cec5f [BAEL-2397] Text Blocks
Replaced by `p` by `span`
2020-02-07 14:06:26 +01:00
Loredana Crusoveanu 8650f39580 Update SortComparisonUnitTest.java 2020-02-06 23:43:50 +02:00
sampada d461fb4593 BAEL-3394 : Using headless mode in Java 2020-02-06 19:30:52 +05:30
Martin van Wingerden 1e2c72c2a5 [BAEL-2397] Text Blocks
Move the + signs to the beginning of the lines
2020-02-05 22:01:08 +01:00
amit.pandey 3af7fbf8a7 added newly added core-java-regex module in parent pom 2020-02-05 19:57:52 +05:30
amit.pandey fa6647a95e move regex module from existing module to core-java-regex module 2020-02-05 19:39:20 +05:30
johnA1331 debd66c2d0 Update README.md 2020-02-05 16:45:00 +08:00
johnA1331 df0ae7e241 Update README.md 2020-02-05 16:43:47 +08:00
johnA1331 0fbe596c06 Update README.md 2020-02-05 16:29:30 +08:00
johnA1331 ed8e78c59d Update README.md 2020-02-05 16:13:17 +08:00
johnA1331 81670cfebf Update README.md 2020-02-05 16:10:35 +08:00
Carlos Cavero cffbc130ec Modify "then" by "should" in the Unit Tests as suggested from code review
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-02-04 10:20:14 +01:00
Eric Martin fc4c5bab51 Merge pull request #8588 from sk1418/master
improvement of the article "How to Return Multiple Values From a Java…
2020-02-02 13:00:25 -06:00
Eric Martin 07a2624110 Merge pull request #8567 from johnA1331/master
Bi-monthly test fix - BAEL-20909
2020-01-31 20:24:34 -06:00
kwoyke cdac6f117a BAEL-3476: Add Java 9 example to Immutable ArrayList in Java (#8636) 2020-01-31 21:55:19 +01:00
Loredana Crusoveanu d0225e59ce Merge pull request #8642 from amit2103/BAEL-21550-3
Bael 21550 3
2020-01-30 22:03:52 +02:00
karl82 0b73db930f 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 fb58191295 resolve merge conflicts 2020-01-30 02:39:31 +05:30