Commit Graph

2157 Commits

Author SHA1 Message Date
anuragkumawat 138c224907 JAVA-13089 Verify Java Base64 Encoding and Decoding article 2022-07-09 15:07:47 +05:30
davidmartinezbarua 2823129540 Merge pull request #12413 from opokharel/master
[BAEL-5421] by @opokharel
2022-07-08 15:03:49 -03:00
davidmartinezbarua 21ef5131d1 Merge pull request #12444 from etrandafir93/features/BAEL-5639-lombok_vs_records
BAEL-5639: added code samples for the article
2022-07-08 14:54:16 -03:00
davidmartinezbarua 39296fbf57 Merge pull request #12381 from thibaultfaure/improvements/BAEL-5180-sealed-classes
BAEL-5180 improvement on the article about sealed class
2022-07-08 14:34:02 -03:00
bipster b14f9aabac Merge pull request #12380 from azhwani/BAEL-5550
BAEL-5550: Truncate a string
2022-07-06 15:59:22 -04:00
Azhwani d46370d88f BAEL-5550: Trim a string based on the string length 2022-07-06 18:56:35 +02:00
jogra 535abc8f7a close #12095 2022-07-05 13:26:34 +00:00
Asjad J f94ede6fe1 Updated README.md
added link back to the article: https://www.baeldung.com/java-static-methods-use-cases
2022-07-05 15:52:08 +05:00
Asjad J deb37981aa Updated README.md
added link back to the article: https://www.baeldung.com/java-split-stream
2022-07-05 15:39:47 +05:00
Asjad J 9b75a64d9f Updated README.md
added link back to article: https://www.baeldung.com/java-inputstream-to-base64-string
2022-07-05 15:36:52 +05:00
Krzysiek 33cf52f917 JAVA-12865: Update readme 2022-07-05 09:13:52 +02:00
Daniel Strmecki 49d005b63e Feature/bael 5609 static method (#12370)
* BAEL-5609: init

* BAEL-5609: update examples

* BAEL-5609: refactor

* BAEL-5609: delete car example
2022-07-04 19:11:58 +01:00
kwoyke 5b66626806 Merge pull request #12439 from anuragkumawat/JAVA-12626
JAVA-12626 Fix AccountUnitTest in core-java-concurrency-advanced-3 module
2022-07-04 15:17:50 +02:00
kwoyke 217326c56e Merge pull request #12412 from anuragkumawat/JAVA-12080
JAVA-12080 Update When to Use a Parallel Stream in Java
2022-07-04 15:15:56 +02:00
anuragkumawat 2ff0071a65 JAVA-12080 Create and delete test files dynamically 2022-07-03 20:44:56 +05:30
emanueltrandafir1993 c3d805e5c0 BAEL-5639: added code samples for the article 2022-07-02 17:55:17 +02:00
anuragkumawat e1f020527a JAVA-12626 Fix AccountUnitTest in core-java-concurrency-advanced-3 module 2022-07-01 21:25:41 +05:30
thibault.faure 4298849d9e BAEL-5180 improvement on the article about sealed class
move code to java 17 and use getPermittedSubClasses instead of permittedSubClasses
2022-06-30 23:12:51 +02:00
Loredana Crusoveanu c534201ece Merge pull request #12427 from tudormarc/tudormarc-even-odd-negative-numbers
BAEL-5560 - small fix for negative numbers
2022-06-30 13:26:34 +03:00
mdabrowski-eu 40e42f8d45 BAEL-5557 Split a stream into parts (#12238)
* BAEL-5557 Split a stream into parts

* BAEL-5557 fix main pom.xml

* BAEL-5557 fix mvn profiles

* BAEL-5557 articles with equals and hashcode

* BAEL-5557 migrate assertions to assertj

* BAEL-5557 better assertions
2022-06-30 10:26:34 +01:00
tudor.marc ffe5873397 BAEL-5560 - quick fix for negative numbers 2022-06-30 10:24:43 +03:00
Christopher C. Smith 103a374ba1 Article/bael 5516 how to convert input stream to base64 string (#12219)
* java-shallow-deep tutorial

* BAEL-5516 How to Convert InputStream to base64 String
 - Junit test demonstrating the code

* BAEL-5516 - How-to-Convert-InputStream-to-base64-String
Cleaned up files

* BAEL-5516 - How-to-Convert-InputStream-to-base64-String
 - updated per Jira comments

* BAEL-5516 - How-to-Convert-InputStream-to-base64-String
 - rename and formatting to match Baeldung standards
2022-06-30 09:31:55 +05:30
Asjad J cee261bdcb Updated README.md
added link back to the article: https://www.baeldung.com/java-check-number-parity
2022-06-27 14:43:46 +05:00
Asjad J 7b420f92ec Updated README.md
added link back to the article: https://www.baeldung.com/jar-create-programatically
2022-06-27 12:50:39 +05:00
sampadawagde 90ba68c233 JAVA-12730: readme changes 2022-06-26 16:52:45 +05:30
sampadawagde 16f7224c44 JAVA-12730: modify parent pom 2022-06-26 16:26:33 +05:30
sampadawagde cba7eccc23 JAVA-12730: Rename java-collections-maps-3 to
core-java-collections-maps-5
2022-06-26 16:25:51 +05:30
sampadawagde a1fbbd3c0c JAVA-12730: Rename java-numbers-5 to core-java-numbers-5 2022-06-26 16:25:18 +05:30
sampadawagde 585717541c JAVA-12730: Rename java-numbers-4 to core-java-numbers-4 2022-06-26 16:24:57 +05:30
sampadawagde d3c8b9cdcf JAVA-12730: Rename java-numbers-3 to core-java-numbers-3 2022-06-26 16:24:35 +05:30
sampadawagde da4c248bbd JAVA-12730: Rename java-numbers-2 to core-java-numbers-2 2022-06-26 16:24:10 +05:30
sampadawagde f776d6d454 JAVA-12730: Rename java-numbers to core-java-numbers 2022-06-26 16:23:39 +05:30
sampadawagde 3502a350a4 JAVA-12730: Rename java-collections-conversions-2 to
core-java-collections-conversions-2
2022-06-26 16:22:56 +05:30
sampadawagde 45d808ce56 JAVA-12730: Rename java-collections-conversions to
core-java-collections-conversions
2022-06-26 16:22:21 +05:30
opokharel 90aa4a1239 BAEL-5421 by @opokharel
BAEL-5421 by @opokharel
2022-06-25 17:21:34 -06:00
opokharel 99a902b27b BAEL-5421 2022-06-25 12:48:16 -06:00
opokharel 6ff0745dce BAEL-5421 2022-06-25 12:45:17 -06:00
opokharel fac1883733 BAEL-5421 2022-06-25 12:41:04 -06:00
opokharel 8991dbe2df BAEL-5421 2022-06-25 12:36:55 -06:00
opokharel db1bf15694 BAEL-5421 2022-06-25 12:16:04 -06:00
opokharel 38664852dd BAEL-5421 2022-06-25 12:11:40 -06:00
opokharel 380b86b50e BAEL-5421 2022-06-25 11:57:23 -06:00
opokharel ca767321f7 BAEL-5421 2022-06-25 11:46:51 -06:00
opokharel baa612d3bb BAEL-5421 2022-06-25 11:42:18 -06:00
opokharel ded7b0af8f BAEL-5421 2022-06-25 11:35:39 -06:00
opokharel d29b19e148 BAEL-5421 2022-06-25 11:30:29 -06:00
opokharel acd0dc7894 BAEL-5421 2022-06-25 11:29:08 -06:00
opokharel c2bfe407de BAEL-5421 2022-06-25 11:09:55 -06:00
opokharel 1b29276c17 [BAEL-5421] by @opokharel
[BAEL-5421] by @opokharel
2022-06-25 11:00:26 -06:00
anuragkumawat bf6c478bb5 JAVA-12080 Update When to Use a Parallel Stream in Java 2022-06-25 22:17:32 +05:30
tudormarc 20dc126a64 BAEL-5560 - checking even and odd numbers (#12388) 2022-06-24 09:27:48 +05:30
kwoyke 69d21288b9 Merge pull request #12373 from anuragkumawat/JAVA-12359
JAVA-12359 Potential issue in Validate String as Filename in Java article
2022-06-23 21:26:38 +02:00
Loredana Crusoveanu a746e8119d BAEL-5632 add jar example 2022-06-22 13:45:36 +03:00
anuragkumawat 08a2c27339 JAVA-12359 Committing Test Cases for Colon and Slash Characters 2022-06-21 22:25:12 +05:30
Asjad J d6cbf68489 Updated README.md
added link back to the article: https://www.baeldung.com/java-destructor
2022-06-21 11:15:44 +05:00
Asjad J 2eda1aecd5 Updated README.md
added link back to the article: https://www.baeldung.com/java-calculate-time-ago
2022-06-21 11:13:13 +05:00
anuragkumawat 675e33fbab JAVA-12359 Code Review Changes 2022-06-20 20:55:14 +05:30
anuragkumawat 033ddb7a41 JAVA-11382 Update article Create an empty map in Java (#12383) 2022-06-20 18:46:31 +05:30
Loredana Crusoveanu bc4d404991 BAEL-5647 temporarily disable tests 2022-06-20 09:38:18 +03:00
anuragkumawat ca3fe06a56 JAVA-12359 Changes required in windows os test due to fix of unix os failing test 2022-06-18 11:56:32 +05:30
anuragkumawat 8d7014cfc0 JAVA-12359 Trying to fix failing unix platform test 2022-06-18 11:50:52 +05:30
anuragkumawat 2181c452d3 JAVA-12359 Fix jdk 9 and above build 2022-06-17 22:37:23 +05:30
anuragkumawat d81428bab7 JAVA-12359 Potential issue in Validate String as Filename in Java article 2022-06-17 22:26:31 +05:30
kwoyke d6dd1e2165 Merge pull request #12350 from dkapil/task/JAVA-11241
JAVA-11241 Added missing pom.xml for container modules and other cleanup
2022-06-17 09:02:21 +02:00
Dhawal Kapil 44fa00e0ea Task/java 12687 (#12367)
* JAVA-11493 Renamed spring-sleuth to spring-cloud-sleuth

* JAVA-12687 Fixed test by replacing site name with working site
2022-06-17 00:01:34 +05:30
Haroon Khan feaebfaafe [JAVA-12620] Fix link 2022-06-15 09:00:05 +01:00
Haroon Khan 3862ce78f3 [JAVA-12620] Split core-java-exceptions module 2022-06-14 21:56:25 +01:00
Dhawal Kapil a3a0fdfd96 JAVA-11241 Added missing pom.xml for container modules and other cleanup 2022-06-14 22:47:10 +05:30
hesamghiasi 1a1d011466 adding code for calculating time ago in Java for both version 7 and v… (#12313)
* adding code for calculating time ago in Java for both version 7 and version 8. The code contains pure java and third-party solutions.

* changing name of test classes to contain UnitTest in order to comply with the rules

* changing TimeGranularity.toMillis to abstract method
2022-06-14 17:22:57 +05:30
Asjad J c127ea183f Updated README.md
updated link for More articles from "/core-java-string-conversions-2" to "/core-java-modules/core-java-string-conversions-2"
2022-06-14 10:15:30 +05:00
Asjad J 4a59d16d5a Updated README.md
added link back to the article: https://www.baeldung.com/java-integer-parseint-vs-valueof

also updated the link for More articles from "/core-java-string-conversions" to "/core-java-modules/core-java-string-conversions"
2022-06-14 10:12:18 +05:00
Asjad J ede9aa9109 Updated README.md
added link back to the article: https://www.baeldung.com/java-unit-test-private-methods
2022-06-14 10:06:54 +05:00
Asjad J 8a6fd1ae8b Updated README.md
added link back to the article: https://www.baeldung.com/java-check-two-of-three-booleans
2022-06-14 10:04:16 +05:00
Asjad J f5172c74e2 Updated README.md
added link back to the article: https://www.baeldung.com/java-http-client-custom-header
2022-06-14 09:56:10 +05:00
Asjad J c8950386c6 Updated README.md
added link back to the article: https://www.baeldung.com/java-httpclient-request-parameters
2022-06-14 09:54:16 +05:00
apeterlic 151e2981b8 Add - Is there a Destructor in Java (#12345) 2022-06-13 13:22:57 -07:00
sdhiray7 a21841a9f1 BAEL-5621 - parseInt vs valueOf in Java (#12275)
* Initial commit for Object copy in Java

* review comments commit for Object copy in Java

* Initial commit for parseInt vs valueOf java

* Review comments commit for parseInt vs valueOf java

* Modify readme

* review comments

* build failure

* build failure retry

* build failure retry remove parseInt(java.lang.String,int,int,int)

* build failure add comment

* change examples

* review comments

* review comments 2

* review comments 3
2022-06-10 18:05:39 +05:30
freelansam 2f2831e7cd JAVA-10605: Move multimodulemavenproject from core-java-modules to (#12309)
* JAVA-10605: Move multimodulemavenproject from core-java-modules to
maven-modules

* JAVA-10605: Move multimodulemavenproject to jdk9 build
2022-06-10 14:07:23 +05:30
Kai Yuan f2f8c0d0ac 3booleans (#12287)
* BAEL-4605: code and tests for composing constraints (#12180)

* BAEL-4605: code and tests for composing constraints

* BAEL-4605: small fix and formatted the code

* BAEL-4605: code review

* BAEL-4605: code and tests for composing constraints (#12180)

* BAEL-4605: code and tests for composing constraints

* BAEL-4605: small fix and formatted the code

* BAEL-4605: code review

Co-authored-by: etrandafir93 <75391049+etrandafir93@users.noreply.github.com>
2022-06-09 20:12:25 -05:00
etrandafir93 4d6f72f2a3 BAEL-5026: Sneaky Throws - refactoring and fixes (#12334)
* BAEL-5026: refactored code examples

* BAEL-5026: fixed test
2022-06-09 14:07:56 -07:00
thibaultfaure 34af11b770 BAEL-5461 code for the Unit Test Private Methods in Java article (#12240)
Co-authored-by: thibault.faure <thibault.faure@mimacom.com>
2022-06-09 16:19:24 +02:00
Krzysiek 55252bd755 JAVA-12099: Fix prev/next links 2022-06-08 08:40:34 +02:00
kwoyke fa6f3420d5 Merge pull request #12305 from keerthigadde/JAVA-12099/move-java-numbers
JAVA-12099 moved java-numbers modules to core-java-modules
2022-06-08 08:18:58 +02:00
Avin Buricha 74dbf0d0c9 BAEL-5486 Adding Parameters to Java HttpClient Requests (#11996)
* BAEL-5486 | Article Code

* BAEL-5486 | Remove comments and format fix

* BAEL-5486 | Add code sample

* BAEL-5486 | Common code extracted to a method

* BAEL-5486 | Use static import for Assertions

* BAEL-5486 | Removed external library

* BAEL-5486 | Removed BodyPublisher examples

* BAEL-5486 | Code examples added

* BAEL-5486 | Removed extra Class

Co-authored-by: Avin Buricha <avin.buricha@gupshup.io>
2022-06-07 17:32:10 +02:00
johnA1331 5effbad611 Update README.md 2022-06-07 17:18:21 +08:00
keerthigadde ace8e6a79f Merge branch 'master' of https://github.com/keerthigadde/tutorials into JAVA-12099/move-java-numbers
 Conflicts:
	core-java-modules/java-numbers-4/src/test/java/com/baeldung/bigdecimalzero/BigDecimalZeroChkUnitTest.java
2022-06-07 14:57:26 +10:00
keerthigadde 13070f30fc resolving conflicts 2022-06-07 13:37:28 +10:00
Asjad J 4c8b4485a4 Updated README.md
added link back to the article: https://www.baeldung.com/java-sort-list-alphabetically
2022-06-06 10:58:48 +05:00
keerthigadde 7d17e565cf corrected deleted line 2022-06-03 15:43:09 +10:00
keerthigadde d5117336ed JAVA-12099 moved java-numbers modules to core-java-modules 2022-06-03 15:10:13 +10:00
Asjad J 2f82564ea3 Updated README.md
added link back to the article: https://www.baeldung.com/java-reverse-arraylist
2022-06-02 12:07:25 +05:00
Asjad J e06edd0e37 Updated README.md
added link back to the article: https://www.baeldung.com/java-sort-list-by-date
2022-06-02 11:38:36 +05:00
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