Commit Graph

2215 Commits

Author SHA1 Message Date
Asjad J e667175a50 Updated README.md
added link back to the article: https://www.baeldung.com/java-httpclient-timeout
2022-06-02 07:54:58 +05:00
doodoroma 9f1b9d12db Merge pull request #12257 from ukhan1980/BAEL-5556-code-for-sorting-article
[BAEL-5556] Add code for sorting article
2022-06-01 20:59:28 +02:00
Loredana Crusoveanu 9fdde5c323 various fixes 2022-06-01 16:19:28 +03:00
Kai Yuan fcdf53f3e4 BAEL-5623 reverse list article (#12253)
* reverse list article

* fix the package
2022-05-31 22:58:26 -05:00
uzma khan fb5dfc72cd [BAEL-5556] Add code for sorting article 2022-05-30 12:04:18 +01:00
kwoyke a7cae2e766 JAVA-9609: Create manual test for POSTing with HttpURLConnection (#12263) 2022-05-29 13:22:09 +05:30
Loredana Crusoveanu d8a9f121d9 Merge pull request #12110 from doljae/master
Remove unused imports
2022-05-27 21:37:26 +03:00
Mayank Aggarwal 26224e4686 BAEL-5558 (#12222)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5558] Sorting By Date in Java

* BAEL-5558: Added and refactored tests name

* [BAEL-5558] Refactored the code.

* [BAEL-5558] Resolved PMD violation.

* [BAEL-5558] Indented with 4 spaces

* Refactored the Employee class

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-27 08:07:59 -07:00
vunamtien 9c40bfe297 BAEL-5487-java-httpclient-custom-header (#12269)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-05-27 13:48:42 +02:00
Loredana Crusoveanu 59314162f0 Merge pull request #12252 from Asjad-J/master
Updated README.md
2022-05-23 20:14:14 +03:00
Harry9656 8f54543306 JAVA-5484: Added Java Http Request Timeout (#12248)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-05-23 09:27:46 -07:00
Asjad J 1abbf7083d Updated README.md
added link back to the article: https://www.baeldung.com/java-check-character-vowel
2022-05-23 17:32:59 +05:00
kwoyke 1766f9b493 Merge pull request #12245 from anuragkumawat/JAVA-11422
JAVA-11422 Update article - A Guide To Java Regular Expressions API
2022-05-23 14:32:16 +02:00
Asjad J b208b96505 Updated README.md
added link back to the article: https://www.baeldung.com/java-domain-name-from-url
2022-05-23 17:30:29 +05:00
Asjad J 59dcedba09 Merge branch 'eugenp:master' into master 2022-05-23 17:27:48 +05:00
kwoyke 86540ddcc7 Merge pull request #12241 from anuragkumawat/JAVA-11421
JAVA-11421 Update article - RegEx for matching Date Pattern in Java
2022-05-23 14:22:14 +02:00
Asjad J d8adffdbb2 Updated README.md
added link back to the article: https://www.baeldung.com/jdk-com-sun-proxy
2022-05-23 17:15:39 +05:00
Asjad J 44a0ff9d9b Updated README.md
added link back to the article: https://www.baeldung.com/java-files-match-wildcard-strings
2022-05-23 16:52:12 +05:00
Asjad J fe2f7ca04c Updated README.md
added link back to the article: https://www.baeldung.com/java-scanner-usedelimiter
2022-05-23 16:42:16 +05:00
kwoyke a08700d5d4 Merge pull request #12243 from hkhan/JAVA-11892-logs-cleanup
[JAVA-11892] Logging  clean up
2022-05-23 08:50:10 +02:00
anuragkumawat 147d60e528 JAVA-11422 Update article - A Guide To Java Regular Expressions API 2022-05-22 12:46:31 +05:30
Haroon Khan 1efe19f383 [JAVA-11892] Logging clean up 2022-05-21 21:29:02 +01:00
anuragkumawat d46b2d0684 JAVA-11421 Update article - RegEx for matching Date Pattern in Java 2022-05-21 17:33:00 +05:30
apeterlic c3d957205a Move code to different module 2022-05-19 07:03:06 +02:00
apeterlic ae6ed6ba95 Get domain name from given URL 2022-05-19 06:50:58 +02:00
opokharel f8ce248236 [BAEL-5554] Find files that match a wildcard string in Java by @opokharel (#12190)
* BAEL-5554 by @opokharel

* deletedToMoveToSrcFolder

* movedToSrcFolder

* redoingForJenkins

* newPR for [BAEL-5554] Find files that match a wildcard string in Java by @opokharel

* @opokharel

* [BAEL-5554] @opokharel

* [BAEL-5554] Find files that match a wildcard string in Java by @opokharel

* Update SearchFileByWildcardTest.java

* Update SearchFileByWildcard.java

* Update SearchFileByWildcard.java

* Create SearchFileByWildcardUnitTest.java

* Delete SearchFileByWildcardTest.java

* [BAEL-5554] Find files that match a wildcard string in Java by @opokharel

* Update SearchFileByWildcardUnitTest.java

* Update SearchFileByWildcardUnitTest.java

* [BAEL-5554] UnitTestFiles by @opokharel

* Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/searchfilesbywildcards/SearchFileByWildcardUnitTest.java

Co-authored-by: KevinGilmore <kpg102@gmail.com>

* updated curly braces and assertions

Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-05-18 19:36:27 -05:00
Harry9656 75a751df3a JAVA-5484: New Java Http Client Timeout (#12223)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-05-18 16:34:23 -07:00
davidmartinezbarua 67303db98b Merge pull request #12184 from lsieun/master
BAEL-4463: What is com.sun.proxy.$Proxy
2022-05-18 13:34:46 -03:00
Ashley Frieze 7e3cddafaa BAEL-5562 Check if character is vowel (#12221) 2022-05-18 08:54:10 +01:00
515882294 f05171163b BAEL-4463: change method name 2022-05-18 01:51:16 +08:00
Asjad J d848af386a Updated README.md
added link back to the article: https://www.baeldung.com/java-httpclient-post
2022-05-17 09:44:35 +05:00
davidmartinezbarua 72d16848d6 Merge pull request #12181 from thibaultfaure/article/BAEL-5383-use-delimiters
BAEL-5383 code for the use delimiters article
2022-05-16 17:45:52 -03:00
Thibault Faure 8fc971657a BAEL-5383 code for the use delimiters article 2022-05-15 22:11:18 +02:00
kwoyke 8e7dc50c0e Java 11788 (#12204)
* JAVA-11788: Cleanup pom properties in core-java-modules

* JAVA-11788: Cleanup pom properties
2022-05-15 12:23:05 +05:30
Eric Martin 4f8d67b7c1 BAEL-5577: Moving code to core-java-collections-4 (#12210)
Co-authored-by: martine <martine@OLA-3NBL1N2.mshome.net>
2022-05-14 11:17:48 -05:00
Loredana Crusoveanu f5380f98f6 BAEL-5420 fix equals method 2022-05-11 12:52:41 +03:00
Daniel Strmecki f24b9af096 Bael 5481 java httpclient post (#12118)
* BAEL-5481: Create new module

* BAEL-5481: Sync and async example

* BAEL-5481: Concurrent example

* BAEL-5481: Concurrent example

* BAEL-5481: JSON body example

* BAEL-5481: Form data example

* BAEL-5481: File upload example

* BAEL-5481: PR comments + Jenkins

* BAEL-5481: Update aftifact ID

* BAEL-5481: Spaces
2022-05-11 08:57:02 +01:00
Asjad J 35ba3dcd90 Updated README.md
added link back to the article: https://www.baeldung.com/java-iterator-vs-iterable
2022-05-10 06:57:31 +05:00
Asjad J d33c2ea16f Updated README.md
added link back to the article: https://www.baeldung.com/java-httpclient-ssl
2022-05-10 06:53:47 +05:00
Asjad J 4a8826ae78 Updated README.md
added link back to the article: https://www.baeldung.com/java-atomic-set-vs-lazyset
2022-05-10 06:40:56 +05:00
Asjad J 0fce3b833a Updated README.md
added link back to the article: https://www.baeldung.com/java-swap-two-variables
2022-05-10 06:19:26 +05:00
Asjad J 05772eb519 Updated README.md
added a link back to the article: https://www.baeldung.com/java-equals-method-operator-difference
2022-05-10 06:12:49 +05:00
Mayank Aggarwal 81b9558342 BAEL-5558: Sorting By Date in Java (#12132)
* [BAEL-5438] Added Criteria Queries for Employee

* [BAEL-5558] Sorting By Date in Java

* BAEL-5558: Added and refactored tests name

* [BAEL-5558] Refactored the code.

* [BAEL-5558] Resolved PMD violation.

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-05-09 12:04:56 -07:00
kwoyke 7c2845bc79 Merge pull request #12185 from freelansam/JAVA-11792
JAVA-11792: Fix formatting of POMs
2022-05-09 11:04:26 +02:00
sampadawagde aed8f9100b JAVA-11792: Fix formatting of POMs 2022-05-08 16:36:25 +05:30
515882294 9a1d66f852 BAEL-4463: What is com.sun.proxy.$Proxy 2022-05-08 16:00:41 +08:00
apeterlic fa47170025 Difference between Iterable and Iterator (#12079)
* Difference between Iterable and Iterator

Add examples of the Iterable and the Iterator usage.

* Minor changes

Add UnitTests for Iterable examples

* Fix iterable example

Add Custom collection for the Iterable implementation example.

* Fix iterable example

Change the example for the Iterable interface implementation

* Revert "Fix iterable example"

This reverts commit 4015cbc038b1b657c54fa666193c0c7019a474ad.

* Minor changes
2022-05-08 12:08:49 +05:30
Abhinav Pandey d8b4f64525 BAEL-5483 - Java HttpClient with SSL (#12144)
* BAEL-5483 - Java HttpClient with SSL

* BAEL-5483 - Java HttpClient with SSL

* BAEL-5483 - Java HttpClient with SSL - changing test case url

* BAEL-5483 - Two space indentation for line continuation

Co-authored-by: Abhinav Pandey <Abhinav2.Pandey@airtel.com>
2022-05-08 10:41:49 +05:30
kpentaris 44bb031933 Add AtomicInteger.set() and .lazySet() usage example (#12099) 2022-05-07 08:57:31 +05:30
Mateusz Szablak 7e5463390b BAEL 5414 - Java null check why use == instead of .equals() (#12124) 2022-05-05 08:50:19 +05:30
anuragkumawat 9990d103cd JAVA-11533 Move core-java related modules to core-java-modules (#12119)
* JAVA-11533 Move core-java related modules to core-java-modules

* JAVA-11533 Remove moved modules from old parent pom

* JAVA-11533 Updated Readme and pom of parent module

* JAVA-11533 Revert changes made to Readme of parent module

* JAVA-11533 Moved articles to respective submouldes
2022-05-04 20:15:22 +05:30
Asjad J 44361faa48 Updated README.md
added link back to the article: https://www.baeldung.com/java-serialize-lambda
2022-05-03 15:27:08 +05:00
Asjad J afb318fab4 Updated README.md
added a link back to the article: https://www.baeldung.com/java-scanner-skip
2022-05-03 15:18:37 +05:00
sebx59 833e3f9e9f BAEL-5559 - Swap two variables using Java (#12113)
* BAEL-5559 - Swap two variables using Java

initial commit

* Updating tests names

Co-authored-by: HARDEMAN Sebastien <sebastien.hardeman@groupe-mma.fr>
2022-05-02 09:29:06 -07:00
davidmartinezbarua 0babebe608 Merge pull request #12101 from lsieun/master
BAEL-5283: Serialize a lambda in Java
2022-05-02 10:30:41 -03:00
515882294 47adb0759d BAEL-5283: fix unit test failed 2022-05-01 11:18:18 +08:00
Loredana Crusoveanu aa4a299266 Merge pull request #12138 from kwoyke/JAVA-10839
JAVA-10839: Update md5 hash of the sample file
2022-04-30 16:02:20 +03:00
ACHRAF TAITAI b64024d003 Bael 5381 update (#12142)
* BAEL-5381: Java Scanner.skip method with examples

* BAEL-5381: Edit unitTest class name

* BAEL-5381: update code after review
2022-04-30 11:40:27 +02:00
Krzysiek bce3dd832d JAVA-10839: Update md5 hash of the sample file 2022-04-29 11:53:35 +02:00
davidmartinezbarua 01e30fef42 Merge pull request #12107 from chrisjaimes/random_enum_value
added randomDirection method to Enum. Created RandomEnumGenerator
2022-04-28 11:30:10 -03:00
Christian Jaimes fdf79fdd87 removed unnecessary file 2022-04-27 06:54:46 -04:00
Christian Jaimes 4495b45d0b moved files to article-specific folder 2022-04-27 06:51:13 -04:00
johnA1331 cd78bd7c2a Update README.md 2022-04-27 17:43:41 +08:00
johnA1331 e81d306a64 Update README.md 2022-04-27 17:38:30 +08:00
johnA1331 f455f0b5a8 Update README.md 2022-04-27 17:28:08 +08:00
johnA1331 98c27e6b9f Update README.md 2022-04-27 16:53:44 +08:00
johnA1331 360ca495d4 Update README.md 2022-04-27 16:47:43 +08:00
johnA1331 c9a91ca3b1 Update README.md 2022-04-27 16:36:10 +08:00
davidmartinezbarua d49fe65f1d Merge pull request #11962 from alemoles/master
BAEL-5429 - How to Fix Java Compiler Error: Illegal Character (#9)
2022-04-26 15:25:31 -03:00
Harry9656 f429e707ff Added IPAddressLookup (#12097) 2022-04-26 08:32:53 +05:30
doljae c1cd68d30e code cleaning 2022-04-25 19:42:39 +09:00
ACHRAF TAITAI 0fc7298473 BAEL-5381: Java Scanner.skip method with examples (#12083)
* BAEL-5381: Java Scanner.skip method with examples

* BAEL-5381: Edit unitTest class name
2022-04-24 14:49:25 +02:00
Kai Yuan c05421898a listOfLists article (#12078) 2022-04-23 09:02:31 -05:00
kwoyke 609f43167e Merge pull request #12093 from anuragkumawat/JAVA-9557
JAVA-9557 GitHub Issue: Bug in StringPerformance.java
2022-04-22 10:36:24 +02:00
doljae f5f4ea015e Remove unused imports 2022-04-22 15:52:16 +09:00
Christian Jaimes 7093bdc456 added randomDirection method to Enum. Created RandomEnumGenerator. Added corresponding Unit Tests 2022-04-21 09:29:37 -04:00
515882294 0947c71710 BAEL-5283: Serialize a lambda in Java 2022-04-20 20:02:59 +08:00
andresluzu 3f78a1e9c0 BAEL-4559 Stop Execution After Certain Time improvements (#12076) 2022-04-19 20:02:34 -07:00
sanitaso 8fd4df52c2 BAEL-5416 How to Store HashMap<String, ArrayList> Inside a List (#12091)
* add unit test

* fix the error

* correcting the name of the test

* trigger build process

* change directory
2022-04-19 11:03:23 -07:00
etrandafir93 f4c4d890d6 BAEL-5465: changed example to LocalDateTime (#12086) 2022-04-18 16:13:13 -07:00
davidmartinezbarua 96fe8aed39 Merge pull request #12040 from Attila96/feature/java_httpclient_basic_authentication-bael-5458
[BAEL-5485] Java HttpClient Basic Authentication
2022-04-18 14:25:57 -03:00
Asjad J 5be5a938fe Updated README.md
added link back to the article: https://www.baeldung.com/java-list-vs-arraylist
2022-04-18 17:06:50 +05:00
Asjad J 316e7b1e04 Updated README.md
added link back to the article: https://www.baeldung.com/java-implements-vs-extends
2022-04-18 17:02:21 +05:00
anuragkumawat c89d0ef7b1 JAVA-9557 GitHub Issue: Bug in StringPerformance.java 2022-04-17 18:09:24 +05:30
Palaniappan Arunachalam 3045fea670 BAEL-5419: List vs ArrayList in Java + tests (#11936)
* BAEL-5419: List vs ArrayList in Java + tests

* BAEL-5419: Updated code +tests as per review comments

* BAEL-5419: Fixed failing tests

* BAEL-5419: Fixed JUnit test as per review comments
2022-04-14 21:41:00 +01:00
Asjad J 96a62ee2de Updated README.md
added link back to the article: https://www.baeldung.com/java-illegal-reflective-access
2022-04-13 09:56:02 +05:00
opokharel 266c908abf new PR to replace PR# 12052 by @opokharel (#12054)
* opokharel's code for "A quick and practical example of Hexagonal Architecture in Java"

* opokharel - added unit Tests

* [BAEL-5518]  by @opokharel

* updated Files

* updated formatting

* whitespaceFix

* [BAEL-5518] Create Array of Regex Matches

* reCreatingPR

* new PR to replace PR# 12052

* moving to new locn
2022-04-12 17:25:50 -07:00
davidmartinezbarua 60082cdba9 Merge pull request #12030 from lsieun/master
BAEL-1699: Java 9 illegal reflective access warning
2022-04-12 10:47:44 -03:00
515882294 3c2b8bb1f1 BAEL-1699 - modify code comment typo 2022-04-12 16:39:47 +08:00
sanitaso add090f2e1 BAEL-5416 How to Store HashMap<String, ArrayList> Inside a List (#12047)
* add unit test

* fix the error

* correcting the name of the test

* trigger build process
2022-04-11 20:15:51 -07:00
Attila Uhrin bb09c8675d Add examples for Java HttpClient with Basic authentication. 2022-04-09 17:15:06 +02:00
515882294 4b11cc78b0 BAEL-1699 - Java 9 illegal reflective access warning 2022-04-07 22:06:01 +08:00
Parikshit Murria 9759513bf9 BAEL-5417 - implements vs extends (#12011) 2022-04-04 21:02:42 +02:00
KevinGilmore f345f997a8 BAEL-5386: add link back to article (#12015) 2022-04-03 08:49:33 -05:00
Azhwani b1c60e9093 BAEL-5386: Format Instant to String in Java (#11970)
* first commit

* remove extra spaces

* add the requested changes
2022-03-31 20:04:10 -05:00
johnA1331 fd2b2c41a5 Update README.md 2022-03-31 13:52:47 +08:00
johnA1331 0f2f185443 Update README.md 2022-03-31 13:48:05 +08:00
johnA1331 4affc4906c Update README.md 2022-03-31 13:46:23 +08:00
johnA1331 f5be3c8fed Update README.md 2022-03-31 13:44:26 +08:00
Kai Yuan 0c229c433f add SetDiff for BAEL-5464 article (#11969)
* add SetDiff for BAEL-5464 article

* rename the method
2022-03-27 20:16:58 -05:00
Kai Yuan 3eeb5c7d2b read user input (#11946)
* read user input

* rename the unittest class
2022-03-27 11:24:31 -05:00
vaibhav007jain c9637e95fd BAEL-5463: added code for for-each loop in Java. (#11960) 2022-03-27 09:03:29 +05:30
etrandafir93 bcb342693c BAEL-5465: removed link from readme, reordered tests (#11977) 2022-03-25 09:09:52 -07:00
alemoles b933c21023 BAEL-5429 - How to Fix Java Compiler Error: Illegal Character (#9) 2022-03-23 01:41:59 -04:00
etrandafir93 4ab85e1ccc BAEL-5465: tests for subtracting days from date (#11954)
* BAEL-5465: tests for subtracting days from date

* BAEL-5465: upated readme
2022-03-22 08:59:07 -07:00
Azhwani 2e4b518c4b improve split string using pattern (#11945) 2022-03-20 09:19:29 -05:00
johnA1331 8439ee3c45 Update README.md 2022-03-16 21:50:01 +08:00
johnA1331 49630dc2f8 Update README.md 2022-03-16 21:45:47 +08:00
johnA1331 d7baaf8ced Update README.md 2022-03-16 21:25:15 +08:00
Mayank Aggarwal 14f2b7c2b8 [BAEL-5420] Added value object creation (#11901)
* [BAEL-5420] Added value object creation

* BAEL-5420 Added JavaBean and DTO classes

* [BAEL-5420] Indented the code

* Renamed EmployeePojo to EmployeePOJO

* BAEL-5420: Renamed to EmployeeDTO

* [BAEL-5420] Resolving Review comments

Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-03-15 22:14:34 +05:30
Seshu Kumar T 3c5aaa6b09 Producer consumer problem (#11781)
* Producer consumer problem

* Simplified producer consumer added

Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
2022-03-15 14:57:51 +01:00
kwoyke cdc6380359 Merge pull request #11920 from freelansam/JAVA-10138
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
thibaultfaure c6bd572eda BAEL-4524 Acquire a Lock By Key in Java (#11872) 2022-03-10 20:34:39 -06:00
kwoyke 410ccd500b JAVA-10399: Fix assertion to include start date (#11893) 2022-03-09 22:38:22 +05:30
ACHRAF TAITAI c1d1134fb3 BAEL-4569: Formatting Email Text (#11910) 2022-03-08 12:52:10 -08:00
Asjad J 3d92ca2c41 Updated README.md
added a link back to the article: https://www.baeldung.com/java-bytebuffer
2022-03-07 19:31:42 +05:00
Asjad J 6fe59e7aea Updated README.md
added link back to the article: https://www.baeldung.com/java-rock-paper-scissors
2022-03-07 17:54:47 +05:00
Asjad J 08e84780bf Updated README.md
added link back to the article: https://www.baeldung.com/java-read-file-into-map
2022-03-07 17:50:33 +05:00
Haroon Khan 9da940a252 [JAVA-10398] Rename intermittent failing test to ManualTest 2022-03-06 00:41:44 +00:00
Loredana Crusoveanu ce22b5b69c Merge pull request #11875 from Asjad-J/master
Updated README.md files
2022-03-01 10:01:04 +02:00
maibin 786138fd9b Revert "Added a new Class and few test cases to the core-java-modules (#11867)" (#11874)
This reverts commit e10e20a24b.
2022-02-28 21:22:53 -08:00
Asjad J 188d5daaf6 Updated README.md
added link back to the article: https://www.baeldung.com/java-map-new-entry
2022-03-01 09:53:30 +05:00
Asjad J 085d41f3e5 Updated README.md
added link back to the article: https://www.baeldung.com/java-missing-return-statement
2022-03-01 09:30:07 +05:00
Asjad J bd175a879c Updated README.md
added link back to the article: https://www.baeldung.com/java-map-vs-hashmap
2022-03-01 09:21:53 +05:00
Asjad J ca1feef04f Updated README.md
Added link back to the article: https://www.baeldung.com/java-producer-consumer-problem
2022-03-01 09:13:20 +05:00
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