Commit Graph

549 Commits

Author SHA1 Message Date
Josh Cummings 26cb2f3be1 Merge pull request #9046 from sampada07/JAVA-1188
JAVA-1188: Move java-collections-map* modules into core-java-modules
2020-04-09 09:11:43 -06:00
Sam Millington f9ac384b85 Added BAEL-3604 code (#9020)
* Added BAEL-3604 code
2020-04-08 18:40:34 +01:00
johnA1331 0625de1974 Update README.md 2020-04-07 17:54:20 +08:00
johnA1331 34927fcc12 Update README.md 2020-04-07 17:44:36 +08:00
johnA1331 6ffe07efff Update README.md 2020-04-07 17:39:12 +08:00
sampadawagde 39abe6bfd1 JAVA-1188: README changes 2020-04-07 14:53:59 +05:30
sampadawagde cb7bd8d2f2 JAVA-1188: Moved modules to core-java-modules 2020-04-07 14:50:03 +05:30
johnA1331 83cf886628 Create README.md 2020-04-07 16:56:28 +08:00
johnA1331 fb594d2b27 Update README.md 2020-04-07 16:30:42 +08:00
Eric Martin 1b6f7ed95e Merge pull request #8989 from alimate/BAEL-3866
BAEL-3866: Volatile Memory Ordering Example
2020-04-06 22:03:34 -05:00
Greg 940c1e610d Merge pull request #8924 from eardeleanu15/BAEL-3853-Helpful-NPE
BAEL-3853: Helpful NPE in Java 14
2020-04-05 11:33:36 -04:00
kwoyke 8c5dfc6f17 BAEL-3978: Add code samples for Objects.equals() (#9033) 2020-04-05 07:52:47 +02:00
Fabricio Pautasso 1acadab18b BAEL-3918 - Adding BigDecimal numbers using the Stream API (#8900)
* BAEL-3918 - Adding BigDecimal numbers using the Stream API

* BAEL-3918 - Adding BigDecimal numbers using the Stream API

* BAEL-3918 - Adding BigDecimal numbers using the Stream API

* BAEL-3918 - Updating test methods names to be compliant with Baeldung standards

* Minor name change

Co-authored-by: ashleyfrieze <ashley@incredible.org.uk>
2020-04-04 15:55:13 +01:00
Josh Cummings 1cf22480b5 Merge pull request #8980 from sampada07/JAVA-623
JAVA-623: Moved 3 articles from core-java-security to security-2
2020-04-03 08:27:11 -06:00
Eric Martin 18eb5188ca Merge pull request #8992 from alimate/BAEL-3922
BAEL-3922: Introducing nullsFirst and nullsLast
2020-04-01 21:11:03 -05:00
Kumar Chandrakant b4610e110f Adding code for article tracked under BAEL-3573. (#8999)
Co-authored-by: CHANDRAKANT Kumar <kumar.chandrakant@soprabanking.com>
2020-04-01 20:53:38 +02:00
kwoyke b56b71cf5f BAEL-2682: Move java-immutable-set article to core-java-collections-set module (#9001) 2020-04-01 20:42:54 +02:00
Eric Martin e1730b4d5c Merge pull request #8959 from albanoj2/BAEL-3587
BAEL-3587: Added %n new line example.
2020-03-31 17:49:41 -05:00
mthomas 6534bddb6c Move code to core-java-modules/core-java-concurrency-advanced-3Add
Add missing 'Unit' in test name
2020-03-31 04:43:06 -05:00
kwoyke b2a07b9fdf BAEL-2681: Upgrade core-java-collections-set to Java 11 (#8998)
* BAEL-2681: Upgrade core-java-collections-set to Java 11

* BAEL-2681: Comment out core-java-collections-set from the pom.xml
2020-03-31 08:54:14 +02:00
kwoyke 16e6ddc2e3 BAEL-3060: Cleanup JMXTutorialMainlauncher (#8991) 2020-03-30 23:10:57 +02:00
Ali Dehghani 0628c8dd42 Introducing nullsFirst and nullsLast 2020-03-30 17:55:33 +04:30
Ali Dehghani 35bbf9c884 Borrowing one Example from JCIP 2020-03-30 01:29:02 +04:30
rpvilao f79cdee39a Merge pull request #8958 from antmordel/master
BAEL-3928 Comparing Long Values in Java
2020-03-28 23:12:06 +01:00
Antonio Moreno 2ba09756f7 BAEL-3928 Comparing Long values in Java 2020-03-28 11:53:42 +00:00
sampadawagde e2b6b4bc92 JAVA-623: Moved 3 articles to core-java-security-2 2020-03-28 16:48:43 +05:30
sampadawagde c18d09cd33 JAVA-623: Moved 3 articles from core-java-security to security-2 2020-03-28 16:48:04 +05:30
mthomas 46b732527b Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-3860 2020-03-28 04:59:27 -05:00
mthomas 23153cf01c BAEL-3860 - Add model class and test for AtomicStampedReference 2020-03-28 04:58:57 -05:00
Eric Martin c52aab9879 Merge pull request #8945 from johnA1331/master
BAEL-23068
2020-03-27 12:38:58 -05:00
Greg 566c18ad7e Merge pull request #8935 from sergio41/master
[BAEL-3910] Code Upload
2020-03-26 14:32:22 -04:00
sampadawagde 532d2a32ee JAVA-626: Updated Next and Prev links in README 2020-03-25 12:10:44 +05:30
sampadawagde 50c9b1c75e JAVA-626: Updated Next and Prev links in README 2020-03-25 12:07:06 +05:30
Josh Cummings 3a358c5cb4 Merge pull request #8906 from sampada07/JAVA-626
JAVA-626: Split or move java-math module
2020-03-24 23:20:24 -06:00
Eric Martin 99c2e2ea2a Merge pull request #8897 from sk1418/master
[BAEL-3914] java regex: \\s vs \\s+
2020-03-24 20:36:35 -05:00
Justin Albano f239c41f5f BAEL-3587: Corrected mis-numbering in comments. 2020-03-24 19:57:56 -04:00
Justin Albano 7ad1542856 BAEL-3587: Added %n new line example. 2020-03-24 19:56:27 -04:00
Karsten Silz 1062b4fef6 BAEL-3911 (#8939)
* Initial version of the code.

* Addressed PR comment.
2020-03-23 19:17:16 +01:00
johnA1331 b7a00cb127 Update README.md 2020-03-23 18:55:39 +08:00
johnA1331 6f89368718 Update README.md 2020-03-23 18:46:45 +08:00
johnA1331 11f23a2f6b Update README.md 2020-03-23 18:45:49 +08:00
johnA1331 eac4d6a715 Update README.md 2020-03-23 18:44:34 +08:00
johnA1331 d90933973e Update README.md 2020-03-23 18:18:10 +08:00
johnA1331 9ead49e028 Update README.md 2020-03-23 18:07:01 +08:00
Eric Martin 185a3a12c2 Merge pull request #8842 from AlexFlorinHriscu/master
BAEL-3859 - A Guide to AtomicMarkedReference in Java
2020-03-22 20:20:11 -05:00
sampadawagde 8d83e7cf1b JAVA-626 : Updated README description 2020-03-22 22:54:40 +05:30
Kai Yuan abf0620269 [BAEL-3914] java regex: \\s vs \\s+ 2020-03-22 17:44:10 +01:00
sergio41 eeb864af71 [BAEL-3910] Code Upload 2020-03-22 14:26:52 +01:00
sampadawagde 1aba93f3aa JAVA-626 : added new module to parent module's pom 2020-03-22 16:57:48 +05:30
sampadawagde 96cfd0af12 JAVA-626 : Added new module, replacement for the retired java-math 2020-03-22 16:56:34 +05:30
sampadawagde 05e0753a9c JAVA-626: Added 3 articles 2020-03-22 16:55:04 +05:30
Loredana Crusoveanu 0ed7b7dbeb Merge pull request #8933 from amit2103/JAVA-1007-2
pom formatting
2020-03-22 10:16:56 +02:00
Sampada c9569ac3a0 BAEL-3909: Moved code to another module (#8931) 2020-03-21 19:39:36 -07:00
amit.pandey ee8d7adb8e formatted pom.xml file 2020-03-22 07:24:38 +05:30
Eduard Ardeleanu d3b35f9f0c BAEL-3853: Helpful NPE in Java 14 2020-03-20 17:28:47 +02:00
rpvilao b5fb4b4182 Merge pull request #8758 from mguarnaccia/BAEL-3855
BAEL-3855
2020-03-20 12:00:27 +01:00
Loredana Crusoveanu 992659b9f3 Merge pull request #8904 from johnA1331/master
BAEL-22474
2020-03-19 18:34:01 +02:00
Greg 1528acf120 Merge pull request #8843 from rojyates/BAEL-3603-Java-IO-versus-NIO
BAEL-3603 Add test examples for Java IO versus NIO article
2020-03-18 15:50:22 -04:00
Unknown 0692bac979 BAEL-3855 2020-03-18 10:18:58 +01:00
johnA1331 803c8ddc99 Update README.md 2020-03-18 14:27:33 +08:00
johnA1331 7494225aa8 Update README.md 2020-03-18 14:23:00 +08:00
johnA1331 0ea9f16448 Update README.md 2020-03-18 14:21:53 +08:00
johnA1331 f70e4a0563 Update README.md 2020-03-18 14:14:13 +08:00
johnA1331 53c9accfd6 Create README.md 2020-03-18 14:09:32 +08:00
johnA1331 36c745ceb5 Update README.md 2020-03-18 13:34:56 +08:00
johnA1331 b46622d258 Update README.md 2020-03-18 13:23:13 +08:00
johnA1331 a5ea8c9d12 Update README.md 2020-03-18 13:12:25 +08:00
johnA1331 e052b9e735 Update README.md 2020-03-18 12:57:21 +08:00
johnA1331 378c353c90 Create README.md 2020-03-18 12:55:20 +08:00
johnA1331 98c4810ae4 Update README.md 2020-03-18 12:26:04 +08:00
johnA1331 369cfe24ab Update README.md 2020-03-17 19:09:27 +08:00
Loredana Crusoveanu b2ac02ae4d Merge pull request #8884 from amit2103/JAVA-1007
pom formatting
2020-03-17 12:35:58 +02:00
Roger Yates 0f5889567e BAEL-3603 Update variable names 2020-03-17 06:35:29 +10:00
Roger Yates 38843e814b BAEL-3603 Update variable names 2020-03-17 06:32:39 +10:00
Florin Hriscu 3aa7a8f8a2 BAEL-3859 Changes after review. 2020-03-16 01:42:29 +02:00
Roger Yates 5c83dddb91 BAEL-3603 Update method names and variable name for PR 2020-03-16 06:24:59 +10:00
rpvilao c6c643048f Merge pull request #8789 from carloscaverobarca/BAEL-3755-LTrim-And-RTrim-In-Java
[BAEL 3755] - LTrim and RTrim Alternatives in Java
2020-03-15 15:16:49 +01:00
amit.pandey 1f4a4e24ec pom formatting 2020-03-15 18:22:24 +05:30
Unknown dae03d6a87 BAEL-3855 2020-03-15 13:04:55 +01:00
Unknown 5065a7353d BAEL-3855 2020-03-15 12:50:43 +01:00
Cavero Barca 2f3fa76466 Convert Benchmark functions to public to avoid compilation errors 2020-03-15 08:59:15 +01:00
Cavero Barca 63d9335b09 Remove FQCN for StringUtils and let private functions when possible 2020-03-14 23:06:54 +01:00
eric-martin b0ad30b803 BAEL-3583: Added the core-java-security-2 module 2020-03-13 22:50:25 -05:00
Eric Martin 43dd461ca8 Merge branch 'master' into master 2020-03-13 22:25:15 -05:00
Florin Hriscu f7ae209537 BAEL-3859 Add type to employeeNode and fix order of parameters in assertEquals method calls. 2020-03-13 22:46:41 +02:00
Florin Hriscu 205ee99874 BAEL-3859 Remove unnecessary equals and hashcode overriden methods. 2020-03-13 21:25:17 +02:00
Unknown 0e3a4221fe BAEL-3855 2020-03-13 16:33:34 +01:00
Cavero Barca 5badedf7e3 Upgrade Guava version 2020-03-13 00:35:43 +01:00
François Dupire 5fbc94ae90 [JAVA-589] Reviewed build time (#8800)
* [JAVA-589] Reviewed build time

* Renamed HibernateTimeZoneTest to HibernateTimeZoneIntTest

* [JAVA-873] Extracted benchmarking part of unit test into its own LiveTest

* Revert "[JAVA-873] Extracted benchmarking part of unit test into its own LiveTest"

This reverts commit 10c05ebb7e43be0a04ed377c453f0aa92c81117c.

* [JAVA-906] Renamed PrimeNumberUnitTest to PrimeNumberManualTest in order to avoid it being runned

* [JAVA-906] Renamed HibernateTimeZoneIntTest to HibernateTimeZoneIntegrationTest

* [JAVA-906] Removed package-lock.json and added it to .gitignore
2020-03-12 13:01:06 +05:30
Roger Yates fad2d2a67c BAEL-3603 Add line separator to preserve lines read 2020-03-12 06:12:42 +10:00
Unknown 880f922df3 BAEL-3855
identation
2020-03-11 20:13:12 +01:00
Unknown e501b2092f BAEL-3855 2020-03-11 20:09:14 +01:00
Unknown e09d87a604 BAEL-3855 2020-03-11 19:56:30 +01:00
Unknown 407861afac BAEL-3855 2020-03-11 18:18:05 +01:00
Unknown 2302a4abb7 BAEL-3855 2020-03-11 14:31:36 +01:00
Michele ff4ac10bb2 BAEL-3855 2020-03-11 13:19:25 +01:00
mguarnaccia 52608c32cb Delete LockStriped.java 2020-03-11 11:21:01 +01:00
mguarnaccia 1470deb187 Delete CoarseGrained.java 2020-03-11 11:20:37 +01:00
kwoyke 07bec4d5b2 BAEL-3775: Clean up unit tests for Stack (#8837) 2020-03-11 06:43:46 +01:00
Cavero Barca 804b4c42aa Keep only null as stripChar in the Apache Commons example 2020-03-10 14:17:19 +01:00
Eric Martin 335127f269 Merge pull request #8808 from johnA1331/master
github-related test fix - 18-02-2020
2020-03-09 20:49:51 -05:00
Roger Yates 8efe817cd3 BAEL-3603 Add test examples for Java IO versus NIO article 2020-03-10 09:19:13 +10:00
Cavero Barca aaabfa4ab2 Add null as stripChar for Apache Commons StringUtils example 2020-03-10 00:06:36 +01:00
Florin Hriscu ae6aaf40f0 BAEL-3859 - Add implementation for AtomicMarkableReference article. 2020-03-10 00:50:53 +02:00
Unknown 636e76ade0 BAEL-3855
Updated
2020-03-09 16:43:35 +01:00
eelhazati e0f49f5575 move code to core-java-security-2 2020-03-08 22:28:17 +01:00
Loredana Crusoveanu eda766c83c Merge pull request #8830 from amit2103/JAVA-5
clean up plugins from pom file
2020-03-08 22:16:34 +02:00
amit.pandey 75200b6b20 clean up plugins from pom file 2020-03-08 14:23:30 +05:30
Josh Cummings f35e28d4dc Merge pull request #8796 from ashleyfrieze/BAEL-3905-how-to-replace-tokens-in-strings
BAEL-3905 - replacing tokens tests and implementation
2020-03-07 15:44:30 -07:00
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