Anshul BANSAL
a027dc8833
POM fixes
2020-07-09 10:19:08 +03:00
Anshul BANSAL
7f16e3e80e
BAEL-4175 - moved code to a new module - core-java-string-operations-3
2020-07-09 10:13:30 +03:00
Anshul BANSAL
2e66a84425
correct import
2020-07-09 10:02:05 +03:00
Anshul Bansal
0c612f78e8
used assertFalse in place of assertEquals
2020-07-09 10:01:20 +03:00
Anshul Bansal
d7f9bec70b
Update core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java
...
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-07-09 09:59:50 +03:00
kwoyke
77bec48917
JAVA-2108: Move Introduction to Protonpack to the libraries-6 ( #9673 )
2020-07-09 08:39:13 +05:30
Jordan Simpson
daf844520f
Moved pom module next to the other core-java-lang-x modules.
2020-07-08 10:54:58 -05:00
Loredana Crusoveanu
7ab2f437ee
Revert "BAEL-4134"
2020-07-07 14:18:10 +03:00
root
b2a0fcd76b
BAEL-4302 : How can I list all classes loaded in a specific class loader
2020-07-06 16:10:46 +00:00
Josh Cummings
a5f4340e19
Merge pull request #9595 from amit2103/JAVA-2019
...
Align module names, folder names and artifact id
2020-07-06 07:42:02 -06:00
amit.pandey
424fe87a4a
pom formatting - arrang tags as per standard order
2020-07-06 17:36:09 +05:30
Ali Dehghani
15f10601bc
Memory Address of Objects in Java
2020-07-06 12:06:26 +04:30
Eric Martin
960f1a578b
Merge pull request #9584 from alimate/BAEL-4295
...
BAEL-4295: When Does Java Throw the ExceptionInInitializerError?
2020-07-05 13:55:10 -05:00
Jordan Simpson
3d2f49d5d1
Merge remote-tracking branch 'origin/BAEL-4300' into BAEL-4300
2020-07-05 12:09:24 -05:00
Jordan Simpson
33152d2d68
Changed "More" to "Next" and added forward reference to core-java-lang-3
2020-07-05 12:09:12 -05:00
Jordan Simpson
980c18dd29
Delete .gitignore
2020-07-05 11:43:41 -05:00
Alex P. Baeldung
5017cb2dbd
feat: Convert an array of primitives to a List
2020-07-04 22:09:23 +02:00
Roque Santos
535c88153d
BAEL-4163 - Counting matches for a regex ( #9466 )
...
* BAEL-4163 - Counting matches for a regex
* BAEL-4163 - Fixing build problemns
* BAEL-4163 : Adding more test to assure quality of the examples
* BAEL-4163 : Fixing request changes
* BAEL-4163 : Minor adjustements to give more context about the commented out tests
* BAEL-4163 : Tests for overlap example
2020-07-04 10:29:58 +01:00
Eric Martin
1538dc248d
Merge pull request #9567 from alimate/BAEL-4275
...
BAEL-4275: The Stack-Walking API for Currently Executing Method
2020-07-02 11:54:51 -05:00
Ali Dehghani
40a70e44ac
Added the Java Agent Example
2020-07-02 14:26:40 +04:30
Ali Dehghani
5aa4950b33
Removing an Unused Import
2020-07-02 13:17:28 +04:30
Ali Dehghani
a222727c3e
Added the JOL Examples
2020-07-02 13:16:53 +04:30
Amy DeGregorio
d9e6fdf735
BAEL-4157 Examples ( #9596 )
2020-07-02 08:27:30 +02:00
luvarqpp
48cdcb20fb
Fix exception when receiving POISON_PILL
...
POISON_PILL is causing writing to closed client due to logic in code.
2020-07-01 15:39:19 +02:00
Jordan Simpson
762797c29d
Moved opening bracket up with class definition
2020-06-29 12:05:00 -05:00
rpvilao
885c9f456a
Merge pull request #9576 from developerDiv/macaddress
...
BAEL-4155 - MAC Address on Local Machine
2020-06-29 10:53:48 +02:00
Anshul BANSAL
875ecfc12b
BAEL-4175 - comparing version strings in java
2020-06-29 10:23:20 +03:00
developerDiv
80b55f35a5
Update test to be more specific
2020-06-28 21:28:10 +01:00
Eric Martin
19fd3a7510
Merge pull request #9574 from alimate/BAEL-4274
...
BAEL-4274: Default Serial Version UID
2020-06-28 10:30:14 -05:00
bfontana
bd36e63161
Merge pull request #9590 from alimate/BAEL-4310-2
...
BAEL-4310: Moved the Array Length Example to the new Module
2020-06-27 18:03:39 -03:00
amit.pandey
7ac0bd7ca7
Align module names, folder names and artifact id
2020-06-28 01:10:13 +05:30
kwoyke
96e48fed81
BAEL-4323: Rename getters to follow Java Beans convention ( #9569 )
2020-06-27 18:20:22 +02:00
kwoyke
ef41e8caa1
BAEL-4312: Add Java Stream example ( #9559 )
2020-06-27 18:05:37 +02:00
Ali Dehghani
b0a88534e5
Moved the Array Length Example to the new Module
2020-06-27 09:45:28 +04:30
Sampada
3b3013bfb0
BAEL-3977: Upgrade Guava modules/articles to newest Guava version ( #9587 )
...
* BAEL-3977: Upgrade Guava modules/articles to newest Guava version
* BAEL-3977: Guava version upgrade
2020-06-26 14:25:48 -07:00
davidmartinezbarua
be126034fa
Merge pull request #9570 from alimate/BAEL-4116-2
...
BAEL-4116: Moved the Memory Layout Codebase to a new Module
2020-06-26 16:57:32 -03:00
Jonathan Cook
5039fc7d71
Merge pull request #9463 from amy-regnier/master
...
Initial commit of code to accompany article on copying data from Inpu…
2020-06-26 13:22:33 +02:00
Josh Cummings
d7c98c56db
Merge pull request #9535 from amit2103/JAVA-1830
...
Java 1830
2020-06-25 19:39:28 -06:00
Eric Martin
7b0332e00c
Merge pull request #9529 from alimate/BAEL-4272
...
BAEL-4272: Reentrant Synchronized Blocks
2020-06-25 19:59:30 -05:00
Ali Dehghani
4ceb18d445
When Does Java Throw the ExceptionInInitializerError?
2020-06-26 04:08:27 +04:30
Jordan Simpson
85acab7915
Added code examples for BAEL-4300 article.
2020-06-25 15:16:48 -05:00
Loredana Crusoveanu
bf5c396967
Merge pull request #9568 from johnA1331/master
...
BAEL-25522 github-related test fix (results: 18.06.2020)
2020-06-25 14:30:49 +03:00
Ali Dehghani
672d6ed5d8
Fixed a typo
2020-06-25 13:32:33 +04:30
developerDiv
bb2060ee78
Move to java-core-networking-2
2020-06-24 22:07:48 +01:00
Ali Dehghani
1ff99dfea7
Default Serial Version UID
2020-06-24 21:55:56 +04:30
bfontana
184ea1c260
Merge pull request #9556 from alimate/BAEL-4310
...
BAEL-4310: Array Length Example
2020-06-24 11:43:59 -03:00
Ali Dehghani
9f224670a6
Fixed a typo
2020-06-24 15:21:53 +04:30
Ali Dehghani
4df44e18c5
Move the Memory Layout Codebase to a new Module
2020-06-24 15:19:35 +04:30
Gergo Petrik
ac6390da3b
Bal 4152 covariant return type ( #9561 )
...
* BAEL-4152: added covariant return type material
* BAEL-4152: covariant return type article related code is moved to another package
2020-06-23 23:16:17 -07:00
Ali Dehghani
d9f00b7004
The Stack-Walking API for Currently Executing Method
2020-06-24 02:14:24 +04:30
johnA1331
a0e9359cf7
Update README.md
2020-06-23 15:54:14 +08:00
Amy Regnier
0d66be29a7
Updates to resolve issues raised by Kevin Gilmore
2020-06-22 11:38:08 -05:00
Ali Dehghani
52c03a3a48
Array Length Example
2020-06-22 21:03:09 +04:30
davidmartinezbarua
1739280948
Merge pull request #9526 from alimate/BAEL-4116
...
BAEL-4116: Objects Memory Layout in Java
2020-06-22 13:08:16 -03:00
Loredana Crusoveanu
68316251df
Merge branch 'master' into master
2020-06-22 10:58:31 +03:00
Loredana Crusoveanu
e2987ffae9
Merge pull request #9537 from amit2103/JAVA-1746-2
...
Update repository links to use https
2020-06-21 20:05:18 +03:00
amit.pandey
c282780328
Update repository links to use https
2020-06-21 00:50:55 +05:30
amit.pandey
0ae152079e
extract version into properties tag & moved common properties in parent
2020-06-20 23:37:24 +05:30
amit.pandey
36f15adbd7
extract version into properties tag & moved common properties in parent
2020-06-20 23:32:32 +05:30
Mona Mohamadinia
e036a1adeb
Added Code Samples ( #9498 )
2020-06-20 17:35:51 +01:00
Ali Dehghani
56c231c662
Added the Code Samples
2020-06-20 13:50:49 +04:30
Ali Dehghani
4b90f42892
Objects Memory Layout in Java
2020-06-19 23:54:50 +04:30
Carlos Grappa
5ad558c800
BAEL-4154 IOException Too many open files ( #9511 )
...
* BAEL-4154 IOException Too many open files
* Add comment to explain GC dependency
Co-authored-by: Carlos Grappa <carlos.grappa@mercadolibre.com>
2020-06-18 20:04:32 -07:00
Eric Martin
2457413be1
Merge pull request #9376 from maryarm/BAEL-3287
...
BAEL-3287
2020-06-18 17:35:54 -05:00
Jonathan Cook
6135445a29
Merge pull request #9361 from JonCook/master
...
BAEL-3912 - Java: Get week number from any date?
2020-06-18 15:18:03 +02:00
johnA1331
f41f744adf
Update README.md
2020-06-18 15:15:20 +08:00
johnA1331
e201c58f27
Update README.md
2020-06-18 15:06:30 +08:00
johnA1331
743ec9ed60
Update README.md
2020-06-18 15:00:22 +08:00
johnA1331
f4ddd8907e
Update README.md
2020-06-18 14:59:59 +08:00
johnA1331
5a68ce5100
Update README.md
2020-06-18 14:59:17 +08:00
johnA1331
51eea910b4
Update README.md
2020-06-18 14:33:44 +08:00
johnA1331
23f36e5dd2
Update README.md
2020-06-18 13:43:43 +08:00
johnA1331
8cc41206dd
Update README.md
2020-06-18 13:26:55 +08:00
johnA1331
8d9f67faec
Update README.md
2020-06-18 13:24:36 +08:00
johnA1331
8524b12bc3
Update README.md
2020-06-18 12:40:30 +08:00
Amy Regnier
87cc504e9e
fix method names
2020-06-17 09:10:52 -05:00
Eric Martin
1d5b0c7759
Merge pull request #9464 from alimate/BAEL-4146
...
BAEL-4146: How Much Space boolean and boolean[] consumes?
2020-06-15 20:59:24 -05:00
Ali Dehghani
56d186f031
Added the Boolean Object Size Samples
2020-06-15 20:50:30 +04:30
Carlos Grappa
dc12579dde
BAEL-4154 IOException Too many open files ( #9501 )
...
Co-authored-by: Carlos Grappa <carlos.grappa@mercadolibre.com>
2020-06-15 08:01:20 -07:00
Eric Martin
0710026838
Merge pull request #9468 from johnA1331/master
...
BAEL-24876 - github-related test fix (results: 03.06.2020)
2020-06-14 12:03:57 -05:00
Jonathan Cook
9c9064cdb3
BAEL-3912 - Java: Get week number from any date?
2020-06-14 10:44:59 +02:00
Jonathan Cook
754e7f3d49
Merge branch 'master' of https://github.com/eugenp/tutorials
2020-06-14 10:20:41 +02:00
Loredana Crusoveanu
3dff206800
Merge branch 'master' into BAEL-4158
2020-06-14 09:57:03 +03:00
johnA1331
5ba1cd0b0f
Merge branch 'master' into master
2020-06-14 10:42:24 +08:00
maryarm
220faee2b0
BAEL-3287: Move implementations to test folder
2020-06-12 19:32:50 +04:30
Jonathan Cook
9b61ba29e6
Merge branch 'master' of https://github.com/eugenp/tutorials
2020-06-12 07:23:24 +02:00
Eric Martin
0d9e691fe4
Merge pull request #9428 from SmartyAnsh/BAEL-View_Bytecode_of_a_Class_File_in_Java
...
BAEL-4049 View bytecode of a class file in java
2020-06-11 21:15:24 -05:00
rpvilao
d68d458763
Merge pull request #9451 from ricardomoreirab/master
...
[BAEL-4136] What is this: [Ljava.lang.Object;?
2020-06-11 11:37:40 +02:00
Anshul BANSAL
5d9b41411d
bcel version updated
2020-06-11 07:34:34 +03:00
sampadawagde
b90191c5bc
JAVA-622: readme changes, moved all enum articles to
...
core-java-lang-oop-types
2020-06-10 19:17:01 +05:30
sampadawagde
da319363e8
JAVA-622: Move from core-java-lang-syntax to core-java-lang-oop-types
2020-06-10 19:16:13 +05:30
sampadawagde
265bfbfe10
JAVA-622: Moved code from core-java-lang to core-java-lang-oop-types
2020-06-10 19:14:45 +05:30
Ricardo Caldas
e2fb716010
change method names, move package
2020-06-10 08:03:34 -03:00
Loredana Crusoveanu
0f2212533a
Merge pull request #9449 from Maiklins/JAVA-1749-update-UUID-article-and-code
...
Java-1749 update UUID article and code
2020-06-09 19:10:48 +03:00
Josh Cummings
bf4e7f7c9e
Merge pull request #9452 from Maiklins/JAVA-1522-split-core-java-modules-core-java
...
Java-1522 split core java modules core java
2020-06-09 07:17:05 -06:00
johnA1331
a284c1d928
Update README.md
2020-06-09 21:00:17 +08:00
johnA1331
fa82022c6d
Update README.md
2020-06-09 19:25:11 +08:00
johnA1331
1740f82328
Update README.md
2020-06-09 18:43:51 +08:00
johnA1331
9ff6e10078
Update README.md
2020-06-09 18:36:46 +08:00
johnA1331
9a9c492353
Update README.md
2020-06-09 18:31:13 +08:00
johnA1331
bff1a57fb9
Update README.md
2020-06-09 17:53:12 +08:00
Josh Cummings
9184c56423
Merge pull request #9453 from amit2103/JAVA-1833
...
pom formatting - make artifact name same as module name
2020-06-08 22:42:01 -06:00
Josh Cummings
8e15c570dc
Merge pull request #9244 from pegeroad/ABA_problem
...
ABA problem in concurrency
2020-06-08 13:38:31 -06:00
Loredana Crusoveanu
10c4ebad08
Merge pull request #9282 from albanoj2/BAEL-3951
...
BAEL 3951: Corrected a misspelling in the static variable name
2020-06-08 20:06:00 +03:00
Ricardo Caldas
78d3c27e1f
Code indentation fix
2020-06-08 12:21:05 -03:00
Amy Regnier
d63c0834da
Initial commit of code to accompany article on copying data from InputStream to OutputStream
2020-06-08 09:50:40 -05:00
Ricardo Caldas
051ed8f035
Code indentation fix
2020-06-08 08:49:36 -03:00
mikr
7b8b9390c7
JAVA-1522 Fix integration test for encoding package (2)
2020-06-07 21:46:55 +02:00
mikr
fdcf192cbe
JAVA-1522 Fix integration test for encoding package
2020-06-07 18:17:43 +02:00
Eric Martin
024874d9c8
Merge pull request #9423 from alimate/BAEL-4147
...
BAEL-4147: Introducing Integer Cache
2020-06-07 11:16:44 -05:00
Eric Martin
d0c9ad62ea
Merge pull request #9427 from alimate/BAEL-4153
...
BAEL-4153: Polluting the Heap
2020-06-07 11:08:00 -05:00
Eric Martin
3cfd36bbb1
Merge pull request #9420 from alimate/BAEL-4160
...
BAEL-4160: Class.newInstance() is deprecated
2020-06-07 10:57:10 -05:00
amit.pandey
4fa2ffb229
pom formatting - make artifact name same as module name
2020-06-07 20:28:16 +05:30
mikr
5a753ba384
JAVA-1522 Split core-java-modules/core-java module
2020-06-07 16:52:25 +02:00
Ricardo Caldas
978a32d0a2
[BAEL-4136] What is this: [Ljava.lang.Object;?
...
Code article
2020-06-07 10:00:48 -03:00
mikr
46ebcba3a0
JAVA-1749 Move modules language interop and console
2020-06-07 13:22:16 +02:00
mikr
6f21d2eb74
JAVA-1749 Update UUID article and code
2020-06-07 12:13:32 +02:00
Eric Martin
d5c8ebe760
Merge pull request #9405 from alimate/BAEL-4128
...
BAEL-4128: Adapting the VarHandle Code to Best Practices
2020-06-05 22:50:57 -05:00
Josh Cummings
01b5d087f6
Merge pull request #9391 from pegeroad/BAEL-3856-aba-related-improvements
...
using accessors for balance and stamp
2020-06-05 11:34:11 -06:00
Anshul BANSAL
bc40ab12d7
BAEL-4049 - indentation
2020-06-03 12:46:28 +03:00
Anshul BANSAL
b9105d7891
BAEL-4049 - indentation fix
2020-06-03 12:44:22 +03:00
Ali Dehghani
829140d488
Polluting the Heap
2020-06-03 14:10:58 +04:30
Anshul BANSAL
a2b1be69fe
BAEL-4049 - indentation fix
2020-06-03 12:40:32 +03:00
Anshul BANSAL
8623df615b
BAEL-4049 - removed cglib
2020-06-03 12:36:24 +03:00
Greg
b8b361c2e4
Merge pull request #9345 from musibs/BAEL-4064
...
BAEL 4064 Out of Memory Error
2020-06-02 15:41:09 -04:00
Ali Dehghani
b07bcce7ef
Introducing Integer Cache
2020-06-02 22:03:54 +04:30
Ali Dehghani
be292ec3f2
Avoid Using newInstance on Class<?>
2020-06-02 21:32:45 +04:30
Ali Dehghani
756f70b29f
Rename the Class
2020-06-02 21:09:48 +04:30
Ali Dehghani
5b7dde1ae8
Adapting the VarHandle Code to Best Practices
2020-06-02 21:09:43 +04:30
musibs
6c6dbd6e96
Removed the long running test case
2020-06-02 18:13:56 +05:30
musibs
4998662d45
Moved the testcase to core-java-jvm module
2020-06-02 17:58:52 +05:30
Anshul BANSAL
6d1ecdd735
BAEL-4049 - view bytecode of a class file in java
2020-06-02 10:07:54 +03:00
Mona Mohamadinia
0828e8c3cd
Added the Binary Examples
2020-06-02 04:41:34 +04:30
Josh Cummings
4f44c5db6c
Merge pull request #9410 from eugenp/bael-3067
...
Update README.md
2020-06-01 09:51:33 -06:00
Josh Cummings
1627873f88
Update README.md
...
Issue BAEL-3494
2020-06-01 09:41:50 -06:00
Josh Cummings
ef13de2061
Update README.md
...
Issue BAEL-3067
2020-06-01 09:38:52 -06:00
Josh Cummings
bc6c7238d7
Merge pull request #9356 from earth001/BAEL-3494b
...
Bael 3494b
2020-06-01 07:51:31 -06:00
Juan Moreno
ec34dde27b
FIX Package Name
2020-06-01 09:06:57 -03:00
maryarm
a1f8f90bd8
BAEL-3287: rename the package to apply review note
2020-06-01 00:22:31 +04:30
Josh Cummings
14ece4c049
Merge pull request #9350 from vikasrajput6035/BAEL-3067
...
BAEL-3067: Article - Convert BufferedReader to JSONObject - Completed
2020-05-30 19:52:06 -06:00
Gergo Petrik
1a44c81de4
using accessors for balance and stamp
2020-05-29 16:04:02 +02:00
Jonathan Cook
4505e5c240
Merge branch 'master' of https://github.com/eugenp/tutorials
2020-05-29 09:52:21 +02:00
vatsalgosar
6cd7bfba80
BAEL-3987 ( #9139 )
...
* BAEL-3987 - Cast an int to an enum value
* refactoring
* code refactored
* BAEL-3987 - Updated code snippets
* bAEL-3987 - Fixed indentation
2020-05-28 17:37:23 +01:00
maryarm
1fd16afaca
BAEL-3287
...
Code examples for "The Difference between RxJava API and the Java 9 Flow API"
2020-05-27 18:39:23 +04:30
Michael Angstadt
388f03ae9a
Use ServiceLoader class to obtain service instance
...
In the "main-app" module, the `HelloInterface` service instance, `HelloModules`, was just being treated like an ordinary class that was exported from the "hello.modules" module. The code was not treating the class as a service class. This is not a good example of how services are used.
This commit makes use of the `ServiceLoader` class, which provides access to the `HelloInterface` instance as defined in the "hello.modules" module. This serves as a better example for how services are used.
2020-05-26 15:46:28 -04:00
Vikas Ramsingh Rajput
11d0ab1b49
BAEL-3067: Changed method name and added latest maven dependency of org.json
2020-05-26 12:59:40 +03:00
Jonathan Cook
74acf44f1b
Merge branch 'master' of https://github.com/eugenp/tutorials
2020-05-25 23:08:52 +02:00
Jonathan Cook
aa6d896b11
BAEL-3912 - Java: Get week number from any date?
2020-05-25 23:08:23 +02:00
rpvilao
cbe5207db2
Merge pull request #9336 from alimate/BAEL-4054
...
BAEL-4054: Super Type Token
2020-05-25 17:27:36 +02:00
François Dupire
2bdba48843
[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
Juan Moreno
102a487aaa
FIX PMD bugs, dependency missing, compilation incubator features, fix awaitility asserts
2020-05-25 02:09:21 -03:00
Juan Moreno
17d2a2f052
FEAT Added sample code for BAEL-3494
2020-05-25 01:43:34 -03:00
musibs
ce8d289cd9
Moved the testcase to core-java-lang-2 module
2020-05-25 09:45:10 +05:30
Vikas Ramsingh Rajput
05a4d4e188
BAEL-3067: Article - Convert BufferedReader to JSONObject - Completed
2020-05-24 10:33:17 +03:00
Josh Cummings
d5a03e4c03
Update README.md
...
Issue CS-144
2020-05-23 08:26:13 -06:00
musibs
020fcd9229
BAEL 4064 Out of Memory Error
2020-05-23 15:23:26 +05:30
Ali Dehghani
92c446ce4c
Adding Super Type Token
2020-05-21 21:25:37 +04:30
dupirefr
a990d57407
[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
24a88c11ac
[BAEL-3981] Moved inner classes to upper level
2020-05-20 23:31:13 +02:00
dupirefr
dbdb32da46
[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
f1be6fa3ae
Update ExchangerPipeLineManualTest.java ( #9326 )
2020-05-20 07:54:02 +02:00
Roland Weisleder
c119a51ff9
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
73762873f6
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
dc6f778bfe
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
Gergo Petrik
c9453fe33a
adding account unit test
2020-05-18 16:33:03 +02:00
Gergo Petrik
12ef94be39
added revision number and cas failure count
2020-05-17 10:07:47 +02:00
Gergo Petrik
fd32bd2f4d
Merge branch 'master' of https://github.com/eugenp/tutorials into ABA_problem
2020-05-17 08:21:35 +02:00
kwoyke
b707c20297
BAEL-4042: Add new test case using BufferedReader.lines method ( #9288 )
2020-05-15 22:26:41 +02:00
Dhrubajyoti Bhattacharjee
bccc9c836e
BAEL-3858 Java Exchanger introduction ( #9000 )
2020-05-15 22:17:08 +02:00
Greg
821ed435f1
Merge pull request #9251 from markathomas/BAEL-3974
...
BAEL-3974 - spatialguru.net@gmail.com
2020-05-15 13:36:22 -04:00
Loredana Crusoveanu
b45a712f6a
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
fa6e7a73b3
Merge pull request #8894 from nachoverdu/BAEL-3912
...
BAEL-3912: Changes done
2020-05-14 15:28:21 +02:00
Justin Albano
542852f569
Merge branch 'master' into BAEL-3951
2020-05-14 09:05:51 -04:00
Justin Albano
48d1c94dc0
BAEL-3951: Corrected misspelling.
2020-05-13 06:06:58 -04:00
johnA1331
3a1fa055d2
Update README.md
2020-05-12 17:10:13 +08:00
johnA1331
32925d61c3
Update README.md
2020-05-12 17:06:47 +08:00
johnA1331
4cd668aa49
Update README.md
2020-05-12 15:15:53 +08:00
Justin Albano
9d2e94f529
BAEL-3951: Added JDK 14 record example and associated tests. ( #9270 )
2020-05-11 08:47:04 -07:00
Somnath Musib
5c90dbc963
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
Justin Albano
69c50660de
BAEL-3951: Added JDK 14 record example and associated tests.
2020-05-10 09:47:28 -04:00
Jonathan Cook
f7d9de0961
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
58d893cf6e
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
57a3896763
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
f1dde2936b
JAVA-618 Move code for 3 articles from core-java-exceptions to core-java-exceptions-2
2020-05-08 23:12:36 +02:00
Gergo Petrik
68dc88528e
added transaction recording
2020-05-07 11:45:40 +02:00
mthomas
355cce7cc7
BAEL-3974 - Put imports back in place
2020-05-06 02:56:12 -05:00
mthomas
0774d2f238
BAEL-3974 - Add unit test for streaming Base64 encoding
2020-05-05 22:38:52 -05:00
johnA1331
48525264a0
Update README.md
2020-05-05 16:57:15 +08:00
johnA1331
44c7cecd65
Update README.md
2020-05-05 16:53:27 +08:00
johnA1331
66832ae37e
Update README.md
2020-05-05 16:51:28 +08:00
johnA1331
0167480f88
Update README.md
2020-05-05 09:21:38 +08:00
Gergo Petrik
a6fc46e3f6
ABA problem in concurrency
2020-05-04 16:40:20 +02:00
dupirefr
04ac803704
[JAVA-621] Fixed core-java-lang-oop-inheritance module description
2020-05-03 19:42:17 +02:00
sergio41
dbb4a85c10
[BAEL-3944] Negative test cases
2020-05-03 16:44:14 +02:00
Josh Cummings
df332afd65
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
9797d3a4fc
Bael-3966: code fixes after editor review ( #9203 )
2020-05-01 21:35:29 +02:00
dupirefr
ed27094b5b
[JAVA-621] Got last compilation error
2020-05-01 20:56:43 +02:00
sergio41
5a73101deb
[BAEL-3944] Identation
2020-04-30 19:09:11 +02:00
sergio41
23bc2db643
[BAEL-3944] Minor changes on examples and identations
2020-04-30 18:44:05 +02:00
Kamlesh Kumar
89da31cbce
BAEL-3837: Java Deadlock and Livelock ( #8943 )
2020-04-30 07:18:30 -05:00
Josh Cummings
9ae7596d5e
Merge pull request #9201 from Maiklins/JAVA-618
...
Java-618 Restore missing code snippets
2020-04-29 12:56:28 -06:00
mikr
95a29d7e0b
Java-618 Fix build failure (2)
2020-04-29 10:24:20 +02:00
dupirefr
da22d7a839
[JAVA-621] Fixed package and import
2020-04-29 10:14:43 +02:00
mikr
666ca1ac69
Java-618 Fix build failure
2020-04-29 10:13:58 +02:00
dupirefr
f01f9f9d86
[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
e7cd7da8b8
Java-618 Restore RootCauseFinder code (move classes to core-java-modules)
2020-04-28 23:37:45 +02:00
Marcos Lopez Gonzalez
cdd14b23f7
AgeCalculator changes
2020-04-28 22:56:25 +02:00
Marcos Lopez Gonzalez
c59d9dbf8f
changed example for finder of root cause exception
2020-04-28 22:55:30 +02:00
Marcos Lopez Gonzalez
c223b669be
root cause finder
2020-04-28 22:15:39 +02:00
mikr
9e83dbbc85
JAVA-618 Restore code for Global Exception Handler
2020-04-28 22:12:00 +02:00
dupirefr
aa7daf7901
[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
Mrudav Shukla
f56bf16d11
BAEL-1921 - added example code and unit test for GlobalExceptionHandler ( #4646 )
...
* added example code and unit test for GlobalExceptionHandler
* Code for common exceptions
2020-04-28 10:35:11 +02:00
dupirefr
4f75f2d5b0
[JAVA-621] Ensuring each article has its own package
...
* Putting test classes directly under abstractclasses package (no need
for test subpackage, we're already in test sources)
* Removed unnecessary keyword package to just let superkeyword
* Renamed scope package to variableandmethodhiding
* Renamed package basicmethods into methods
* Putting test classes directly under methodoverloadingoverriding package (no need for test subpackage, we're already in test sources)
* Moved publicmodifier package under com.baeldung as it contains code from a separate article
* Moved privatemodifier under com.baeldung as it was under an unnecessary core package
* Renamed staticdemo package into staticmodifier (was more adequate with other modifiers articles)
* Putting test classes directly under defaultstaticinterfacemethods package (no need for test subpackage, we're already in test sources)
* Moved thiskeyword package to com.baeldung instead of under keywords package
2020-04-28 08:02:18 +02:00
dupirefr
c02e57fe7e
[JAVA-621] Fixes due to minor article changes
...
* Renamed KeywordUnitTest to Keyword as it's the chosen name for the
article now
2020-04-28 08:02:15 +02:00
dupirefr
b117f4ccd6
[JAVA-621] Flattened modules hierarchy
2020-04-28 08:02:13 +02:00
dupirefr
fc303de35f
[JAVA-621] Obsolete modules deletion
...
* Delete core-java-lang-oop module (remaining code
was duplicate of core-java-lang-syntax where it really belonged)
* Moved code from https://www.baeldung.com/java-eclipse-equals-and-hashcode to core-java-lang where it belong
* Delete core-java-lang-oop-2 module
* Delete core-java-lang-oop-3 module
* Delete core-java-lang-oop-4 module
2020-04-28 08:02:09 +02:00
dupirefr
f6d3dc711f
[JAVA-621] core-java-lang-oop-others module
...
* Creation
* Moved code from www.baeldung.com/java-static-dynamic-binding
* Recreated code for https://www.baeldung.com/java-oop as none was
matching anymore
* Moved code from https://www.baeldung.com/java-pass-by-value-or-pass-by-reference
* Moved article references to the new README.md
2020-04-28 08:02:06 +02:00
dupirefr
b1e507d44c
[JAVA-621] core-java-lang-oop-methods module
...
* Creation
* Moved code from https://www.baeldung.com/java-equals-hashcode-contracts
* Moved code from www.baeldung.com/java-hashcode
* Moved code from https://www.baeldung.com/java-method-overload-override
* Moved code from www.baeldung.com/java-methods
* Moved article references to the new README.md
2020-04-28 08:02:03 +02:00
dupirefr
654de59bbf
[JAVA-621] core-java-lang-oop-inheritance module
...
* Creation
* Moved code from https://www.baeldung.com/java-anonymous-classes
* Moved code from www.baeldung.com/java-polymorphism
* Moved code from www.baeldung.com/java-inheritance
* Moved code from www.baeldung.com/java-variable-method-hiding
* Moved code from https://www.baeldung.com/java-type-casting
* Moved code from https://www.baeldung.com/java-super
* Moved code from www.baeldung.com/java-interfaces
* Moved code from www.baeldung.com/java-abstract-class
* Moved code from www.baeldung.com/java-inner-interfaces
* Moved article references to the new README.md
2020-04-28 08:02:00 +02:00
dupirefr
a6846bb1ca
[JAVA-621] core-java-lang-oop-types module
...
* Creation
* Moved code from https://www.baeldung.com/java-marker-interfaces
* Moved code from https://www.baeldung.com/java-abstract-class
* Moved code from https://www.baeldung.com/java-this
* Moved code from https://www.baeldung.com/java-nested-classes
* Moved code from https://www.baeldung.com/java-inner-interfaces
* Moved code from https://www.baeldung.com/java-classes-objects
* Moved article references to the new README.md
2020-04-28 08:01:57 +02:00
dupirefr
1ddd56978b
[JAVA-621] core-java-lang-oop-modifiers module
...
* Creation
* Moved code from https://www.baeldung.com/java-static
* Moved code from https://www.baeldung.com/java-final
* Moved code from https://www.baeldung.com/java-public-keyword
* Moved code from https://www.baeldung.com/java-access-modifiers
* Moved code from https://www.baeldung.com/java-private-keyword
* Moved code from https://www.baeldung.com/java-static-default-methods
* Moved code from https://www.baeldung.com/java-strictfp
* Moved article references to the new README.md
2020-04-28 08:01:55 +02:00
dupirefr
f23c60568c
[JAVA-621] core-java-lang-oop-generics module
...
* Creation
* Moved code from https://www.baeldung.com/raw-types-java
* Moved code from https://www.baeldung.com/java-generic-constructors
* Moved code from https://www.baeldung.com/java-type-erasure
* Moved article references to the new README.md
2020-04-28 08:01:52 +02:00
dupirefr
c0169519ad
[JAVA-621] core-java-lang-oop-patterns module
...
* Creation
* Moved code from https://www.baeldung.com/java-composition-aggregation-association
* Moved code from https://www.baeldung.com/java-inheritance-composition
* Moved code from https://www.baeldung.com/java-immutable-object
* Moved code from https://www.baeldung.com/java-deep-copy
* Moved article references to the new README.md
2020-04-28 08:01:49 +02:00
dupirefr
117cb9ce46
[JAVA-621] core-java-lang-oop-constructors module
...
* Creation
* Moved code from https://www.baeldung.com/java-constructors
* Moved code from https://www.baeldung.com/java-copy-constructor
* Moved code from https://www.baeldung.com/java-cannot-reference-x-before-supertype-constructor-error
* Moved article references to the new README.md
2020-04-28 08:01:46 +02:00
dupirefr
e25ce92d5e
[JAVA-621] Creating core-java-lang-oop-modules module
2020-04-28 08:01:44 +02:00
dupirefr
41a9f46cad
[JAVA-616] Fixed link to article by using HTTPS
2020-04-28 07:50:03 +02:00
Loredana Crusoveanu
6ebce06882
Merge pull request #9197 from glmartin/master
...
Helpful NullPointerException package move
2020-04-28 08:40:54 +03:00
Kumar Chandrakant
57519b9dae
Testing multithreading ( #9193 )
2020-04-28 06:18:00 +02:00
Josh Cummings
70781cfeb1
Merge pull request #9143 from amit2103/JAVA-1273-1
...
update pom version from RC to GA
2020-04-27 17:18:17 -06:00
Greg Martin
71fb667478
Moved the HelpfulNullPointerException code to the npe package.
...
Merge remote-tracking branch 'upstream/master'
2020-04-27 18:47:18 -04:00
Aaron Juarez
ee898632d3
BAEL-3966: find object's class in Java ( #9118 )
2020-04-25 22:23:13 +02:00
sergio41
a73fb8483a
[BAEL-3944] Package move
2020-04-25 14:19:28 +02:00
KevinGilmore
d090c9b059
BAEL-2893 BAEL-3927 update README files ( #9171 )
...
* BAEL-3336 BAEL-3058 add links
* BAEL-3319: add link
* BAEL-3284: add link
* BAEL-3198: add link to article
* BAEL-3479: add link to article
* BAEL-3485: add article link
* SCALA-38: move to new package and add link back to article
* SCALA-38: add imports back into unit test
* BAEL-3908: add link back to article
* BAEL-2893 BAEL-3927 add link back to article
2020-04-24 22:28:04 -05:00
Roque Santos
35f1a3eba5
BAEL-3927 : Encode a String to UTF-8 in Java ( #8954 )
...
* BAEL-3927 : Encode a String to UTF-8 in Java
* Update core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/encode/StringEncodeUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
* BAEL-3927 : Applying suggested adjustments
* BAEL-3927 : Simplifying the code snippets
* BAEL-3927 : Coding styles adjustements
* BAEL-3927 : Test adjustements to fit changes in article
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-04-24 09:10:44 -05:00
sergio41
953b8d4640
[BAEL-3944] Real like phone numbers
2020-04-24 13:07:05 +02:00
sergio41
5bb2977eb0
[BAEL-3944] Move to a separate test class and fix other issues
2020-04-24 13:03:41 +02:00
Eric Martin
ed8bdf0cb5
Merge pull request #9158 from johnA1331/master
...
github-related test fix - BAEL-23872
2020-04-23 19:34:01 -05:00
Josh Cummings
fdec685ad4
Merge pull request #9071 from dupirefr/team/JAVA-616-split_core_java_arrays
...
[JAVA-616] Split core-java-arrays* modules
2020-04-22 09:54:10 -06:00
johnA1331
e9450dacbb
Update README.md
2020-04-21 14:11:41 +08:00
sergio41
3233f80c5b
[BAEL-3944] Code Upload
2020-04-19 22:37:21 +02:00
Jonathan Cook
8da4206dc4
Merge pull request #8978 from markathomas/BAEL-3860
...
BAEL-3860 - spatialguru.net@gmail.com
2020-04-19 14:46:49 +02:00
amit.pandey
95578f92ea
update pom version from RC to GA
2020-04-19 18:09:24 +05:30
Josh Cummings
8a4c2d112e
Merge pull request #9105 from Maiklins/JAVA-617
...
Java-617
2020-04-18 23:09:49 -06:00
Josh Cummings
43c715d949
Merge pull request #9133 from amit2103/JAVA-1278-1
...
Java 1278 1
2020-04-18 22:58:12 -06:00
amit.pandey
0f851a1d84
update source code to sync with article
2020-04-18 20:57:13 +05:30
mikr
744d2b5733
JAVA-617 Rename core-java-datetime-java8 to core-java-8-datetime
2020-04-18 14:22:10 +02:00
dupirefr
40fb82606a
[JAVA-616] Reworded operations modules descriptions
2020-04-17 21:05:33 +02:00
dupirefr
91922d6553
[JAVA-616] Cleaning code
...
* Removed core-java-arrays* modules
* Updated core-java-module/pom.xml
2020-04-17 21:01:18 +02:00
dupirefr
50530b81b4
[JAVA-616] core-java-arrays-operations-advanced
...
* Creation
* Moved code from https://www.baeldung.com/java-array-copy
* Moved code from https://www.baeldung.com/java-arrays-deepequals
* Moved code from https://www.baeldung.com/java-array-sum-average
* Moved code from https://www.baeldung.com/java-array-intersection
2020-04-17 21:01:16 +02:00
dupirefr
e36771a763
[JAVA-616] core-java-arrays-operations-basic
...
* Creation
* Moved code from https://www.baeldung.com/java-initialize-array
* Moved code from https://www.baeldung.com/java-common-array-operations
* Moved code from
https://www.baeldung.com/java-add-element-to-array-vs-list
* Moved code from https://www.baeldung.com/java-array-contains-value
* Moved code from https://www.baeldung.com/java-array-remove-element
* Moved code from https://www.baeldung.com/java-array-remove-first-element
* Moved code from https://www.baeldung.com/java-array-add-element-at-the-end
2020-04-17 21:01:13 +02:00