Commit Graph

1347 Commits

Author SHA1 Message Date
johnA1331 e23aaae534 Update README.md 2021-04-14 23:40:01 +08:00
Loredana Crusoveanu 70f1967c28 Merge pull request #10654 from Maiklins/JAVA-4583-Fix_failing_tests_in_the_tutorials-default-jdk9-and-above_job
Java 4583 fix failing tests in the tutorials default jdk9 and above job
2021-04-14 13:52:34 +03:00
mikr d788363e65 JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-13 15:45:01 +02:00
Joyal K Augustine 45b8a5d399 BAEL-4199 : package-info-java (#10637)
* BAEL-4199 : package-info-java

* BAEL-4199: Removing entry from readme

* BAEL-4199: Addressing review comments
2021-04-12 22:21:20 -05:00
Eric Martin 7416e437fc Merge pull request #10629 from SmartyAnsh/BAEL-4786_NIO_DatagramChannel
BAEL-4786 - DatagramChannel
2021-04-11 08:35:15 -05:00
mdhtr d52775ff98 Add examples 2021-04-10 15:17:31 +02:00
freelansam 60b6c6e6b6 Merge branch 'master' into JAVA-3576 2021-04-10 16:21:13 +05:30
mdhtr daea725097 Create new module 2021-04-09 11:31:49 +02:00
Anshul BANSAL d7577d2601 BAEL-4786 - review comments - removed close method 2021-04-07 13:20:24 +03:00
Willian Oizumi b37e11f2cb code samples for issue BAEL-4877 2021-04-05 16:54:01 -03:00
Anshul BANSAL 93487b6c61 BAEL-4786 - DatagramChannel - review fix 2021-04-05 06:14:08 +03:00
sampadawagde 7cbf13db95 JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
Krzysztof Woyke 63e5a2dad0 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
Krzysztof Woyke 429108b62b JAVA-3578: Fix README.md files 2021-04-01 20:01:45 +02:00
Loredana Crusoveanu 53eedb7ad5 Merge pull request #10614 from kwoyke/JAVA-3578
JAVA-3578: Sub-modules cleanup (pom.xml)
2021-04-01 18:46:22 +03:00
Loredana Crusoveanu 2860ccbf64 Merge pull request #10613 from johnA1331/master
BAEL-33794 - add links to github-baeldung articles
2021-04-01 18:29:28 +03:00
Krzysztof Majewski 9706d7b6fd Bael 4485 (#10612)
* BAEL-4485 RSA in Java

* BAEL-4485 RSA in Java

* BAEL-4485 RSA in Java

Co-authored-by: majewsk6 <krzysztof.majewski.km1@contractors.roche.com>
2021-03-31 13:52:31 -07:00
johnA1331 ce0b69e6fa Update README.md 2021-04-01 00:25:10 +08:00
johnA1331 3693d2ea0b Update README.md 2021-04-01 00:16:07 +08:00
Krzysztof Woyke f0dd323c50 JAVA-3578: Verify sub-modules - core-java-modules 2021-03-30 20:55:52 +02:00
Krzysztof Woyke 0ae1bfedde JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
Krzysztof Woyke 089da70fb0 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Loredana Crusoveanu d3317c4963 Merge pull request #10584 from kwoyke/JAVA-3295
JAVA-3295: POM Properties Cleanup
2021-03-29 14:57:35 +03:00
Loredana Crusoveanu 4879da3f3c Merge pull request #10576 from kwoyke/JAVA-3595
JAVA-3595: Upgrade jmh-core and jmh-generator dependencies in the main pom.xml
2021-03-29 14:37:34 +03:00
Eric Martin 90f71a5d5b Merge pull request #10551 from SmartyAnsh/BAEL-4790_Collection_vs_Stream
BAEL-4790 - Stream vs Collection
2021-03-25 20:30:30 -05:00
unknown 60af7e8443 BAEL-4702 Refactoring 2021-03-26 03:51:41 +05:30
unknown 4bb429ef5b BAEL-4702 Refactoring 2021-03-24 17:24:52 +05:30
unknown d954c180e5 BAEL-4702 Added code snippet for System.lineSeparator() method 2021-03-24 17:22:44 +05:30
Krzysztof Woyke df93a6b9e6 JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
Ashley Frieze 99bb67a413 BAEL-4583-Generic-arrays-streams 2021-03-23 09:17:57 +00:00
Krzysztof Woyke df68287728 JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
MeenaGawande ce9f112ed6 [BAEL-4208]java compiled classes contain dollar signs (#10573)
Updated Anonymous classes methods

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-03-21 18:43:22 +01:00
Anshul BANSAL 7078630760 BAEL-4790 - collection vs stream 2021-03-21 10:35:34 +02:00
kwoyke ce2e455d58 JAVA-3594: Upgrade esapi dependency in the main pom.xml (#10572)
* JAVA-3594: Upgrade esapi version in the main pom.xml

* JAVA-3594: Remove overriden esapi.version from the core-java-jvm

* JAVA-3594: Use esapi.version property instead of the hardcoded version in spring-5-security

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-03-19 22:39:41 +05:30
johnA1331 a550caa25c Update README.md 2021-03-17 23:05:02 +08:00
Eric Martin 74aebe1a62 Merge pull request #10542 from sk1418/threadPool
shutdown the pool
2021-03-13 14:00:26 -06:00
Eric Martin 14aac09d18 Merge pull request #10509 from dstr89/feature/BAEL-4618-final-performance
Feature/bael 4618 final performance
2021-03-13 08:49:59 -06:00
kwoyke 639ac629cd BAEL-4835: Initialize test data (#10548) 2021-03-12 16:34:29 +01:00
Anshul BANSAL 9928946793 BAEL-4790_examples 2021-03-11 21:39:09 +02:00
Daniel Strmecki 4e88e662f6 BASE-4618: Use space 2021-03-11 11:28:49 +01:00
Loredana Crusoveanu c9bc95a5e2 Merge pull request #10546 from johnA1331/master
BAEL-32619 - add links to github-baeldung articles
2021-03-11 10:04:18 +02:00
MeenaGawande 13970d355b [BAEL-4208] Java compiled classes contain dollar signs (#10533)
Java class file naming conventions

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-03-11 07:44:57 +01:00
johnA1331 8c86197317 Update README.md 2021-03-10 21:14:40 +08:00
Kent@lhind.hp.g5 8a11b92f46 shutdown the pool 2021-03-08 22:09:23 +01:00
mdhtr fc5d08d3f6 BAEL-3938: Add new section on Java 10 Collectors.toUnmodifiableList() (#10488)
* Add java10 examples in the style of the existing examples

The existing examples in core-java-streams-2 module still had system out in them instead of assertions, so I kept that style to keep the article consistent.

* Remove code example that is not in the article
2021-03-07 22:51:30 +00:00
Daniel Strmecki c8b3ecbd36 BASE-4618: Use JMH benchmark tool 2021-03-06 10:00:01 +01:00
Daniel Strmecki f0ee9ddf02 BASE-4618: Add new module 2021-03-06 09:02:04 +01:00
Loredana Crusoveanu ab0cef67fb Merge pull request #10540 from johnA1331/master
BAEL-32618 - add links to github-baeldung articles
2021-03-04 16:57:19 +02:00
kwoyke 33dd080745 BAEL-4832: Fix Guava example (#10541)
* BAEL-4832: Fix Guava example

* BAEL-4832: Fix imports
2021-03-04 13:00:09 +01:00
Bradley M Handy 6a117f9f3a BAEL-4384: Invoke a private method using reflection (#10470)
* - initial commit of sample code

* BAEL-4209:  Moving the localized exception module into core-java-exceptions-3.

* BAEL-4209: Removed the old files for localizing exception messages.

* Added test case to explain invoking a private method.

* Made the code example more useful so we don't look like we're hacking another framework.

* Forgot to make the test class and method package-private.

* Incorporated Spring ReflectionTestUtils into the code sample.

* Updated the Spring Test version to match the article.
2021-03-03 19:44:45 +00:00
johnA1331 14b84f78f6 Update README.md 2021-03-03 20:52:42 +08:00
johnA1331 e6f7273954 Update README.md 2021-03-03 20:47:57 +08:00
johnA1331 be2be13672 Update README.md 2021-03-03 20:43:31 +08:00
Benedict Ayiko 4ab767bec2 BAEL-3439 - Add selector.wakeup() section (#10398)
* Add selector.wakeup() section

* Update SelectorTest.java

* Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/selector/SelectorTest.java

* Update SelectorTest.java

* Update and rename SelectorTest.java to SelectorUnitTest.java

* Update SelectorUnitTest.java

* Update and rename SelectorUnitTest.java to SelectorManualTest.java
2021-02-26 09:41:58 +01:00
Loredana Crusoveanu 7d0f63b213 Merge pull request #10518 from johnA1331/master
BAEL-32617 - add links to github-baeldung articles
2021-02-26 08:53:04 +02:00
Eric Martin b40ae6e80b Merge pull request #10511 from sk1418/deque_stack
deque vs. stack article
2021-02-25 22:05:29 -06:00
Eric Martin ad391e8c24 Merge pull request #10504 from alimate/BAEL-4765
BAEL-4765: Update "Java built-in Annotations" article
2021-02-24 19:07:11 -06:00
johnA1331 81096e08d4 Update README.md 2021-02-24 22:41:55 +08:00
Kent@lhind.hp.g5 300052acd4 deque vs. stack article 2021-02-23 12:16:32 +01:00
Daniel Strmecki ee65b0f8de BASE-4618: Remove unsed deps 2021-02-21 11:23:55 +01:00
Daniel Strmecki 8d8e1b43ca BASE-4618: Update class variable example 2021-02-21 11:18:05 +01:00
Eric Martin 4c8c9d2456 Merge pull request #10478 from sk1418/uncheckedCast
unchecked cast warning article
2021-02-20 16:40:01 -06:00
Daniel Strmecki 78a8d0bc77 BASE-4618: Class variable example 2021-02-20 18:13:18 +01:00
unknown bfca572d04 refactoring code snippets 2021-02-20 21:11:20 +05:30
unknown d1bbd3502b BAEL-4702
- Code snippets for split Java String by New line
2021-02-20 21:08:27 +05:30
Ali Dehghani e2e4165523 Fixed a typo 2021-02-19 17:06:57 +03:30
Ali Dehghani e5b7e9c81f Update "Java built-in Annotations" article 2021-02-19 17:01:58 +03:30
johnA1331 336ef8775d Update README.md 2021-02-18 04:31:49 +08:00
Dhawal Kapil 540ca5df0b JAVA-2395 Fixed compilation issue (#10496)
Co-authored-by: 13400152 <a13400152@MAC13400152.local>
2021-02-17 00:20:14 +05:30
13400152 fe69a3cb56 JAVA-2395 Fixed compilation issue 2021-02-16 23:59:11 +05:30
Daniel Strmecki 6733ed715b BASE-4618: Create new module, local variable example 2021-02-14 12:12:48 +01:00
Loredana Crusoveanu 8f9b48231f Merge pull request #10476 from johnA1331/master
BAEL-33158 - github-related test fix (03.02.2021)
2021-02-12 10:33:35 +02:00
bfontana 198d355ff4 Merge pull request #10433 from Saber-k/master
[BAEL-4214] Converting java.util.Properties to HashMap<String,String>
2021-02-11 23:41:37 -03:00
davidmartinezbarua 82023cf57a Merge pull request #10434 from MeenaGawande/master
[BAEL-4715] Java HashMap Load Factor
2021-02-11 11:06:19 -03:00
Kent@lhind.hp.g5 4dda5a1a7c unchecked cast warning article 2021-02-10 22:24:14 +01:00
johnA1331 92b4049195 Update README.md 2021-02-11 01:07:33 +08:00
Mateusz Szablak 0315847ad7 Update PropertiesToHashMapConverter.java 2021-02-10 00:40:55 +01:00
johnA1331 5d2087c711 Update README.md 2021-02-10 02:04:28 +08:00
johnA1331 15d247be80 Update README.md 2021-02-10 01:59:24 +08:00
johnA1331 25d4cd9222 Update README.md 2021-02-10 01:55:38 +08:00
johnA1331 0e93e2f779 Update README.md 2021-02-10 01:52:55 +08:00
johnA1331 d9fcd0de34 Update README.md 2021-02-10 01:49:18 +08:00
johnA1331 5ab8f0678f Update README.md 2021-02-10 01:46:38 +08:00
johnA1331 944c965952 Update README.md 2021-02-10 01:17:27 +08:00
Krzysiek 23ee2df79e JAVA-4395: Fix typo in addTagsOfOtherProduct method 2021-02-08 22:48:54 +01:00
bfontana b8e4a9a0b9 Merge pull request #10409 from rojyates/master
BAEL-4614 JVM property java.security.egd
2021-02-06 00:18:11 -03:00
Eric Martin 30e84898fd Merge pull request #10458 from sk1418/BAEL-4709_isAbstract
improvement
2021-02-05 16:53:11 -06:00
johnA1331 1bc84889aa Update README.md 2021-02-04 00:09:00 +08:00
johnA1331 3ff1ba2185 Update README.md 2021-02-04 00:03:53 +08:00
johnA1331 6f2e23e166 Update README.md 2021-02-03 23:59:04 +08:00
MeenaGawande a50cec2882 [BAEL-4715] Java HashMap Load Factor
Fixed HashMap creation and few entries
2021-02-02 11:25:34 +05:30
Kent@lhind.hp.g5 f5bb8ab648 improvement 2021-01-31 18:54:34 +01:00
Jonathan Cook 9ea990660e Merge pull request #10443 from dstr89/feature/BAEL-4535-overriding-compareTo
Feature/bael 4535 overriding compare to
2021-01-31 16:42:48 +01:00
Eric Martin b9664eb89b Merge pull request #10446 from SmartyAnsh/BAEL-4499-bad-practices-with-sync
BAEL-4499 - Synchronization bad practice and solution example
2021-01-30 20:50:13 -06:00
Eric Martin 64121f0c79 Merge pull request #10440 from sk1418/BAEL-2517_unchecked_conversion
BAEL-2517
2021-01-28 20:15:21 -06:00
Usman Mohyuddin e8569d56b0 add file for constantpool (#10442)
* Create ConstantPool.java

add file for constantpool

* update the module with most relevant

update the module with most relevant
2021-01-25 15:09:58 -08:00
Anshul BANSAL 431442e3ca BAEL-4499 - Synchronization bad practice and solution example 2021-01-25 12:29:01 +02:00
Daniel Strmecki 51e2fe20b1 BASE-4535: Update examples for overriding compareTo 2021-01-24 16:37:24 +01:00
Daniel Strmecki 268fe2dfe6 BASE-4535: Example for overriding compareTo 2021-01-24 12:33:05 +01:00
Kent@lhind.hp.g5 0c54413807 BAEL-2517 2021-01-22 19:57:34 +01:00
johnA1331 093fb533fa Update README.md 2021-01-20 22:44:10 +08:00
MeenaGawande d3156e1034 [BAEL-4715] Java HashMap Load Factor
[BAEL-4715] Java HashMap Load Factor
2021-01-20 11:29:38 +05:30
Mateusz Szablak 'Saber-k 13d88f95af Merge branch 'master' of https://github.com/Saber-k/tutorials 2021-01-19 22:00:17 +01:00
Mateusz Szablak 'Saber-k 27c423c4e0 [BAEL-4214] Converting java.util.Properties to HashMap<String,String> 2021-01-19 21:44:54 +01:00
Mateusz Szablak 'Saber-k a41309f4c6 [BAEL-4214] Converting java.util.Properties to HashMap<String,String> 2021-01-19 21:40:10 +01:00
KevinGilmore dce6c4fe12 BAEL-4695: create and update README files (#10425) 2021-01-15 17:21:00 -06:00
Umang Budhwar 52db422b6c BAEL-4695 - Evaluating a Math Expression in Java (#10345)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.

* BAEL-4695 - Added code to evaluate math expressions.

* BAEL-4695 - Added test case for math function.

* BAEL-4695 Added consistent examples and entry in parent pom.

* BAEL-4695 - Added more examples
2021-01-14 17:04:00 -06:00
Loredana Crusoveanu 9f581af949 Merge pull request #10420 from kcacademic/BAEL-4759
Corrected the name of unit test to mark them as manual.
2021-01-14 12:00:49 +02:00
CHANDRAKANT Kumar 7e51af38d9 Corrected the name of unit test to mark them as manual. 2021-01-14 15:18:33 +05:30
johnA1331 5d14cdd746 Create README.md 2021-01-14 00:15:43 +08:00
johnA1331 3af803eb73 Update README.md 2021-01-14 00:11:46 +08:00
Loredana Crusoveanu 6564d4265a Merge pull request #10337 from MajewskiKrzysztof/BAEL-4750
BAEL-4750 Java 12 New Features
2021-01-11 12:00:01 +02:00
Eric Martin c2165fa4bc Merge pull request #10351 from SmartyAnsh/master
BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added
2021-01-09 20:53:53 -06:00
Anshul BANSAL adfede63ba BAEL-4472 - old file removed 2021-01-09 21:18:07 +02:00
Roger Yates d3c73637c2 BAEL-4614 JVM property java.security.egd 2021-01-09 07:54:57 +10:00
Krzysiek ba5343cab2 JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
MeenaGawande 567e910903 [BAEL-4720] Java File.separator vs File.pathSeparator (#10330)
* [BAEL-4720] Java File.separator vs File.pathSeparator

Removed src code and modified junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Code formatting: Removed extra spaces in the code

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added more junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added new module core-java-io4 and moved the code from core-java-io3 module.

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-01-06 18:06:07 +00:00
Loredana Crusoveanu 0c1ccf3bf4 Merge pull request #10392 from kwoyke/JAVA-3586
JAVA-3586: Upgrade commons-lang3 dependency
2021-01-06 12:13:38 +02:00
johnA1331 eedd1fd70b Update README.md 2021-01-06 15:25:50 +08:00
johnA1331 cc6a351836 Update README.md 2021-01-06 15:23:20 +08:00
johnA1331 bfa1d207df Update README.md 2021-01-06 15:03:21 +08:00
Krzysztof Woyke d8c26b6adb JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
Krzysztof Woyke 3cb1b8536f JAVA-3586: Use commons-lang3.version property 2021-01-04 12:50:24 +01:00
Anshul BANSAL 2e0c29895a Merge branch 'master' of https://github.com/SmartyAnsh/tutorials 2021-01-03 22:53:18 +02:00
Anshul BANSAL bbdcf57afb BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00
Loredana Crusoveanu d04f47df10 Merge pull request #10371 from Maiklins/Java-2824-Fix-Tests-in-Java-9-and-above-modules
Java 2824 fix tests in java 9 and above modules
2021-01-02 14:16:06 +02:00
Daniel Strmecki 926f273a2d Feature/bael 4749 java 11 features (#10308)
* BAEL-4749: Added examples for Java 11

* BAEL-4749: Refactor test examples

* BAEL-4749: Refactor test examples 2

* BAEL-4749: Fix PR comments

* BAEL-4749: Update nestmates examples

* BAEL-4749: Use method reference in Predicate.not example

* BAEL-4749: Use String::isBlank in Predicate.not example

* BAEL-4749: Two space indents when continuing a line

* BAEL-4749: Two space indents when continuing a line (2)
2021-01-02 11:08:15 +00:00
mikr ad461edca2 JAVA-2824 Fix tests in Java 9 and above modules 2020-12-30 21:46:25 +01:00
kwoyke 078169109d BAEL-4755: Add Files.list example (#10356) 2020-12-30 12:39:45 +01:00
Loredana Crusoveanu bd22cd94f2 Merge pull request #10194 from Maiklins/Java-2824-Fix-Tests-in-Java-9-and-above-modules
Java-2824 fix tests in java 9 and above modules
2020-12-30 12:13:19 +02:00
Loredana Crusoveanu a61e004aa1 Merge pull request #10367 from vatsalgosar/BAEL-4301
BAEL-4301
2020-12-30 11:58:51 +02:00
unknown 1cc511ae5e BAEL-4301
- Updated assertTrue to assertEqual
- Added examples
2020-12-30 13:32:07 +05:30
Anshul BANSAL 9b1abb07fb BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added 2020-12-29 11:02:52 +02:00
johnA1331 b682fddd88 Update README.md 2020-12-23 22:38:23 +08:00
johnA1331 d1bb00ed39 Update README.md 2020-12-23 22:34:11 +08:00
krzysztof c79e7d8cbd BAEL-4750 Java 12 New Features 2020-12-23 12:48:07 +01:00
krzysztof c6e380d798 BAEL-4750 Java 12 New Features 2020-12-23 12:46:18 +01:00
Greg 96ca95aee1 Merge pull request #10276 from amitiw4u/BAEL-4686-ConcurrentVsSynchronizedMap
Bael 4686 concurrent vs synchronized map
2020-12-22 13:07:54 -05:00
Amitabh Tiwari a07e23dddd BAEL-4686: fixed review comments 2020-12-21 02:06:26 +05:30
Sampada 17d2870daa BAEL-4751: Java 14 New Features (#10319)
* BAEL-4751: Java 14 New Features

* BAEL-4751: Code formatting

* BAEL-4751: Consistent excpetion message

* BAEL-4751: Changed assert
2020-12-20 11:49:26 -08:00
johnA1331 c6dd691407 Update README.md 2020-12-16 17:41:24 +08:00
johnA1331 11cd12ffb5 Update README.md 2020-12-16 17:39:28 +08:00
johnA1331 abfc963707 Update README.md 2020-12-16 17:21:52 +08:00
Amy DeGregorio eb29a0a084 BAEL-4721 (#10272)
* BAEL-4721 Examples

* BAEL-4721 Requested edits

* Fix formatting issues

* Correct unit test name
2020-12-14 17:15:23 +00:00
Jonathan Cook da8a8f7fa2 Merge pull request #10258 from dstr89/feature/BAEL-4717-hashmap-linkedlist-arraylist
Feature/bael 4717 hashmap linkedlist arraylist
2020-12-13 15:02:17 +01:00
Daniel Strmecki 0d8d1d3a09 BAEL-4717: Fix artifactId 2020-12-13 10:33:53 +01:00
Amitabh Tiwari 2f42035fb5 BAEL-4686: Added some more test cases for TreeMap and LinkedHashMap 2020-12-09 17:45:39 +05:30
johnA1331 dbf7a4cdc8 Update README.md 2020-12-09 18:21:31 +08:00
johnA1331 59b090e4a8 Update README.md 2020-12-09 18:20:01 +08:00
davidmartinezbarua de36111f42 Merge pull request #10265 from maciejglowka/BAEL-4725
BAEL-4725: examples of double comparison in Java
2020-12-06 12:46:53 -03:00