Commit Graph

2389 Commits

Author SHA1 Message Date
Kai Yuan 5582611107 file to map article (#11838)
* file to map article

* add aggregateByKeys method
2022-02-28 19:44:16 -06:00
Chukwuka Onyekachukwu Victor e10e20a24b Added a new Class and few test cases to the core-java-modules (#11867)
* added a new project: hexagonal architecture

* Added some test cases for the project

* Added a new project to demo the error: variable might not have been initialized

* Added a new Class to the core-java-modules

* Added a New Class to the core-java-module
2022-02-27 12:33:39 -08:00
Elmar Mammadov e65fe9db25 BAEL-5350: Java - How to create new Entry (key, value) (#11817)
* BAEL-5350:
1. Added example usage of creating entries with Java itself
2. Added example usage of creating entries with Apache commons collecttions & Guava
3. Custom entry class and its usages

* BAEL-5350:
1. Created unit tests

* BAEL-5350:
1. simplifed assertion for java 9 entry creation

* BAEL-5350:
1. moved into core-java-collections-maps-4 module
2. updated custom entry class and its unit test
2022-02-26 09:54:07 +05:30
vunamtien 1d80576a7c BAEL-5379-create-simple-rock-paper-scissors-game (#11855)
* BAEL-5379-create-simple-rock-paper-scissors-game

* BAEL-5379-create-simple-rock-paper-scissors-game

* BAEL-5379-create-simple-rock-paper-scissors-game

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-24 22:15:22 +01:00
lsieun 6ca42b7a4e BAEL-4151: Guide to ByteBuffer (#11859)
* Convert Byte Array to its Numeric Representation

* Remove Redundant Getter Method

* BAEL-4286 How to get the value of a bit at a certain position from a byte

* BAEL-4286(update): remove redundant test methods

* BAEL-4151: Guide to ByteBuffer
2022-02-24 22:13:13 +01:00
johnA1331 9011fdc4f5 Update README.md 2022-02-23 19:52:51 +08:00
johnA1331 cf98dad5db Update README.md 2022-02-23 19:51:34 +08:00
johnA1331 32813cbc3e Update README.md 2022-02-23 19:01:47 +08:00
doodoroma 39c8314079 Merge pull request #11780 from mayank4all/BAEL-5351
Bael 5351: Added empty map initialization methods in Java 8 & java 9
2022-02-22 08:20:21 +01:00
alemoles 26a0093154 BAEL-5391 - Java Error "Missing return statement" (#5) (#11845)
* BAEL-5391 - Java Error "Missing return statement" (#5)

* BAEL-5391 - Java Error "Missing return statement"
2022-02-21 19:13:41 -08:00
Eugene Kovko 5ee332c606 BAEL-5349 Example for the difference between map and hashmap (#11827)
* example for the difference between map and hashmap

* unit tests for the example

* rename unit tests

Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-02-21 17:05:08 -08:00
vunamtien 082d48e291 BAEL-5379-create-simple-rock-paper-scissors-game (#11846)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-21 18:35:48 +01:00
Haroon Khan cd70006bb6 [JAVA-9986] Fix ThreadStamped unit test 2022-02-17 08:51:17 +00:00
polomos 7966e98d90 BAEL-4388 Test reading keyStore without trustAnchor (#11785) 2022-02-15 15:14:36 -06:00
vunamtien 864b139aa4 BAEL-5332-convert-byte-array-and-uuid (#11822)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-15 21:19:44 +01:00
Loredana Crusoveanu c2aa464af1 Merge pull request #11706 from mobinskariya/master
Move arrive and wait after thread sleep and detailed logging
2022-02-15 18:15:41 +02:00
Loredana Crusoveanu 9dc5d75a16 formatting, additional details on how to run the app 2022-02-15 13:39:08 +02:00
Loredana Crusoveanu a4a03c4790 move remaining files for instrumentation article 2022-02-15 13:31:37 +02:00
Mayank Agarwal 7995f7d7c5 BAEL-5351: Moved to core-java-collections-4 2022-02-13 16:43:59 +05:30
johnA1331 63ea5889d2 Create README.md 2022-02-09 14:06:10 +08:00
vaibhav007jain 1bf44ff8ef BAEL-5280: added code for ArrayIndexOutOfBoundsException. (#11772)
* commited initial code for hexagonal architecture

* Deleting to check in again

* Deleing to check in again

* Push first code for Hexagonal Architecture

* final code with UT for JSON to Java conversion

* removed hexagonal-architecture code from last commit

* BEL-5071 updated README

* BAEL-5071: Undo README changes and added a nested object in the JSON example.

* BAEL-5071: fixed whitespace/indentation in JsonToJavaClassConversion.java

* BAEL-5151: Added code for getting the first of a String

* BAEL-5151: Renamed Unit Test

* BAEL-5151: Moved the files from core-java-string-operations to core-java-string-operations-3

* BAEL-5151: Replaced tabs with white spaces.

* BAEL-5228: Adding code for approaches to concatening null string in java

* BAEL-5228: Moved file to correct folder and added a UT.

* BAEL-5228: corrected import statements.

* BAEL-5228: corrected last commit.

* BAEL-5228: removed extra import.

* BAEL-5228: renamed UT

* BAEL-5280: added code for ArrayIndexOutOfBoundsException.

* BAEL-5280: moved code for ArrayIndexOutOfBoundsException in a new module.

* BAEL-5280: Fixed tab/spaces in pom.xml.

* BAEL-5280: Fixed indentation in ArrayIndexOutOfBoundsExceptionDemoUnitTest.java.

Co-authored-by: Vaibhav Jain <vaibhav.ashokjain@vodafone.com>
2022-02-08 13:45:38 +05:30
johnA1331 a63ea1944d Update README.md 2022-02-08 12:11:51 +08:00
Mayank Agarwal b35d0ea7c4 BAEL-5351: Unit Tests name as per BBD convention 2022-02-08 00:40:07 +05:30
Haroon Khan e1212155fe [JAVA-9895] Split concurrency-basic-2 module 2022-02-07 12:19:20 +00:00
Mayank Agarwal 54f43a311a BAEL-5351: Resolved PMD violations by renaming file 2022-02-05 12:03:34 +05:30
Mayank Agarwal 7f88e21e92 BAEKL-5351: Added method for empty sorted map 2022-02-05 11:56:54 +05:30
Mayank Agarwal 2e8381fbd7 BAEL-5351: Added unit tests for empty map methods 2022-02-05 11:53:37 +05:30
Mayank Agarwal d2332a5c10 BAEL-5351: Added empty map initialization methods in Java 2022-02-05 11:52:40 +05:30
kwoyke 896d32c182 Merge pull request #11750 from hkhan/JAVA-9019-clean-up-log-statements
Java 9019 clean up log statements
2022-02-02 11:21:55 +01:00
Haroon Khan a7980094d1 [JAVA-9021] Clean up uncommitted artifacts (#11754) 2022-02-01 19:38:56 +05:30
ashleyfrieze 69e04d5ac0 BAEL-5354 Add improvement to cover JDK11 solution to the repeated string problem (#11756) 2022-01-30 21:49:04 -06:00
Haroon Khan fc145be4a8 [JAVA-9019] Logging clean up 2022-01-29 16:24:15 +00:00
Haroon Khan f72971181e [JAVA-9019] Logging clean up 2022-01-28 22:50:49 +00:00
Haroon Khan a8ce62042f [JAVA-9019] Move sysout lines to info logging 2022-01-28 22:20:11 +00:00
johnA1331 2b6ef89555 Update README.md 2022-01-26 17:48:52 +08:00
johnA1331 3874415836 Update README.md 2022-01-26 17:45:09 +08:00
johnA1331 f92a336512 Update README.md 2022-01-26 17:41:44 +08:00
johnA1331 f1bdc807b5 Update README.md 2022-01-26 17:39:48 +08:00
johnA1331 af7c764ce9 Update README.md 2022-01-26 17:35:42 +08:00
johnA1331 a5defe6121 Update README.md 2022-01-26 17:26:50 +08:00
davidmartinezbarua 32e682542b Merge pull request #11710 from mladensavic94/master
Difference between NIO and NIO.2?
2022-01-23 12:16:33 -08:00
Greg Martin ff1ebafe37 Merge pull request #11588 from sachin071287/feature/bael-5271
BAEL-5271 set custom thread name
2022-01-23 14:33:46 -05:00
Loredana Crusoveanu 958a85f567 Merge pull request #11730 from Asjad-J/master
BAEL-47433 - add links to github-baeldung articles
2022-01-23 18:58:37 +02:00
Asjad J 21b2f0127a Update README.md
add link back to article: Hidden Classes in Java 15
2022-01-23 10:08:00 +05:00
Asjad J 4d0b7e6899 Update README.md
added link back to article
2022-01-23 09:57:22 +05:00
Asjad J 7cfd820f5b Update README.md
added link back to article: Generating a Java String of N Repeated Characters
2022-01-23 09:40:01 +05:00
Arash Ariani db396b39a9 BAEL-5131: constructor specification is added c (#11586)
* BAEL-5131: constructor specification is added c

* BAEL-5131: codes have been reformatted

* BAEL-5131: I've added a few minor changes over on this package.

* BAEL-5131: I've added a few minor changes over on this package.
2022-01-22 15:55:53 -06:00
Ulisses Lima 7ad433dcb6 [BAEL-4806] - How to test an LDAP connection from a client: code (#11664)
* working code

* added unit test

* [BAEL-4806] - How to test an LDAP connection from a client

Ticket: http://jira.baeldung.com/browse/BAEL-4806
Draft: https://drafts.baeldung.com/wp-admin/post.php?post=125004&action=edit

* removing draft project

* applying requested changes

* 1. renaming package to comply with java conventions;
* 2. breaking class into methods to enhance readability;
* 3. creating an 'execute' method so it's not necessary to call 'main';

* requested changes

* 1. adding final keyword to constants;
* 2. using diamond operator;

* Update LdapConnectionToolManualTest.java
2022-01-22 19:59:45 +01:00
Vlad Fernoaga 9cb3d6e8e5 BAEL-4714 - Java Concurrent HashSet equivalent to ConcurrentHashMap (#11721)
* add article code and unit tests

* fix PMD rule violation

Co-authored-by: vlad fernoaga <vlad.fernoaga-external@getyourguide.com>
2022-01-21 07:48:48 -08:00
Azhwani 02e4cf9f99 first commit (#11716) 2022-01-20 19:27:09 -06:00
johnA1331 b9399fb5f7 Update README.md 2022-01-20 18:08:58 +08:00
johnA1331 17e0cc77a1 Update README.md 2022-01-20 17:52:02 +08:00
johnA1331 605fbc0f8b Update README.md 2022-01-20 17:50:55 +08:00
vunamtien caa13dd4d1 compute x509 certificate thumbprint (#11717)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-01-18 22:43:29 +01:00
Krzysiek 5f4543c31d JAVA-9486: Use guava.version defined in the parent pom 2022-01-17 20:18:43 +01:00
Loredana Crusoveanu 000f3082f4 Merge pull request #11713 from kwoyke/JAVA-9123
JAVA-9123: POM properties cleanup
2022-01-17 20:04:15 +02:00
Krzysiek 8c08be0403 JAVA-9123: POM properties cleanup 2022-01-17 14:03:32 +01:00
ACHRAF TAITAI 4380185074 first commit (#11683) 2022-01-16 14:58:04 -06:00
Mladen Savic d0735facef Difference between NIO and NIO.2? 2022-01-16 21:31:59 +01:00
davidmartinezbarua bd34e3b56e Merge pull request #11665 from aalbatross/origin/BAEL-5158
BAEL-5158: Find which jar file a class is from
2022-01-15 14:01:39 -03:00
mobin 31ddc6a45d Move arrive and wait after thread sleep and detailed logging 2022-01-15 16:37:28 +05:30
pabloubal eb05d3fec3 BAEL-5178:An introduction to InstantSource (#11646)
* BAEL-5178:An introduction to InstantSource

* BAEL-5178:PR fixes

Co-authored-by: Pablo Ubal <pablo.ubal@flexit.es>
2022-01-13 20:42:54 +05:30
Loredana Crusoveanu f351643119 Merge pull request #11686 from johnA1331/master
BAEL-47035 - add links to github-baeldung articles
2022-01-13 11:02:43 +02:00
kwoyke 4eb04dc0bc Merge pull request #11670 from freelansam/JAVA-9022
JAVA-9022: Fix formatting of POMs
2022-01-13 09:50:07 +01:00
ravipathak 2267201db6 BAEL-5158: removing finding class. 2022-01-13 08:30:05 +00:00
ravipathak 7860356ae1 Merge remote-tracking branch 'mine/origin/BAEL-5158' into origin/BAEL-5158 2022-01-13 08:24:28 +00:00
ravipathak a2bd7b50ed BAEL-5158: Sample App and Unit test for finding ObjectMapper class in a jar. 2022-01-13 08:23:42 +00:00
Sameer 3133ffba7f AES Key Generation Strategies #BAEL-4459 (#11685)
* ways to generate AES keys

* exceptional cases

Co-authored-by: IN22910366 <d7495b5879fca1ec1367476a5395a60a8e9baec9>
2022-01-13 07:56:28 +01:00
johnA1331 1b9fa338cf Update README.md 2022-01-13 14:07:20 +08:00
johnA1331 31094c80ef Update README.md 2022-01-13 14:03:15 +08:00
Teica 7a5d817a1d BAEL-5277 generate string of repeated characters (#11611)
* BAEL-5277 generate string of repeated characters

* BAEL-5277 fixed test

* BAEL-5277 fixing tests

* removed public from class and methods, removed unnecessary test examples, extracted contants

* renamed constants

* renamed a test

* fixed the string repeat test

* removed public from class and method

* modified the test

* reset the java version

* tests added

* added apache dependency

* removed repeat method for string

* updated tests

* fixed tests

* added two additional tests

* formatted code

* renaming variables

* 1.0.0 | FIX removed unnecessary annotation

* removing EMPTY_STRING constant

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2022-01-12 23:44:15 +00:00
Sarath Chandra fa2b75a81c [BAEL-5077] Hidden Classes (#11663) 2022-01-10 20:28:05 +01:00
sampadawagde 65f643262d JAVA-9022: Fix formatting of POMs 2022-01-10 22:05:47 +05:30
KevinGilmore 75e9a2dfbb BAEL-5276: add link back to article (#11662) 2022-01-08 22:34:43 -06:00
Azhwani b6cff5acd4 init commit (#11643) 2022-01-07 16:57:13 -06:00
Seshu Kumar T ca7f2cc363 BAEL 5273 Sequence Input Stream (2nd commit) (#11649)
* SequenceInputStream changes

* assert statements corrected by keeping order as (expected, actual)

Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
2022-01-06 21:13:40 +01:00
Daniel Strmecki 8bf612c07a Feature/bael 5176 random number generators (#11641)
* BAEL-5176: Add simple test

* BAEL-5176: Add benchmark runner

* BAEL-5176: Update examples

* BAEL-5176: Refactor

* BAEL-5176: Refactor

* BAEL-5176: Refactor
2022-01-06 08:54:44 +00:00
johnA1331 377708d242 Update README.md 2022-01-05 20:40:01 +08:00
johnA1331 9dbe5bca89 Update README.md 2022-01-05 20:38:06 +08:00
johnA1331 91d7c16524 Update README.md 2022-01-05 20:34:20 +08:00
johnA1331 9cc3165ab4 Update README.md 2022-01-05 20:22:48 +08:00
johnA1331 9deeba7850 Update README.md 2022-01-05 20:14:44 +08:00
johnA1331 fb19c5e98c Update README.md 2022-01-05 19:39:58 +08:00
johnA1331 c41716248a Update README.md 2022-01-05 19:22:24 +08:00
ravipathak 83f6ae5d9d BAEL-5158: Sample App and Unit test for finding ObjectMapper class in a jar. 2022-01-05 00:56:45 +00:00
Loredana Crusoveanu 590784ff38 Merge pull request #11443 from max-zhilin/patch-1
Update README.md
2022-01-03 16:58:27 +02:00
Azhwani 148627f1d0 init commit (#11623) 2022-01-02 22:13:38 -06:00
Mainak Majumder cf49235b4e Equals() Vs Contentequals() Method in Java (#11598)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Source code for Baeldung article BAEL-4896

* update code

* code for article "String Equals() Vs Contentequals() Method in Java"

* update code with tests

* code update

* update test methods

* remove upper case and wrong sequence test

* remove wrong sequence and upper case string variables
2022-01-03 07:29:00 +05:30
Vartika Nigam eb49143a48 initial commit for BAEL-5185 (#11484)
* initial commit for BAEL-5185

* fixed issues

* fixed issues

* Added Junit test case

Co-authored-by: Vartika_Nigam <Vartika_Nigam@dellteam.com>
2021-12-30 07:43:09 +05:30
Viktor Ardelean 81642558b7 BAEL-5291 Convert String to Float and back in Java (#11619)
* add hexagonal architecture example project

* rename class

* add unit test and integration test

* add new line

* reorder pom

* remove maven wrapper

* BAEL-5291 unit tests to showcase conversion from String to Float and back

* BAEL-5291 add some more unit tests

* BAEL-5291 remove evaluation module

* BAEL-5291 rename method names
2021-12-29 12:55:09 +01:00
priya-soni 1b4c43f7ba BAEL-5241 : Formatting code snippets as part of documentation comments (#11630) 2021-12-28 19:09:38 +01:00
Sameer 7d4fd180d8 Mini articles/java unknown stack trace (#11627)
* unknown source in stack trace

* Improved comment

* creating an intentional exception

Co-authored-by: Sameer <d7495b5879fca1ec1367476a5395a60a8e9baec9>
2021-12-28 09:06:17 -08:00
Amitabh Tiwari 00e2fed473 Update MySerializationUtils.java 2021-12-27 19:28:25 +05:30
Amitabh Tiwari 2cec538ac1 Updated the code and test cases 2021-12-25 06:08:28 +05:30
lsieun 867d6573b3 BAEL-4286 How to get the value of a bit at a certain position from a byte (#11396)
* Convert Byte Array to its Numeric Representation

* Remove Redundant Getter Method

* BAEL-4286 How to get the value of a bit at a certain position from a byte

* BAEL-4286(update): remove redundant test methods
2021-12-24 07:45:44 +00:00
johnA1331 de62a4e03c Update README.md 2021-12-23 02:26:02 +08:00
johnA1331 1670cbe475 Update README.md 2021-12-23 02:09:49 +08:00
johnA1331 243cbbb227 Update README.md 2021-12-23 02:05:16 +08:00
Seshu Kumar T d2752a384e SequenceInputStream changes (#11590)
Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
2021-12-21 22:02:20 +01:00
kwoyke 514e80aae7 Merge pull request #11585 from chaos2418/JAVA-3591
JAVA-3591: updating mockito-core to 4.1.0
2021-12-20 09:38:12 +01:00
Kai Yuan dd9dcae1f4 add methods (#11579) 2021-12-18 18:56:28 -06:00
chaos2418 000dcdf966 JAVA-3591: updating mockito-core to 4.1.0 2021-12-18 13:40:53 +05:30
Sachin kumar 79bf0d9976 BAEL-5271 set custom thread name 2021-12-16 17:43:43 +05:30
Haroon Khan b8e5235446 [JAVA-8679] Fix test for JDK 17 2021-12-15 17:54:29 +00:00
Loredana Crusoveanu 89ca1a60ab Update README.md 2021-12-15 17:31:42 +02:00
sachin 53b9df34a2 Bael-5125 Java implicit super constructor is undefined error (#11566)
Co-authored-by: Sachin kumar <sachin.n.kumar@oracle.com>
2021-12-13 20:18:00 -06:00
Azhwani 389df860a6 BAEL-3763: Improvement: Add a section about the ISO_INSTANT formatter (#11537)
* init commit

* add parsing examples

* Adjust assertEquals order

* Add empty line before asserts
2021-12-12 21:52:38 -06:00
vunamtien 17981c9036 BAEL-5052-simulate-touch-command-in-java (#11560)
* BAEL-5052-simulate-touch-command-in-java

* refactor

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2021-12-11 07:35:40 +01:00
Loredana Crusoveanu 4054e8f860 Merge branch 'master' into JAVA-7244-Review_log_statements_for_projects 2021-12-09 10:22:41 +02:00
Sachin Raverkar 1b2115b2ce Bael 5275 (#11561)
* Initial impl of enum

* Added Java 8 based enum searcher and test for it.

* Moved code to core-java-enums

* Fixed test name and readme

* Reused existing module core-java-modules/core-java-lang-oop-types-2 instead of creating a new one.

* Reused existing module core-java-modules/core-java-lang-oop-types-2 instead of creating a new one.
2021-12-08 19:52:20 -08:00
johnA1331 a90ed4d225 Update README.md 2021-12-08 23:48:29 +08:00
johnA1331 2b2546b3b1 Update README.md 2021-12-08 23:44:11 +08:00
johnA1331 fb403a1ec0 Update README.md 2021-12-08 23:34:51 +08:00
johnA1331 4c034d8d81 Update README.md 2021-12-08 23:04:52 +08:00
johnA1331 ac493abbc4 Update README.md 2021-12-08 23:02:06 +08:00
sampadawagde 5f97c1558f JAVA-8375: Split or move core-java-regex module 2021-12-06 22:24:37 +05:30
kwoyke 5fed81736d Merge pull request #11546 from chaos2418/JAVA-8736
JAVA-8736: updating JDK version for the jdk9-and-above Jenkins jobs - W48
2021-12-06 12:12:12 +01:00
chaos2418 c43b11c0f5 JAVA-8736: removing unused jaxws* properties 2021-12-06 14:54:20 +05:30
kwoyke 7ab10c1c99 Merge pull request #11548 from freelansam/JAVA-8354
JAVA-8354: Split or move core-java-collections-3
2021-12-06 09:41:35 +01:00
Loredana Crusoveanu 5a75d00d3a Merge pull request #11550 from johnA1331/master
BAEL-45248 - github - readme links to and from match
2021-12-05 18:06:24 +02:00
sampadawagde f97df9e828 JAVA-8354: Split or move core-java-collections-3 2021-12-05 11:58:14 +05:30
polomos 2c5982f9f9 BAEL-5060 JMX ports explained (#11505) 2021-12-04 20:40:46 -06:00
johnA1331 446cc2beb9 Delete README.md 2021-12-04 19:41:35 +08:00
johnA1331 42549ff9e2 Update README.md 2021-12-04 19:26:22 +08:00
johnA1331 65f604e05d Update README.md 2021-12-04 16:14:21 +08:00
chaos2418 fdadff3a51 JAVA-8736: fixing plugin versions in core-java-11-2 to work with JDK 17 2021-12-04 10:00:10 +05:30
chaos2418 fe00d52ad5 JAVA-8736: update JDK version for the jdk9-and-above Jenkins jobs 2021-12-03 17:20:12 +05:30
Loredana Crusoveanu d1fe4362b1 Merge pull request #11541 from kwoyke/JAVA-8748
JAVA-8748: Make each test get available port on its own
2021-12-02 17:32:56 +02:00
Daniel Strmecki 615f3ba2bc Feature/bael 5133 utility class constructor (#11421)
* BAEL-5133: initial commit

* BAEL-5133: better example

* BAEL-5133: add Lombok examples

* BAEL-5133: add interface and enum examples

* BAEL-5133: add exception

* BAEL-5133: add suppress warning

* BAEL-5133: dummy

Co-authored-by: ashleyfrieze <ashley@incredible.org.uk>
2021-12-02 13:43:55 +00:00
Krzysiek 85faed7f39 JAVA-8748: Use ServerSocket(0) approach to get free port 2021-12-02 12:58:13 +01:00
Loredana Crusoveanu 4f178a1af5 remove duplicate dependency 2021-12-02 11:20:46 +02:00
Loredana Crusoveanu beacee34c0 Merge branch 'master' into fix-5227 2021-12-02 11:16:06 +02:00
Krzysiek 9d0dd5e34f JAVA-8748: Make each test get available port on its own 2021-12-02 09:33:35 +01:00
Matea Pejčinović 87b64245ad removed Hamcrest 2021-12-01 21:28:24 +01:00
Loredana Crusoveanu b9e9b40ca8 Merge pull request #11532 from johnA1331/master
BAEL-44759 - add links to github-baeldung articles
2021-12-01 11:55:30 +02:00
Loredana Crusoveanu 5f78536a3a JAVA-8748 temporarily disable test 2021-12-01 11:39:46 +02:00
johnA1331 689396a360 Update README.md 2021-12-01 16:33:28 +08:00
johnA1331 d6460d88b8 Update README.md 2021-12-01 16:31:04 +08:00
Kai Yuan 052eb565bc Java Hashmap with different value types (#11495)
* Java Hashmap with different value types

* some fixes according to review comments

* convert liveTest -> unitTest

* convert liveTest -> unitTest
2021-11-30 18:17:36 -06:00
vaibhav007jain 2026f9cae7 BAEL-5228: Adding code for approaches to concatenating null string in java (#11464)
* commited initial code for hexagonal architecture

* Deleting to check in again

* Deleing to check in again

* Push first code for Hexagonal Architecture

* final code with UT for JSON to Java conversion

* removed hexagonal-architecture code from last commit

* BEL-5071 updated README

* BAEL-5071: Undo README changes and added a nested object in the JSON example.

* BAEL-5071: fixed whitespace/indentation in JsonToJavaClassConversion.java

* BAEL-5151: Added code for getting the first of a String

* BAEL-5151: Renamed Unit Test

* BAEL-5151: Moved the files from core-java-string-operations to core-java-string-operations-3

* BAEL-5151: Replaced tabs with white spaces.

* BAEL-5228: Adding code for approaches to concatening null string in java

* BAEL-5228: Moved file to correct folder and added a UT.

* BAEL-5228: corrected import statements.

* BAEL-5228: corrected last commit.

* BAEL-5228: removed extra import.

* BAEL-5228: renamed UT

Co-authored-by: Vaibhav Jain <vaibhav.ashokjain@vodafone.com>
2021-11-30 08:51:17 +05:30
Teica 719c4e4e0b Feature bael 5253 (#11526)
* BAEL-5032 Swagger to PDF

* BAEL-5032 added lombok as dependency

* BAEL-5253 moving the tests to other module

* renaming the test class

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Delete pom.xml

* Create pom.xml

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2021-11-29 16:26:16 -08:00
Loredana Crusoveanu 0d45985435 Merge pull request #11517 from kwoyke/JAVA-8709
JAVA-8709: Extract commons-collections4.version property to the main …
2021-11-29 12:10:15 +02:00
Matea Pejčinović f5b596784f renaming the test class 2021-11-28 18:14:42 +01:00
Matea Pejčinović 9ab2a1ab0f BAEL-5253 moving the tests to other module 2021-11-28 18:03:38 +01:00
Azhwani 7b564fe3ef init commit (#11496) 2021-11-28 09:47:49 -06:00
kwoyke 8809312a13 Merge pull request #11521 from hkhan/JAVA-8353-fix-monitor-exception
[JAVA-8353] Wait longer for the threads to finish
2021-11-28 13:02:09 +01:00
ACHRAF TAITAI 3f28be96db BAEL-5147 : convert ByteBuffer to String (#11504)
* BAEL-5147: convert ByteBuffer to String

* Update README.md
2021-11-27 17:59:29 +01:00
Haroon Khan 4e211b64d7 [JAVA-8353] Wait longer for the threads to finish 2021-11-26 22:15:04 +00:00
Krzysiek 334df050b8 JAVA-8710: Update to lombok 1.8.22 2021-11-26 18:07:02 +01:00
Krzysztof Majewski dcd9411cf3 BAEL-5076 Unix domain socket in Java 16 (#11493)
* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

Co-authored-by: krzysztof <kmajewski@berg.technology>
2021-11-26 09:06:20 -08:00
Krzysiek f9f37ac4e6 JAVA-8709: Extract commons-collections4.version property to the main pom.xml 2021-11-26 13:17:01 +01:00
kwoyke 0b2572b562 Merge pull request #11511 from hkhan/BAEL-44346-update-reader-to-stream
[BAEL-44346] Update to use ReaderInputStream from Commons
2021-11-26 11:26:13 +01:00
Loredana Crusoveanu 02f34bab02 disable tests until they are fixed 2021-11-26 10:40:22 +02:00
kwoyke 91e38a4500 Merge pull request #11502 from hkhan/BAEL-44334-enhance-java-process-test
[BAEL-44334] Enhance the process test to shutdown ExecutorService
2021-11-26 09:26:59 +01:00
Haroon Khan 6b17804212 [BAEL-44346] Update to use ReaderInputStream from Commons 2021-11-25 19:06:19 +00:00
kwoyke f5c35ffe97 Merge pull request #11506 from eugenp/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-25 13:31:47 +01:00
Loredana Crusoveanu 208b9baf5c Merge pull request #11500 from johnA1331/master
BAEL-44766 - readme links to and from github match
2021-11-25 12:10:39 +02:00
kwoyke c0a0247cf7 Merge branch 'master' into JAVA-3592 2021-11-25 09:03:54 +01:00
Haroon Khan 5c59f43bc9 [BAEL-44334] Enhance the process test to shutdown ExecutorService 2021-11-24 13:08:19 +00:00
Krzysiek 8b280e689a JAVA-8667: Remove hamcrest dependency declarations from the child modules 2021-11-24 13:20:20 +01:00
johnA1331 63dd727933 Update README.md 2021-11-24 20:06:53 +08:00
johnA1331 afb8a8fb9c Update README.md 2021-11-24 14:15:26 +08:00
johnA1331 ab9d07a0e1 Update README.md 2021-11-24 13:57:47 +08:00
johnA1331 bb55c3b88a Update README.md 2021-11-24 13:56:24 +08:00
kwoyke 1871d1a89c Merge pull request #11468 from chaos2418/JAVA-8405
JAVA-8405: reducing logging for tutorials-build-job
2021-11-23 13:43:19 +01:00
chaos2418 6ae07978cd JAVA-8637: addressing PR review comments. 2021-11-23 09:14:57 +05:30
kwoyke 592376bf09 Merge pull request #11477 from freelansam/JAVA-3592
JAVA-3592: Upgrade h2 dependency in the main pom.xml
2021-11-22 09:22:17 +01:00
kwoyke dd03c1ec48 Merge pull request #11487 from hkhan/JAVA-8353-fix-monitor-state-exception
[JAVA-8353] Update the test to wait for assertion with timeout
2021-11-22 09:15:45 +01:00
Haroon Khan ca3fc370fa [JAVA-8353] Code clean up 2021-11-22 08:05:55 +00:00
kwoyke feefcf22cf Merge pull request #11485 from hkhan/JAVA-8592-fix-email-live-test
[JAVA-8592] Fix email service live test
2021-11-22 08:13:06 +01:00
kwoyke f3f1a60d57 Merge pull request #11478 from hkhan/JAVA-8335-fix-concurrency-test
[JAVA-8335] Fix intermittent unit test failure
2021-11-22 08:03:10 +01:00
Haroon Khan afcc730a66 [JAVA-8353] Increase timeout to 10s 2021-11-21 21:24:02 +00:00
Haroon Khan 48a1cc5624 [JAVA-8353] Update the test to wait for assertion with timeout 2021-11-21 21:19:44 +00:00
Kai Yuan 871b044ea5 add invoking static methods (#11439) 2021-11-21 13:25:21 -06:00
sampadawagde e502fdcbf1 explicit h2 version for spring-data-eclipselink and
core-java-lang-oop-modifiers
2021-11-21 13:32:09 +05:30
Haroon Khan 388d2124d8 [JAVA-8592] Fix email service live test 2021-11-20 22:30:54 +00:00
Haroon Khan 076727df8f [JAVA-8335] Fix intermittent unit test failure 2021-11-19 20:52:02 +00:00
Loredana Crusoveanu ee70035562 Merge pull request #11470 from kwoyke/JAVA-8436
JAVA-8436: Manage AssertJ dependency in the main pom.xml
2021-11-19 16:56:22 +02:00
chaos2418 58e6087b3d JAVA-8405: reducing logging for tutorials-build-job 2021-11-19 13:39:00 +05:30
Greg bc58e50b59 Merge pull request #11392 from hmdrzsharifi/bael-4604
Bael-4604: HMAC in Java (In Conjnction With SHA-*, MD5, Etc.)
2021-11-18 11:02:09 -05:00
Krzysiek 32c8413f82 JAVA-8436: Remove AssertJ depenendency from the child modules - part 4 2021-11-18 14:03:13 +01:00
vunamtien 66311a52d3 BAEL-5193 Compare strings while ignoring whitespace (#11455)
* BAEL-5193-compare-strings-ignoring-whitespace

* refactor

* refactor

Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2021-11-18 17:55:27 +05:30
andresluzu 676f458032 BAEL-5132 Abstract class constructors examples (#11389) 2021-11-18 12:38:36 +01:00
kwoyke 52d830bcbe Merge pull request #11467 from hkhan/JAVA-8383-fix-email-code
[JAVA-8383] Add charset to email mime type to handle special chars
2021-11-18 09:59:15 +01:00
Haroon Khan 17838fe083 [JAVA-8383] Add charset to email mime type to handle special chars 2021-11-17 21:06:29 +00:00
johnA1331 2f83620315 Update README.md 2021-11-18 01:14:49 +08:00
johnA1331 705ed4cf45 Update README.md 2021-11-18 01:12:46 +08:00
Krzysiek 805660947a JAVA-7783: Fix jmh dependencies 2021-11-16 15:19:52 +01:00
Krzysiek 46df55b61e JAVA-7783: POM properties cleanup 2021-11-16 15:10:49 +01:00
Willian Nalepa Oizumi 607bd2215a BAEL-5196 - Split a comma-separated string while ignoring commas in quotes (#11432)
* Creating the module 'core-java-string-operations-4' for new string related code samples. Implemented code samples for the article BAEL-5196

* including new module 'core-java-string-operations-4 in the parent project

* fixing spacing in the pom file

* fixing the maven configuration for our new project core-java-string-operations-4
2021-11-15 18:45:35 +05:30
mikr cd162c3f89 Merge remote-tracking branch 'origin/JAVA-8279-Split-or-move-core-java-module' into JAVA-8279-Split-or-move-core-java-module 2021-11-14 23:02:18 +01:00
mikr 3ca1762f6f JAVA-8279 Split or move Java core module (fix review comments) 2021-11-14 23:02:03 +01:00
kwoyke 7fb4216dd8 Merge branch 'master' into JAVA-8279-Split-or-move-core-java-module 2021-11-14 17:52:34 +01:00
kwoyke 289b414e87 Merge pull request #11448 from freelansam/JAVA-8282
JAVA-8282: Split or move core-java-security-2 module
2021-11-14 17:35:58 +01:00
kwoyke 39865aff2d Merge pull request #11449 from freelansam/JAVA-8365
JAVA-8365: Split or move core-java-io-conversions module
2021-11-14 17:30:33 +01:00
sampadawagde 0269c686d7 JAVA-8365: Split or move core-java-io-conversions module 2021-11-14 13:20:22 +05:30
sampadawagde b1fb2c34e4 JAVA-8282: added new module core-java-security-algorithms to parent pom 2021-11-14 11:08:05 +05:30
sampadawagde da99f980b8 JAVA-8282: Moved 5 articles from core-java-security-2 module to new
module core-java-security-algorithms
2021-11-14 11:07:22 +05:30
sampadawagde 37961b7d27 JAVA-8282: Moved 5 articles from core-java-security-2 module to new
module core-java-security-algorithms
2021-11-14 11:05:34 +05:30
mikr 37eb10c68d JAVA-8279 Split or move core java module 2021-11-13 21:22:34 +01:00
kwoyke 22012780e6 Merge pull request #11434 from freelansam/JAVA-8204
JAVA-8204: Fix formatting of POMs
2021-11-13 10:55:30 +01:00
Max Zhilin c7978bf0e5 Update README.md
Link to next page
2021-11-11 09:35:20 +03:00
freelansam f89d4d5b33 correction to core-java-os 2021-11-11 11:39:01 +05:30
johnA1331 7cbe98f895 Update README.md 2021-11-10 19:43:19 +08:00
johnA1331 e32cba0373 Update README.md 2021-11-10 19:41:57 +08:00
johnA1331 f1ec3e0f3f Update README.md 2021-11-10 19:36:32 +08:00
johnA1331 eae84c2db7 Update README.md 2021-11-10 19:34:43 +08:00
johnA1331 a5d943a6d1 Update README.md 2021-11-10 19:33:10 +08:00
johnA1331 e0c1239984 Update README.md 2021-11-10 19:26:58 +08:00
johnA1331 5c97f5c421 Update README.md 2021-11-10 19:22:38 +08:00
johnA1331 c542d486ca Update README.md 2021-11-10 19:20:50 +08:00
johnA1331 5e3132d202 Update README.md 2021-11-10 19:13:39 +08:00
mbarriola 7af6badf63 Baeldung/java 5187 (#11431)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Client and Server SSLSocket implementation to support https client
authentication.
2021-11-10 09:27:28 +01:00
freelansam 77e3e6a419 Merge branch 'master' into JAVA-8204 2021-11-09 18:20:05 +05:30
Loredana Crusoveanu 528c92753a Merge pull request #11433 from eugenp/JAVA-1672
Java 1672 - updating root pom junit and surefire configurations
2021-11-09 12:59:45 +02:00
sampadawagde b984a4b618 JAVA-8204: Fix formatting of POMs 2021-11-09 16:27:03 +05:30
sharifi efeb4fec3f bael-4604: add data, key, algorithm, and hash value as local variable in each method 2021-11-09 09:33:27 +03:30
saikatcse03 d3033fbcb5 Bael 4241 (#11365)
* Added all class loaded listing

* Added all class loaded listing

Signed-off-by: saikatcse03 <saikatcse03@gmail.com>

* Updated class count

* Updated class count test and fixed tabs

* Removed spaces

* Updated version through Properties

Co-authored-by: saikat chakraborty <saikat.chakraborty@tesco.com>
2021-11-08 19:53:28 -06:00
Trying something new 4786fb5cf6 BAEL 4486 (#11353)
* BAEL 4486

Adding 2 files for BAEL 4486

* JAVA-4486, unit tests

Added Unit Test
Corrected the formatting using formatter.xml in eclipse

* BAEL - 4486

Renamed CrytoDriverIVTest.java to CryptoDriverIVTest.java
added core-security-3 module to pom.xml

* Update CryptoDriverIVUnitTest.java

Resubmitting CryptoDriverIVUnitTest

* BAEL - 4486

Removed Blank lines from CryptoDriver.java
2021-11-08 19:34:49 -06:00
chaos2418 a14ec68229 Merge branch 'master' of https://github.com/eugenp/tutorials into JAVA-1672 2021-11-08 21:44:23 +05:30
vaibhav007jain 3ab032d095 BAEL-5151 (#11385)
* commited initial code for hexagonal architecture

* Deleting to check in again

* Deleing to check in again

* Push first code for Hexagonal Architecture

* final code with UT for JSON to Java conversion

* removed hexagonal-architecture code from last commit

* BEL-5071 updated README

* BAEL-5071: Undo README changes and added a nested object in the JSON example.

* BAEL-5071: fixed whitespace/indentation in JsonToJavaClassConversion.java

* BAEL-5151: Added code for getting the first of a String

* BAEL-5151: Renamed Unit Test

* BAEL-5151: Moved the files from core-java-string-operations to core-java-string-operations-3

* BAEL-5151: Replaced tabs with white spaces.

Co-authored-by: Vaibhav Jain <vaibhav.ashokjain@vodafone.com>
2021-11-08 18:05:17 +05:30
chaos2418 1d328e79d3 JAVA-1672: removing redundant junit dependencies 2021-11-08 13:45:41 +05:30
Teica f200ce5b14 BAEL-5227 check if a first letter of a string is uppercase (#11424)
* BAEL-5227 check if the first letter of a string is uppercase

* BAEL-5227 renaming the tests

* BAEL-5227 renaming the tests

* BAEL-5227 renaming the tests

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2021-11-07 13:19:54 -08:00
rvsathe d8ba53a958 changes for BAEL 5164 (#11364)
* BAEL 4293 correcting the unit test file ame.

* changes for BAEL 5164

* added maven compiler properties for fixing compilation issues.

* making BAEL 5164 java 8 compatible.
2021-11-07 13:15:45 -08:00
Loredana Crusoveanu 35ea11e64f Merge pull request #11407 from Teica/master
BAEL-5195 Modified the regex pattern
2021-11-07 20:21:03 +02:00
Greg aff2c28116 Merge pull request #11335 from amitiw4u/BAEL-5146-Validate-Serialization
Serialization Validation commit
2021-11-07 13:08:24 -05:00
davidmartinezbarua 015cdea7c8 Merge pull request #11363 from thiagohora/BAEL-5197/new_features_in_javav17
[BAEL-5197] New Features in Java 17
2021-11-07 13:55:04 -03:00
thomasduxbury 683f3199bb BAEL-5179: Introduction to HexFormat in Java 17 (#11387) 2021-11-06 18:56:30 -05:00
Thiago dos Santos Hora 38ad8766c1 Merge branch 'master' into BAEL-5197/new_features_in_javav17 2021-11-06 12:19:15 +01:00
Thiago dos Santos Hora 91f5674d46 [BAEL-5197] Add code samples and tests 2021-11-06 12:16:23 +01:00
Amitabh Tiwari 9728ae7377 Updated review comment 2021-11-06 06:09:48 +05:30
Amitabh Tiwari 47ca31189a Review comments updated
Review comments updated
2021-11-06 05:53:22 +05:30
doodoroma 41298ffcf7 Merge pull request #11403 from maciejglowka/BAEL-5134
BAEL-5134: an example of constructor chaining, added unit tests
2021-11-04 17:27:07 +01:00
doodoroma 0940439384 Merge pull request #11408 from synaptrec/BAEL-4451_LDAP_Authentication_using_Pure_Java
For 3rd PR (POM fixed) - [BAEL-4451] LDAP Authentication using Pure Java
2021-11-04 17:18:52 +01:00
gjohnson d800af95b8 For 3rd PR (POM fixed) - [BAEL-4451] LDAP Authentication using Pure Java 2021-11-03 23:05:01 +00:00
Matea Pejčinović d012525754 Modified the regex pattern 2021-11-03 21:07:13 +01:00
johnA1331 c1232efeba Update README.md 2021-11-04 00:47:30 +08:00
johnA1331 c369f22d2a Update README.md 2021-11-04 00:45:13 +08:00
johnA1331 ab8356c1e3 Update README.md 2021-11-04 00:43:30 +08:00
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Maciej Glowka 000ae20d5d BAEL-5134: an example of constructor chaining, added unit tests 2021-11-02 23:15:16 +01:00
sharifi 28845d038e bael-4604: add test class 2021-11-01 11:01:53 +03:30
sharifi bd6dee5376 bael-4604: add main class 2021-11-01 11:01:44 +03:30
mikr e3aebd9c10 Merge branch 'master' of https://github.com/Maiklins/tutorials into JAVA-7244-Review_log_statements_for_projects
 Conflicts:
	algorithms-searching/src/test/java/com/baeldung/algorithms/quadtree/QuadTreeSearchUnitTest.java
2021-10-31 20:54:51 +01:00
Teica d17c2be712 BAEL-5195 split string by multiple delimiters (#11356)
* BAEL-5195 split string by multiple delimiters

* Delete baeldun

* added assertions of the content

Co-authored-by: Matea Pejčinović <matea.pejcinovic@intellexi.hr>
2021-10-30 09:37:54 -05:00
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
johnA1331 d014cb6990 Update README.md 2021-10-28 01:50:12 +08:00
Amitabh Tiwari 82026b3fff Merge branch 'master' into BAEL-5146-Validate-Serialization 2021-10-24 07:05:06 +05:30
Amitabh Tiwari 40c6b489d8 Update SerializationUnitTest.java
Changes to add more tests.
2021-10-24 07:03:35 +05:30
Kayvan Tehrani d6be7a2528 resolving (BAEL-5148) Get String Character by Index in Java (#11340)
* resolving (BAEL-5148) Get String Character by Index in Java

* changing method name from *_thenCorrect() to *_thenSuccess()

* reverted README changes according to the editor suggestion

* extra snippet removed inorder to comply with the article edits
2021-10-23 22:16:51 +05:30
johnA1331 6194ed1d08 Update README.md 2021-10-21 22:12:41 +08:00
johnA1331 8ae64fa5dc Update README.md 2021-10-21 22:06:53 +08:00
johnA1331 6b244618b8 Update README.md 2021-10-21 22:04:21 +08:00
Daniel Strmecki 00b22063ef Feature/bael 5177 switch pattern matching (#11345)
* BAEL-5177: New module using Java 17

* BAEL-5177: Add unit tests

* BAEL-5177: Add switch example

* BAEL-5177: Update type pattern test

* BAEL-5177: Total type example

* BAEL-5177: Refactor

* BAEL-5177: Move implementation to separate class

* BAEL-5177: Tabs to spaces
2021-10-20 22:29:46 +05:30
Amitabh Tiwari 2fa7ea1f22 Changes to PO
Changes to add transition and volatile
2021-10-19 07:24:07 +05:30
JoannaaKL 2f183181d4 BAEL-5149 (#11241)
* Init

* Removing mvnw files

* Apply eclipse code format

* Refactoring

* Refactoring

* BAEL-4211 Add benchmarks

* Delete hexagonal directory

* Refactoring based on the feedback

* Refactoring based on feedback - package rename

* Directory rename

* BAEL-5149 Remove accents from String in Java

* BAEL-5149 Remove accents from String in Java

* Including suggestions after a review

Co-authored-by: asia <joannakrzeklubowiecka@protonmail.com>
2021-10-17 12:06:43 +05:30
Willian Nalepa Oizumi 979db86a51 examples for BAEL-5153 - remove double quotes (#11344) 2021-10-17 08:14:31 +02:00
lsieun 6d1cdbe9d7 BAEL-4522: Convert Byte Array to its Numeric Representation (#11267)
* Convert Byte Array to its Numeric Representation

* Remove Redundant Getter Method
2021-10-17 10:59:38 +05:30
Amitabh Tiwari 8ee5afcf26 Merge branch 'BAEL-5146-Validate-Serialization' of https://github.com/amitiw4u/tutorials into BAEL-5146-Validate-Serialization 2021-10-16 08:11:57 +05:30
Amitabh Tiwari c0443cbd1c Merge branch 'eugenp:master' into BAEL-5146-Validate-Serialization 2021-10-16 08:03:52 +05:30
Amitabh Tiwari 008e340482 Update SerializationUtils.java
Updating serialization Utils
2021-10-15 19:25:52 +05:30
Amitabh Tiwari 98528e849e Style Correction
Style Correction
2021-10-15 09:26:11 +05:30
Amitabh Tiwari e0ca514118 Method for validation of Serializable Objects
Method for validation of Serializable Objects
2021-10-15 09:13:02 +05:30
Amitabh Tiwari e2f8cdd817 Serialization Validation initial commit
Changes for Adding Tests Serialization Validation
1: Added utility Method.
2: Added Tests
2021-10-15 08:36:43 +05:30
johnA1331 d64b8f1b2c Update README.md 2021-10-13 23:55:55 +08:00
priya-soni f95568145a BAEL-5162 : HashMap Entry Removal (#11276) 2021-10-11 07:14:58 +02:00
polomos 95fdf94aee BAEL-5140 Retrieve field's annotations (#11254) 2021-10-10 20:30:06 -05:00
Loredana Crusoveanu eb64f25808 close jndi context 2021-10-08 11:58:38 +03:00
Loredana Crusoveanu e853b70bfc Merge pull request #11296 from johnA1331/master
BAEL-41828 - add links to github-baeldung articles
2021-10-07 09:04:16 +03:00
johnA1331 686534e18f Update README.md 2021-10-07 00:37:33 +08:00
johnA1331 c3aa4a902c Update README.md 2021-10-06 23:43:24 +08:00
freelansam a5bcd85b16 JAVA-7433: Fix references to parents (#11275) 2021-10-05 01:08:39 +05:30
kwoyke 3d1d04d697 Merge pull request #11272 from Rafael-Lopez/feature-JAVA-6406
JAVA-6406: Update 'Exploring the New HTTP Client in Java' article
2021-10-04 09:10:14 +02:00
Greg 2d85f40297 Merge pull request #11214 from hmdrzsharifi/BAEL-5079
BAEL-5079: Update "Base64 Encoding" article
2021-10-02 15:02:10 -04:00
Rafael Lopez e41a8d5cc8 JAVA-6406: Update 'Exploring the New HTTP Client in Java' article 2021-10-01 14:21:15 -04:00
johnA1331 98a5c931b0 Update README.md 2021-09-29 23:38:32 +08:00
Jonathan Cook cd3c5e3ee5 Merge pull request #11105 from gupta-ashu01/master
BAEL-4932-Email Validation in Java
2021-09-28 09:52:11 +02:00
Ralf Ueberfuhr 7b47645746 BAEL-5167: add sample key implementations and test the correct functionality and the performance of those keys in a HashMap (#11260) 2021-09-28 06:58:14 +03:00
rvsathe 82b38e998f BAEL 4293 correcting the unit test file ame. (#11258) 2021-09-26 22:00:14 +05:30
Haroon Khan 00026a8d5b [JAVA-6005] Reduce logging (#11247) 2021-09-26 08:58:09 +05:30
Loredana Crusoveanu e852724228 Merge pull request #11255 from johnA1331/master
BAEL-40948 - Main - github-related test fixes (09.2021)
2021-09-25 12:15:42 +03:00
Loredana Crusoveanu b0834a7c3f BAEL-5065-v2 deleted files already moved to core-java-16 module 2021-09-24 16:49:31 +03:00
johnA1331 68ef34b2bf Update README.md 2021-09-24 15:11:04 +08:00
johnA1331 63d7cdbaf8 Update README.md 2021-09-24 15:07:19 +08:00
johnA1331 d73e9d482b Update README.md 2021-09-24 12:46:57 +08:00
johnA1331 3fd423081e Update README.md 2021-09-24 12:43:24 +08:00
johnA1331 9e7269b14d Update README.md 2021-09-24 12:37:24 +08:00
johnA1331 c081431dfe Update README.md 2021-09-22 23:00:59 +08:00
johnA1331 0734d1ba53 Update README.md 2021-09-22 22:59:04 +08:00
johnA1331 b4facc51bd Update README.md 2021-09-22 22:55:58 +08:00
johnA1331 b6aaae3059 Update README.md 2021-09-22 22:46:39 +08:00
johnA1331 b4b55cf2c6 Update README.md 2021-09-22 22:41:26 +08:00
LiamGve 861a8e19a4 BAEL-5069 code for article on new features in the Java 16 incremental… (#11176)
* BAEL-5069 code for article on new features in the Java 16 incremental release

* BAEL-5069 added some details around Vector API example and enable-preview in maven to allow package to build

Co-authored-by: Liam Garvie <liamgarvie@Liams-MacBook-Pro.local>
2021-09-22 08:33:17 +01:00
doodoroma ed777a4654 Merge pull request #11159 from rvsathe/master
commits for BAEL 4293
2021-09-21 22:21:22 +02:00
Greg e4a5b01840 Merge pull request #11223 from lsieun/master
BAEL-5122: Add new section on instanceof
2021-09-21 16:15:50 -04:00
Kai Yuan bf1131eac5 add unit-test class for the issue 5155 (#11217) 2021-09-20 20:37:35 -05:00
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
saikatcse03 da13dd1aaf Added code to demo expected package error (#11045)
* Added code for demo package error

* Corrected the package declaration

* BAEL-4216 Corrected Formatting and Removed final and Super

* Added few comments as per PR

* Update Book.java

Formatted comments with spaces

Co-authored-by: ine12363914 <saikat.chakraborty@tesco.com>
2021-09-18 17:36:00 +01:00
Trying something new 3260466f5b Formatting Changes for Java 5074 (#11206)
* Formatting Changes for Java 5074

Changed line change indentation to 2 spaces

* Rename StreamToListComparisonWithCollectorsToListUnitTest to StreamToListComparisonWithCollectorsToListUnitTest.java
2021-09-18 08:50:24 +05:30
mikr 72f31df764 JAVA-7244 Review log statements for projects 2021-09-18 00:37:04 +02:00
rvsathe d799c1cd85 Merge branch 'eugenp:master' into master 2021-09-17 08:42:27 +05:30
rvsathe a6ecf8743d BAEL 4293 reinserted the pom dependency 2021-09-17 08:41:48 +05:30
johnA1331 8e92dc0c5c Update README.md 2021-09-15 22:04:47 +08:00
johnA1331 d1f81f20da Update README.md 2021-09-15 22:03:24 +08:00
johnA1331 188b8fa368 Update README.md 2021-09-15 21:59:56 +08:00
515882294 28d708a2fa Add new section on instanceof 2021-09-14 19:41:34 +08:00
JoannaaKL 6a638120dc Jira BAEL-4211 (#11193)
* Init

* Removing mvnw files

* Apply eclipse code format

* Refactoring

* Refactoring

* BAEL-4211 Add benchmarks

* Delete hexagonal directory

* Refactoring based on the feedback

* Refactoring based on feedback - package rename

* Directory rename

Co-authored-by: asia <joannakrzeklubowiecka@protonmail.com>
2021-09-13 20:01:26 -05:00
Ashish Gupta f73f1c2fdf Update EmailValidationUnitTest.java 2021-09-12 14:53:30 +05:30
Ashish Gupta c942476eba Update EmailValidationUnitTest.java 2021-09-12 13:20:42 +05:30
Ashish Gupta 23c11caf77 Update EmailValidation.java 2021-09-12 13:19:16 +05:30
Ashish Gupta a0c85c2a5a Merge branch 'eugenp:master' into master 2021-09-12 13:18:26 +05:30
rvsathe 34af1ae63d BAEL 4293 changed the pom.xml formatting. 2021-09-11 16:24:30 +05:30
sharifi f8353b071d BAEL-5079: upgrade commons-codec version 2021-09-11 12:21:33 +04:30
johnA1331 ba840cd655 Update README.md 2021-09-09 00:40:12 +08:00
polomos 540690b06e BAEL-4266 Test default cryptography strength (#11155) 2021-09-08 18:29:09 +05:30
kwoyke db282b93e5 Merge pull request #11191 from Maiklins/JAVA-5393-Update_Java_9_Process_API_Improvements_article
JAVA-5393 Update Java 9 Process API
2021-09-06 14:17:31 +02:00
Mainak Majumder ec6f5d90cc source code for bealdung article "Find IP address of client" (#10995)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Source code for Baeldung article BAEL-4896

* update code

* source code for Baeldung article bael-4896

* add main method to client and server

* remove comment

* include command-line argument option for client, remove try-catch block

* update greetings message section
2021-09-05 23:08:08 +01:00
rvsathe a1e67a4a23 Merge branch 'master' of https://github.com/rvsathe/tutorials 2021-09-03 08:30:48 +05:30
rvsathe 935f5d24e7 Merge branch 'eugenp:master' into master 2021-09-03 08:30:15 +05:30
rvsathe 5868802a11 changing Test names as per BDD convention 2021-09-03 08:28:55 +05:30
mbarriola 9bcb0c4b1b Bael 5073 guide to multi map (#11179)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Source code for Guide to Stream::mapMulti
2021-09-02 12:55:08 +02:00
johnA1331 54d42ee7b4 Update README.md 2021-09-01 22:10:12 +08:00
mikr 2453ef75bb JAVA-5393 Update Java 9 Process API 2021-08-31 17:30:10 +02:00
Remy Ohajinwa 622ac3e401 BAEL-5064 Format Duration (#11144)
* BAEL-5064 Format Duration

* BAEL-5013 deleted utility class

* BAEL-5013 format duration

* changed Joda-time version

Co-authored-by: Remy Ohajinwa <remy.ohajinwa@interswitchgroup.com>
2021-08-30 19:41:25 -05:00
johnA1331 2f709969e0 Update README.md 2021-08-25 21:41:31 +08:00
Ashish Gupta 031f6df8b0 Merge branch 'eugenp:master' into master 2021-08-24 16:22:08 +05:30
rvsathe b8f15c88fa commits for BAEL 4293 2021-08-24 09:22:12 +05:30
mbarriola 70283b1191 Bael 5066 aggregate over multiple fields (#11156)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Aggregation of multiple attributes of a grouped result
2021-08-22 22:57:09 +02:00
kwoyke 73cef3bfa9 Merge pull request #11137 from Maiklins/JAVA-5950-Reduce_size_of_core-java-os
JAVA-5950 Reduce size of core-java-os.
2021-08-18 13:40:00 +02:00
mikr a9ae125165 JAVA-5950 Reduce size of core-java-os. 2021-08-18 12:35:08 +02:00
johnA1331 e41935bb7c Update README.md 2021-08-18 13:11:58 +08:00
johnA1331 f01a4b4d40 Update README.md 2021-08-18 13:10:05 +08:00
kwoyke e2b8acdc2e Merge pull request #11123 from hkhan/JAVA-6221-fix-TimeApi-unit-test
[JAVA-6221] Fix TimeApi unit test
2021-08-17 18:58:46 +02:00
Haroon Khan 6f11290160 [JAVA-6221] Test clean up 2021-08-17 12:12:55 +01:00
mikr 357a6e1ea8 JAVA-5948 Reduce size of core-java. Remove input.txt (unused). 2021-08-17 10:36:59 +02:00
mbarriola 640f0d6dde Java 5065 (#11126)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key
2021-08-16 23:43:53 +02:00
Ashish Gupta 7caefe62b7 Update EmailValidationUnitTest.java 2021-08-16 11:58:55 +05:30
Ashish Gupta e817cffca0 Update EmailValidationUnitTest.java 2021-08-16 11:51:31 +05:30
Ashish Gupta 6d75bb0cc1 Update EmailValidation.java 2021-08-16 11:50:58 +05:30
Ashish Gupta 500eb2ef90 Merge branch 'eugenp:master' into master 2021-08-16 11:49:48 +05:30
Jonathan Cook 75cdfa2e37 Merge pull request #11101 from Saber-k/master
[BAEL-5041] Validate String as file name in Java
2021-08-15 07:43:49 +02:00
Haroon Khan f9dc97d25e [JAVA-6221] Fix TimeApi unit test 2021-08-13 19:02:15 +01:00
Mateusz Szablak c99989e599 [BAEL-5041] Validate String as file name in Java 2021-08-13 09:36:54 +02:00
johnA1331 58723823d3 Update README.md 2021-08-11 11:33:49 +08:00
Greg d594c571f5 Merge pull request #11013 from tirumani03/dev/tirumani03/exceptionsInConstructor
[BAEL-4990] Throwing exceptions in constructor
2021-08-10 14:32:17 -04:00
Ashish Gupta 0d22a1fdee Add files via upload 2021-08-07 12:38:09 +05:30
Ashish Gupta 6b7dcdf847 Add files via upload 2021-08-07 12:34:38 +05:30
Ashish Gupta dcf8b902dc Update pom.xml 2021-08-07 12:33:12 +05:30
mbarriola b623297829 Core java 12 improvements (#11090)
* Commit source code to branch

* Fix to BAEL-5072
Change package definition and implementation of compactValues junit

* BAEL-5053 Compare file contents
2021-08-05 21:50:37 +02:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
johnA1331 8ebcfd7eb9 Update README.md 2021-07-29 03:40:30 +08:00
freelansam 232cef9d35 JAVA-3297: Cleanup un-committed or un-ignored artifacts (#11068) 2021-07-29 00:10:18 +05:30
freelansam 5470ccfb97 JAVA-6474/JAVA-6324: Align module names, folder names and artifact id (#11071)
* JAVA-6474/JAVA-6324: Align module names, folder names and artifact id
(template)

* JAVA-6474/JAVA-6324: revert changes for guest modules
2021-07-28 20:10:03 +05:30
mdabrowski-eu 54f85ac6cd BAEL-4814 Bitmasking in Java with Bitwise Operators (#11069) 2021-07-26 10:58:35 +02:00
doodoroma eef71ba53c Merge pull request #11034 from KarthickSridhar/article_java_check_ip_is_in_given_range
[BAEL-4478] IP address is in given range or not using java
2021-07-25 07:44:32 +02:00
Karthick Sridhar dd4902e8da [BAEL-4478] IP address is in given range or not using java 2021-07-22 22:36:11 +05:30
johnA1331 16571f28c0 Update README.md 2021-07-22 01:32:41 +08:00
johnA1331 ddb8d5202c Update README.md 2021-07-22 01:30:44 +08:00
johnA1331 9709c690e2 Update README.md 2021-07-22 01:28:15 +08:00
Kai Yuan b848bfead3 add Phaser implementations (#11051) 2021-07-20 22:17:19 -05:00
Ahwin Oghenerukevwe 4524fbf9e3 BAEL-4143: sample usages of @SuppressWarnings warning names (#11021)
Co-authored-by: oahwin <oahwin@getcarbon.co>
2021-07-19 07:31:25 +02:00
Ali Dehghani 81fddd7bc3 BAEL-4233: Why doesn't a missing annotation cause a ClassNotFoundException at runtime? (#11024) 2021-07-18 10:43:45 -05:00
Remy Ohajinwa d387500d53 BAEL-5013 Convert String to Camel Case (#10947)
* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Test cases

* BAEL-5013 Convert to String solutions

* BAEL-5013 convert to camel case using regex

* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Convert to Camel Case using Regex

* BAEL-5013 Review changes

* BAEL5013 cleanup

* BAEL5013 review changes

* BAEL5013 continuation index to 2 spaces

* BAEL-5013 fixed test failure

* BAEL-5013 Review changes

Co-authored-by: Remy Ohajinwa <remy.ohajinwa@interswitchgroup.com>
2021-07-18 10:41:05 +01:00
kwoyke 978bf7f543 JAVA-6348: Properly ignore a unit test (#11031)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-15 22:39:30 +05:30
Loredana Crusoveanu 44f16e3ea6 Merge pull request #11035 from johnA1331/master
BAEL-38061 - add links to github-baeldung articles
2021-07-15 09:16:18 +03:00
Azhwani 48bef2c797 BAEL-4969: Improvement: Streams to Immutable Collections (#11026)
* add new module for java core 16

* format pom.xml
2021-07-14 21:18:47 -07:00
Ali Dehghani 0a3c6a675d BAEL-5026: Improvement for Write an InputStream to a File (#11018) 2021-07-14 21:45:36 -05:00
johnA1331 471ff477bd Update README.md 2021-07-14 21:56:30 +08:00
johnA1331 3a8f5407c8 Update README.md 2021-07-14 21:52:59 +08:00
johnA1331 b3015ed6e0 Update README.md 2021-07-14 21:51:34 +08:00
johnA1331 66b9668e7e Create README.md 2021-07-14 21:48:12 +08:00
Greg e056bc4f34 Merge pull request #10917 from amitiw4u/BAEL-4960-StringToBigInt
Bael 4960 string to big int
2021-07-11 16:37:26 -04:00
Daniel Strmecki 4f3f287923 Feature/bael 4911 tiered compilation (#10958)
* BASE-4911: Tiered Compilation Initial Commit

* BASE-4911: Use Generics
2021-07-11 14:18:10 +01:00
Amitabh.Tiwari 218f67ef4c Added changes as per review 2021-07-11 12:15:12 +05:30
anmoldeep0123 37db34cb8a BAEL-4933 | Differences between static classes and the singleton pattern in Java (#11014)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4933 | Differences between static classes and the singleton pattern in Java

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-07-09 11:27:55 +02:00
kwoyke 1910561a54 JAVA-5986: Cleanup pom.xml files (#11010)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-09 08:43:41 +05:30
Sarath d77187d33d [BAEL-4990] Throwing exceptions in constructor 2021-07-08 17:31:45 +05:30
johnA1331 1cd9efa35c Update README.md 2021-07-07 23:27:01 +08:00
johnA1331 84d61f69f2 Update README.md 2021-07-07 23:24:39 +08:00
devanshtrivedi5 bd4beba1f0 Grouping by collector java (#11001)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId

* removed gitignore and README.md
Converted spaces to tabs and reformatted code

* removed gitignore and README.md

* used baeldung formatter
2021-07-06 22:30:22 -07:00
kwoyke dee85d33c1 BAEL-5015: Add Java 9 example for readAllBytes (#10999)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-06 16:54:57 +02:00
devanshtrivedi5 2e6ba6c3a1 Grouping by collector java (#10986)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId
2021-07-04 15:51:55 -07:00
Kai Yuan 8011badd12 2 threads start at the same time (#10972)
* 2 threads start at the same time

* remove blank leading/trailing lines
2021-07-03 11:51:44 -05:00
ashleyfrieze d1d9ada490 BAEL-5025 Example code for camel case to words (#10964) 2021-07-03 11:43:55 -05:00
johnA1331 d4a715e78c Update README.md 2021-07-02 05:45:00 +08:00
johnA1331 0a7e167bdf Update README.md 2021-07-02 05:40:28 +08:00
johnA1331 07f6efa261 Update README.md 2021-07-02 05:39:01 +08:00
johnA1331 817c2a6e84 Update README.md 2021-07-02 05:36:03 +08:00
johnA1331 dfa8224dfe Update README.md 2021-07-02 05:34:38 +08:00
johnA1331 1aba5c12a7 Update README.md 2021-07-02 05:30:22 +08:00
johnA1331 7df7443e68 Update README.md 2021-07-02 05:29:15 +08:00
Diego Torres 0d722c1d90 [uuid] diegotorres/dtorres.py@gmail.com Improvements for UUIDv5 generation (#10978)
* [uuid] Added method to generate UUID identifiers for version 5

Signed-off-by: Diego Torres <dtorres.py@gmail.com>

* [uuid] Small improvements for UUIDv5 generation

Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-29 10:46:32 +02:00
Amitabh.Tiwari 67f11db211 Corrected the tests 2021-06-28 18:57:48 +05:30
Greg 5f37e9c11f Merge pull request #10889 from MajewskiKrzysztof/BAEL-4269
BAEL-4269 3DES in Java
2021-06-27 12:53:51 -04:00
Jonathan Cook f808407f8f Merge pull request #10944 from thomasduxbury/BAEL-4986
BAEL-4986: Private constructors in Java
2021-06-27 12:59:44 +02:00
mdhtr a4158fd1ed Add examples (#10961) 2021-06-26 18:10:43 -07:00
singhalak11 372b25ec8f JAVA-4987: Logical & Bitwise OR operator (singhalak11) (#10823)
* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator
2021-06-26 13:27:56 +01:00
Jonathan Cook 44165b93d4 Merge pull request #10914 from dev-chirag/bael4235
Bael4235 How to find number of threads in a Java process
2021-06-25 17:56:20 +02:00
Diego Torres f66bfa5088 [uuid] Added method to generate UUID identifiers for version 5 (#10948)
Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-24 22:10:31 +02:00
Loredana Crusoveanu dd0f82cc71 Merge pull request #10955 from johnA1331/master
BAEL-37190 - add links to github-baeldung articles
2021-06-24 09:55:55 +03:00
anmoldeep0123 c52cb1eaf3 BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])? (#10903)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-06-24 06:36:23 +02:00
johnA1331 562d020f71 Update README.md 2021-06-24 04:05:06 +08:00
Amitabh.Tiwari b7f31513f8 Corrected test as per review comments 2021-06-23 10:22:35 +05:30
Thomas Duxbury c86d0e7e0a BAEL-4986: Replacing Sys logs with comments 2021-06-21 23:18:47 +01:00
Thomas Duxbury a75cc22181 –BAEL-4986: Private constructors in Java 2021-06-21 23:18:34 +01:00
Krzysztof Woyke 2c7f52fa0b JAVA-5710: Fix expected Java version 2021-06-21 08:44:17 +02:00
Mainak Majumder 8baaa76e71 code for baeldung article (#10875)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Update TcpServerSocket.java
2021-06-20 21:03:52 -05:00
kwoyke 36c81e8654 JAVA-5926: Fix core-java-jpms setup (#10930)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-18 19:51:18 +05:30
johnA1331 33e89f8692 Update README.md 2021-06-17 01:03:50 +08:00
johnA1331 35187f7265 Update README.md 2021-06-17 01:01:39 +08:00
johnA1331 40ae200818 Update README.md 2021-06-17 00:54:50 +08:00
johnA1331 eb8893b943 Create README.md 2021-06-17 00:52:51 +08:00
johnA1331 46b06811fb Update README.md 2021-06-17 00:51:09 +08:00
dev-chirag 830940fac9 BAEL4235 FindNumberOfThread class 2021-06-15 23:51:57 +05:30
dev-chirag f656c61903 BAEL4235 FindNumberOfThread class 2021-06-15 23:48:24 +05:30
Amitabh.Tiwari 625676f7cb Removal of unwanted spaces 2021-06-15 20:13:37 +05:30
Amitabh.Tiwari 8090117cb6 BAEL-4960: Test for conversion 2021-06-15 20:09:17 +05:30
Greg 3bf486a4dd Merge pull request #10769 from vikasrajput6035/BAEL-4936
BAEL-4936: Completed article Abstract class vs Interface with default method
2021-06-14 12:02:05 -04:00
Greg e2b035feca Merge pull request #10797 from KarthickSridhar/article_javadoc_method_reference
[ BAEL-4254 ]  Referencing a method in JavaDoc comment.
2021-06-14 11:52:02 -04:00
freelansam f0d9004fdd BAEL-4983: Update article "Calling SOAP service in Java" (#10898) 2021-06-13 15:04:40 -07:00
Jonathan Cook ba0d3c7dc9 Merge pull request #10810 from Saber-k/master
BAEL-4402 Java: Path vs File
2021-06-13 13:23:30 +02:00
Eric Martin 0fca8e3aea Merge pull request #10859 from bradhandy/master
Unit tests for non-capturing groups.
2021-06-12 09:52:23 -05:00
kwoyke f318cd05d9 BAEL-5000: Add split String by newlines examples (#10881)
* BAEL-5000: Add split String by newlines examples

* BAEL-5000: Exclude core-java-string-operations-3 from persistence-modules

* BAEL-5000: Update tests

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-12 14:23:37 +02:00
bhandy be18bad873 Moving NonCapturingGroupUnitTestjava to new core-java-regex-2 module. 2021-06-12 00:25:19 -04:00
Vikas Ramsingh Rajput c3563566f8 BAEL-4936: converted multiline code to one liner, also changed names of unit test methods 2021-06-11 19:55:03 +05:30
Karthick S b75e06c175 BAEL-4254 JavaDoc method reference example classes 2021-06-11 19:33:04 +05:30
LiamGve 541faa3a97 BAEL-4991 added in code for Java 9 private method introduction (#10884)
* BAEL-4991 added in code for Java 9 private method introduction

* BAEL-4991 added unit tests for java 9 private methods in interface article

Co-authored-by: Liam Garvie <liamgarvie@Liams-MacBook-Pro.local>
2021-06-09 09:31:16 -07:00
johnA1331 eca7529b11 Update README.md 2021-06-09 16:57:12 +08:00
majewsk6 90f629824f BAEL-4269 3DES in Java 2021-06-09 09:06:15 +02:00
bhandy c7326c23ca Updated the fluent API calls for the AssertJ assertions. 2021-06-07 22:41:29 -04:00
bfontana 3cabed6990 Merge pull request #10867 from nirm2009/master
BAEL-4881 - Update IgnoringPatternMetacharactersUnitTest.java
2021-06-07 22:18:06 -03:00
bhandy 57cc5fd880 Updated the formatting. Helps to save the file after formatting it in Eclipse. 2021-06-05 15:02:04 -04:00
Dasun Nirmitha f9826f8e66 Update IgnoringPatternMetacharactersUnitTest.java
Unit test method names simplified according to Editor's suggestion.
2021-06-05 20:52:25 +05:30
bhandy c03e141781 Unit tests for non-capturing groups. 2021-06-03 22:30:13 -04:00
johnA1331 98fce705da Update README.md 2021-06-03 22:38:54 +08:00
johnA1331 f894b98103 Update README.md 2021-06-03 22:30:13 +08:00
johnA1331 33a845253c Update README.md 2021-06-03 22:26:37 +08:00
johnA1331 edc0b6c747 Update README.md 2021-06-03 22:20:28 +08:00
johnA1331 c7af17e69f Update README.md 2021-06-03 22:17:29 +08:00
johnA1331 8bb4d52445 Update README.md 2021-06-03 22:11:37 +08:00
Glen Johnson 69f4ccd5f4 [BAEL-4875] 1. contains -> containsExactly, 2. get number strings as Java types, 3. Sci Not. and Hex (#10819)
* [BAEL-4875] Added Finding as Numeric Values + Finding Sci Not & Hex Nums

Added:
1. Finding Integers and Decimal Numbers as Numeric Values
2. Finding Scientific Notation and Hex numbers

* BAEL-4875 - Changed assertThat.contains(...) to containsExactly(...)

Changed all instances of assertThat.contains(...) to
containsExactly(...) in FindNumbersUnitTest

Co-authored-by: gjohnson <gjohnson@192.168.1.64>
2021-06-01 11:11:28 +01:00
Jonathan Cook 1c9bccca01 Merge pull request #10743 from tirumani03/dev/tirumani03/findingClassesInPackage
[BAEL-4279] Finding All Classes in a Java Package
2021-05-30 15:54:45 +02:00
Vikas Ramsingh Rajput 12dc1287a5 BAEL-4936: Added getColor() method in CircleInterface class as per the review comment 2021-05-30 15:45:46 +05:30
Bhabani Prasad Patel 8eb252eae6 Removing this piece of code as been moved to a new module. (#10820) 2021-05-29 13:23:38 +02:00
Bhabani Prasad Patel eefc0b2bc7 code commit for BAEL-4869 (#10812)
* Code commit for "Converting String to BigDecimal in Java" - Article

* modified the assert param for comparing actual and expected values

* removed the conflict change

* Code commit for Secret Key to String and vice versa in java

* renaming the junit class name to match coding standard

* code commit for BAEL-4869

* Adding new module with Secret key to String conversion in Java [BAEL-4489]

* changed code indent by space instead of tab
2021-05-28 22:38:15 +02:00
kwoyke 805e96f784 BAEL-4585: Add readNbytes code sample (#10814)
* BAEL-4585: Add readNbytes code example

* BAEL-4585: Fix code samples

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-05-28 12:51:10 +02:00
Eric Martin c5582303e8 Merge pull request #10554 from rvsathe/master
Hexagonal Architecture code Reshma sathe
2021-05-27 19:29:55 -05:00
Greg 2a9d69a5fc Merge pull request #10696 from amitiw4u/BAEL-4919-MaxSizeArray
Added changes to demonstrate max array size
2021-05-27 14:39:35 -04:00
singhalak11 a626528201 BAEL-4987: new module for operators (#10800) 2021-05-27 18:58:53 +01:00
Mateusz Szablak f233db052e BAEL-4402 Java: Path vs File 2021-05-26 19:11:22 +02:00
johnA1331 536a2287f1 Update README.md 2021-05-27 01:01:00 +08:00
Benjamin Caure 4e96ddfa14 BAEL-4665: add text blocks to multiline strings test (#10777)
* BAEL-4665: add text blocks to multiline strings test

* BAEL-4665: move core-java-strings to jdk9 profile
2021-05-25 22:27:16 +02:00
anmoldeep0123 fa55f989d6 BAEL-4220 | A Guide to IllegalAccessError and when it happens (#10798)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names
2021-05-24 11:57:21 -07:00
Jonathan Cook 3550945a9f Merge pull request #10760 from LiamGve/BEAL-4946
Beal 4946
2021-05-23 21:32:15 +02:00
Karthick S 07511d76c1 BAEL-4254 JavaDoc method reference example classes 2021-05-23 21:52:30 +05:30
Karthick S 748d2022d8 BAEL-4254 JavaDoc method reference example classes 2021-05-23 21:08:26 +05:30
Vikas Ramsingh Rajput b1c13e893b Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-4936 2021-05-23 16:15:33 +05:30
Vikas Ramsingh Rajput 199d80fb34 BAEL-4936: Removed similar methods as per review comments 2021-05-23 16:14:00 +05:30
Bhabani Prasad Patel bef5794314 Code commit for BAEL-4489 (#10790)
* Code commit for "Converting String to BigDecimal in Java" - Article

* modified the assert param for comparing actual and expected values

* removed the conflict change

* Code commit for Secret Key to String and vice versa in java

* renaming the junit class name to match coding standard
2021-05-22 11:17:58 +02:00
rvsathe 207bcad90e changing the indent to 4. 2021-05-21 17:43:32 +05:30
rvsathe c18a15288d Renamed packages according t code files 2021-05-21 17:27:38 +05:30
rvsathe 830f61fafb Rename DownloadEmailAttachmentsUnitTest.java to DownloadEmailAttachmentsLiveTest.java
changes as per review comments
2021-05-21 15:48:14 +05:30
rvsathe 4c75aea71e Update DownloadEmailAttachmentsUnitTest.java
changing the package name to downloadattachments. and file name as per review comments.
2021-05-21 15:16:55 +05:30
rvsathe 51d20e8bdb Update DownloadEmailAttachments.java
changing the package name to downloadattachments.
2021-05-21 15:15:48 +05:30
rvsathe baf1093fb3 Merge branch 'eugenp:master' into master 2021-05-21 15:11:13 +05:30
rvsathe 3e61f32493 Update DownloadEmailAttachments.java
changes as per review comments
2021-05-21 14:48:00 +05:30
Loredana Crusoveanu cdfc2a8e05 Merge pull request #10784 from johnA1331/master
BAEL-35673 - add links to github-baeldung articles
2021-05-20 09:43:20 +03:00
bfontana 297a44b29e Merge pull request #10712 from nirm2009/master
BAEL-4881 - Source code for 'Understanding the Pattern.quote method' article.
2021-05-19 23:41:42 -03:00
johnA1331 11941b70a1 Update README.md 2021-05-20 01:30:51 +08:00
johnA1331 f04dd12217 Update README.md 2021-05-20 01:22:21 +08:00
johnA1331 3f830fb166 Update README.md 2021-05-20 01:14:56 +08:00
johnA1331 488df18304 Update README.md 2021-05-20 01:11:05 +08:00
johnA1331 cc8fc1843a Update README.md 2021-05-20 01:07:46 +08:00
johnA1331 dda696ff4a Update README.md 2021-05-20 01:05:57 +08:00
rvsathe 927106de3e removing the extra plugins since they are not necessary. 2021-05-19 17:41:38 +05:30
Liam Garvie ef8ca20541 BAEL-4946 moved deserialization vulnerabilities code to a new package 2021-05-19 08:47:02 +01:00
Bhabani Prasad Patel 3f3adc726e Please override with the latest change (#10780)
* Code commit for "Converting String to BigDecimal in Java" - Article

* modified the assert param for comparing actual and expected values

* removed the conflict change
2021-05-18 20:04:43 -07:00
kwoyke 7e921762b6 Merge pull request #10774 from freelansam/JAVA-5223
JAVA-5223: Fix formatting of POMs
2021-05-18 10:44:25 +02:00
Bhabani Prasad Patel d1e8164581 Code commit for "Converting String to BigDecimal in Java" - Article (#10775) 2021-05-17 11:16:45 -07:00
freelansam 8cc6444700 Merge branch 'master' into JAVA-5223 2021-05-17 22:37:02 +05:30
rvsathe 836a94985c shifting the BAEL-3962 to core-java-networking-3 module. 2021-05-17 21:01:00 +05:30
sampadawagde 55e113fe32 JAVA-5223: Fix formatting of POMs (Others) 2021-05-17 20:21:04 +05:30
kwoyke d72cdbc576 Merge pull request #10770 from dkapil/task/JAVA-5550
Task/java 5550
2021-05-17 10:35:41 +02:00
Eric Martin 426a693517 Merge pull request #10738 from anmoldeep0123/BAEL-4878
BAEL-4878 | How to split a string, but also keep the delimiters?
2021-05-16 13:50:17 -05:00
kwoyke 4ff3ef1b89 Merge branch 'master' into task/JAVA-5550 2021-05-16 20:47:40 +02:00
davidmartinezbarua 9258d74afa Merge pull request #10727 from dstr89/feature/BAEL-4876-using-parallel-streams-2
BAEL-4876: Parallel stream examples added
2021-05-16 10:17:16 -03:00
Vikas Ramsingh Rajput dd73b72fc9 Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-4936 2021-05-16 09:34:51 +05:30
Vikas Ramsingh Rajput 3f1778907a BAEL-4936: Completed artcile Abstract class with default method vs interface 2021-05-16 09:32:20 +05:30
Dhawal Kapil 0875f56869 Merge branch 'master' of https://github.com/eugenp/tutorials 2021-05-15 00:16:27 +05:30
Liam Garvie 06aa7787bf BAEL-4946 added in code for java deserialization vulnerabilities article 2021-05-13 21:19:33 +01:00
Liam Garvie ab5b85c81c BAEL-4946 added in code for java deserialization vulnerabilities article 2021-05-13 21:17:37 +01:00
Liam Garvie 8b115f4c8a BAEL-4946 added in code for java deserialization vulnerabilities article 2021-05-13 20:48:03 +01:00
Jonathan Cook 5c03fa6f4e Merge pull request #10716 from KarthickSridhar/article_interface_vs_abstract_class
[ BAEL-4935 ] - Article - Interface vs Abstract Class in Java
2021-05-13 10:42:51 +02:00
Sarath 29552100ca [BAEL-4279] Formatting 2021-05-13 13:11:38 +05:30
Karthick S f279751466 package name - removed underscores 2021-05-13 11:06:09 +05:30
Greg e24d787fb1 Merge pull request #10730 from hmdrzsharifi/master
bael-4909: Getting Java Version at Runtime
2021-05-12 16:12:19 -04:00
sharifi 3cb6624aa6 bael-4909: update test case 2021-05-12 08:41:27 +04:30
kwoyke 1702cfc4a1 BAEL-4950: Use our S3 to host test file (#10752)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-05-11 14:48:41 +02:00
Dasun Nirmitha 76e45f3b08 Update IgnoringPatternMetacharactersUnitTest.java
Implemented improvements suggested by Editor.
2021-05-10 14:54:53 +05:30
root 10b8125b09 BAEL-4878 | How to split a string, but also keep the delimiters? | moved src 2021-05-09 20:25:34 +00:00
Daniel Strmecki 2c5bd5e207 BAEL-4876: Add more data 2021-05-09 20:29:29 +02:00
Daniel Strmecki 86c36061c9 BAEL-4876: Add more benchmarks 2021-05-09 11:41:35 +02:00
Amy DeGregorio d75f672e85 BAEL-4925 (#10746)
* BAEL-4925

* BAEL-4925
2021-05-08 18:35:48 -07:00
Karthick S 369c5bae80 PR review changes 2021-05-08 12:56:53 +05:30
Karthick S 6a05a88066 PR review changes 2021-05-08 12:31:44 +05:30
Sarath 4bc42f14a9 [BAEL-4279] Finding All Classes in a Java Package 2021-05-08 02:29:00 +05:30
sampadawagde 5a33b2c3ba JAVA-5223: clean up 2021-05-07 22:56:08 +05:30
root 656d3a9ad7 BAEL-4878 | How to split a string, but also keep the delimiters? 2021-05-06 18:38:50 +00:00
sampadawagde db5991efb9 JAVA-5223: Fix formatting of POMs (Part 5) 2021-05-06 22:41:38 +05:30
sampadawagde f245635a24 JAVA-5223: Fix formatting of POMs (Part 4) 2021-05-06 22:27:07 +05:30
sampadawagde f3e71d70ad JAVA-5223: Fix formatting of POMs (Part 3) 2021-05-06 19:53:35 +05:30
sampadawagde 612752f52e JAVA-5223: Fix formatting of POMs (Part 2) 2021-05-06 18:01:55 +05:30
sharifi 9a2b779e5f bael-4909: update @Disabled comments 2021-05-06 15:56:37 +04:30
johnA1331 9edba11a4c Update README.md 2021-05-05 22:36:10 +08:00
sharifi cb17634fd6 bael-4909: add unit test 2021-05-05 09:50:45 +04:30
Daniel Strmecki bce6207f03 BAEL-4876: Add benchmark 2021-05-03 19:43:16 +02:00
Daniel Strmecki b0ade9d58b BAEL-4876: Use Java 8 API 2021-05-03 11:52:32 +02:00
Daniel Strmecki d160a09b01 BAEL-4876: Parallel stream examples added 2021-05-03 11:18:02 +02:00
kwoyke f7c7ac9b89 BAEL-4948: Rename JsonSerializerUnitTest to the ObjectToJsonConverterUnitTest (#10710)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-04-30 07:36:40 +02:00
kwoyke 344dac3835 BAEL-4944: Update code samples for the Removing all duplicates from a List in Java (#10717)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-04-30 07:31:17 +02:00
Eric Martin 3b15e86fe6 Merge pull request #10693 from sk1418/joinArray
[BAEL-4918] concat Arrays in java
2021-04-29 21:38:00 -05:00
Karthick S c67a7e31c1 Interface vs Abstract Class in Java 2021-04-29 11:01:23 +05:30
johnA1331 33cd02183e Update README.md 2021-04-29 05:49:08 +08:00
johnA1331 b6fe075fc9 Update README.md 2021-04-29 05:39:53 +08:00
johnA1331 768562b1ce Update README.md 2021-04-29 05:28:32 +08:00
johnA1331 a852c9d75c Update README.md 2021-04-29 05:23:12 +08:00
Karthick S f107a2d2fc Interface vs Abstract Class in Java 2021-04-28 22:05:52 +05:30
Dasun Nirmitha 0fbcc6fe5e Create IgnoringPatternMetacharactersUnitTest.java
BAEL-4881 Understanding the Pattern.quote method
2021-04-28 21:44:19 +05:30
kwoyke f77b9bee84 Merge pull request #10708 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-28 13:39:23 +02:00
ashleyfrieze 8b643c8402 Squashed commit of the following: (#10709)
commit 2347e8b21b0d33391e9cb4e79e146756cadfe322
Author: ashleyfrieze <ashley@incredible.org.uk>
Date:   Tue Apr 27 21:40:33 2021 +0100

    Minor tweak to pom

commit 0497a9e3e88e9000d335976f311b5e8c1e10675b
Merge: a7cf36704b 35cc00b59a
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:27:13 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit a7cf36704bbf94a0afa5a9f46969f8e9774ca683
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:25:47 2021 +0200

    BASE-4502: Update POM

commit 86bfe45c4850c31d1505f4bb7a638a3f06621062
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 20:32:35 2021 +0200

    BASE-4502: Revert POM changes and comment out JDK9+ code

commit b538d1cc19c54c0b9ad9022b94fd066603836e26
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:42:47 2021 +0200

    BASE-4502: Change parent

commit f608783de5f5ee3eda6f2da25d10598327c5aa0f
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:38:00 2021 +0200

    BASE-4502: Maven compiler version

commit f15f2b84478b45a7740d78316bec9c253235adf6
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:13:05 2021 +0200

    BASE-4502: Compile to Java 11

commit 79e780667ca2745198a13b227984e691e4575955
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 24 08:53:53 2021 +0200

    BASE-4502: wrong case

commit fca2515c41f653ca735af73e659fb2735b455ce2
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:32:59 2021 +0200

    BASE-4502: Add space

commit 0407a1e40980763f13be598224df5403a12fb8c1
Merge: 54f11d5f05 5621594056
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:24:57 2021 +0200

    Merge remote-tracking branch 'origin/feature/BAEL-4502-compile-time-const' into feature/BAEL-4502-compile-time-const

    # Conflicts:
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/ClassConstants.java
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/CompileTimeVariables.java

commit 54f11d5f05aef35b9835ea1e2689be0f6e4bcd82
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:23:12 2021 +0200

    BASE-4502: PR comments and annotation example

commit 5621594056bc97f7b2ab7a70e5cf1abcc8ef35a4
Author: daniel.strmecki <daniel.strmecki@ecx.io>
Date:   Sun Apr 4 12:43:17 2021 +0200

    BAEL-4502: Remove unused examples

commit b11077e79bf92bcfd6748361e7eb66bcfb20ab06
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 3 11:14:29 2021 +0200

    BASE-4502: Update examples

commit 9fea197cd6b5f471bcda4331b722ae308e30b507
Merge: f6e1f2fc46 b7cbb5428d
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:41:46 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit f6e1f2fc467949f66eba441bb98f75f8d69c09b8
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:40:31 2021 +0200

    BASE-4502: Compile time examples
2021-04-27 22:08:10 +01:00
mikr baecf2cfc3 JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-27 22:52:13 +02:00
mikr f3917fdc9b JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-27 10:34:49 +02:00
Greg 31b48566d3 Merge pull request #10643 from mdhtr/mdhtr/BAEL-4179_primitive_to_object_array
BAEL-4179 Cast primitive type array into object array in java
2021-04-26 09:22:26 -04:00
Amitabh.Tiwari 1f3cf7ccc3 Correct the print statment 2021-04-25 08:41:07 +05:30
Amitabh.Tiwari 3c65d2e8e7 Added changes to demonstrate max array size 2021-04-24 16:16:26 +05:30
Kent@lhind.hp.g5 36b21f7116 [BAEL-4918] concat Arrays in java 2021-04-23 19:33:57 +02:00
MeenaGawande cbb5548525 [BAEL-4296] Handling InterruptedException in Java (#10677)
[BAEL-4296] Handling InterruptedException in Java

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-04-21 20:54:36 -05:00
Eric Martin 76c1b7c0fd Merge pull request #10507 from vatsalgosar/BAEL-4702
BAEL 4702
2021-04-21 17:38:03 -05:00
johnA1331 77ba64179a Update README.md 2021-04-21 23:47:20 +08:00
johnA1331 ac8a68f767 Update README.md 2021-04-21 23:39:47 +08:00
davidmartinezbarua 73d1e79f8f Merge pull request #10636 from wnoizumi/BAEL-4877
code samples for issue BAEL-4877
2021-04-14 16:05:49 -03:00
johnA1331 5289757de7 Update README.md 2021-04-14 23:46:43 +08:00
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