Commit Graph

3923 Commits

Author SHA1 Message Date
Imran Alam 48690d61be
Update ImmutablePersonUnitTest.java 2024-02-05 14:24:18 +05:30
Imran Alam b07426336f
Update ImmutableObjectExamplesUnitTest.java 2024-02-05 14:23:23 +05:30
Imran Alam 34a8c4166c
Update ImmutableObjectExamplesUnitTest.java 2024-02-05 14:22:23 +05:30
Wynn Teo 08d29f73b3
BAEL-7444 create custom url connection (#15717) 2024-02-04 17:21:26 -06:00
Wynn Teo aee52febce
BAEL-5685 translate space using urlencoder (#15764)
* BAEL-5685 translate space using urlencoder

* Add a special character to the string

---------

Co-authored-by: Wynn Teo <wynnteo@Wynns-MacBook-Pro.local>
2024-02-04 17:08:33 -06:00
Kai.Yuan 7b115b3a26 [mv-0-to-end-array] changes for comments 2024-02-04 19:24:20 +01:00
davidmartinezbarua 83d9197bbf
Merge pull request #15760 from thibaultfaure/articles/BAEL-7357-Find-equilibrium-indexes
BAEL-7357 Code for the Find Equilibrium Indexes of an Array
2024-02-04 10:31:56 -03:00
Kai.Yuan e8b27416d7 [mv-0-to-end-array] move zeros to the end 2024-02-04 13:56:52 +01:00
Vini b727f604af
Merge pull request #15804 from Neetika23/RangeStream
Stream file
2024-02-04 10:58:48 +01:00
Neetika Khandelwal 186f2dbee2 modified method names 2024-02-04 14:15:22 +05:30
thibaultfaure 9aca65bd33
Update core-java-modules/core-java-arrays-operations-advanced-2/src/main/java/com/baeldung/equilibriumindex/EquilibriumIndexFinder.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2024-02-04 08:14:35 +01:00
thibaultfaure d88aa573b0
Update core-java-modules/core-java-arrays-operations-advanced-2/src/main/java/com/baeldung/equilibriumindex/EquilibriumIndexFinder.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2024-02-04 08:14:25 +01:00
Lucian Snare 43cb6d6289 Remove java version change 2024-02-04 00:52:15 -05:00
Lucian Snare 521ec4f4fc A few small test updates 2024-02-04 00:44:31 -05:00
Lucian Snare 498746ef59 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-7487-resolve-multiple-completable-futures 2024-02-03 22:33:26 -05:00
Lucian Snare c90eac4ac5 Add unit test to resolve multiple CompletableFutures 2024-02-03 22:30:22 -05:00
Imran Alam a1fb6eb66b Added code for Mutable vs Immutable objects in java 2024-02-03 21:43:12 +05:30
Imran Alam 7391417ce8
Merge branch 'eugenp:master' into master 2024-02-03 21:24:09 +05:30
anujgaud f3d6abbf6a
Fix test name 2024-02-03 19:24:33 +05:30
anujgaud d45bf19622
Add unit tests 2024-02-03 19:17:45 +05:30
anujgaud c651b85f54
Add read methods 2024-02-03 19:16:52 +05:30
Loredana Crusoveanu 9cfb1b3a1b
Update README.md 2024-02-03 15:44:56 +02:00
Neetika Khandelwal 7fff987c77 modified method names 2024-02-03 14:23:49 +05:30
Neetika Khandelwal 971238704b Stream file 2024-02-03 14:13:53 +05:30
Ana Peterlic 7ec4a9fd1d Update givenInputFromConsole_whenUsingScanner_thenReadCharByChar 2024-02-03 06:37:14 +01:00
rcalago 172719db19
Update README.md 2024-02-03 09:07:56 +08:00
rcalago b7398f9d73
Update README.md 2024-02-03 09:06:47 +08:00
rcalago e7c152635c
Update README.md 2024-02-03 08:58:45 +08:00
rcalago 19db271df5
Update README.md 2024-02-03 08:57:43 +08:00
rcalago dfbbfee452
Update README.md 2024-02-03 08:56:36 +08:00
davidmartinezbarua 3f253c832f
Merge pull request #15742 from parthiv39731/PR-7319
BAEL-7396, Instantiate an Inner Class With Reflection in Java
2024-02-01 14:17:53 -03:00
sIvanovKonstantyn 36363a112e
Merge branch 'eugenp:master' into master 2024-02-01 14:47:22 +01:00
Wynn Teo fd59ccd374
BAEL-7430 first draft (#15728)
* BAEL-7430 first draft

* Revised the code

---------

Co-authored-by: Wynn Teo <wynnteo@Wynns-MacBook-Pro.local>
2024-01-31 20:55:12 -06:00
Kai Yuan b490028e69
[runLength-en-decoding] run length encoding (#15735) 2024-01-31 20:48:31 -06:00
DiegoMarti2 9c8cbf668c
Update URLNormalizationUnitTest.java (baeldung-articles BAEL-6777) (#15779) 2024-01-31 09:08:00 -08:00
ICKostiantyn.Ivanov ab43a18bb0 BAEL-6716 - Fix test methods naming 2024-01-31 14:52:31 +01:00
Bipin kumar faaf189afb
[JAVA-29475] Upgrade gson library to latest version (#15773) 2024-01-30 23:42:31 +01:00
Bipin kumar bcba7da594
JAVA-30449 Fix formatting of POMs A_to_C (#15720) 2024-01-30 12:29:53 +02:00
Wynn Teo 5b6d31feff
BAEL-7490 read write file in separate thread (#15664)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article
2024-01-29 20:41:53 -06:00
Vini aefb1e6cbc
Merge pull request #15758 from sIvanovKonstantyn/master
BAEL-6716 - Storing UUID as Base64 String in Java
2024-01-29 21:53:46 +01:00
ICKostiantyn.Ivanov 4c129ead61 BAEL-6716 - Fix pmd violations 2024-01-29 21:42:14 +01:00
Rajat Garg 5eae4e7df8
Convert String date to XMLGregorianCalendar (#15756)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-01-29 10:36:37 -08:00
ICKostiantyn.Ivanov 11970c9909 BAEL-6716 - Add expectedEncodedString variable 2024-01-29 13:22:22 +01:00
Thibault Faure 6e83e84cd6 BAEL-7357 Code for the Find Equilibrium Indexes of an Array 2024-01-28 18:51:38 +01:00
sIvanovKonstantyn b62cf9c77c
Merge branch 'eugenp:master' into master 2024-01-28 10:08:35 +01:00
ICKostiantyn.Ivanov 489e932e38 BAEL-6716 - Storing UUID as Base64 String in Java 2024-01-28 10:05:13 +01:00
rcalago d7844a2053
Update README.md 2024-01-27 21:31:06 +08:00
rcalago ecacac80b2
Update README.md 2024-01-27 21:29:31 +08:00
rcalago d20f2ba1ec
Update README.md 2024-01-27 21:28:35 +08:00
rcalago c8edfc091b
Update README.md 2024-01-27 21:24:51 +08:00
rcalago f3aac5cc13
Update README.md 2024-01-27 21:21:32 +08:00
rcalago 5741a37d5e
Update README.md 2024-01-27 21:17:44 +08:00
rcalago 01e4212643
Update README.md 2024-01-27 21:16:01 +08:00
rcalago c32f8831b8
Update README.md 2024-01-27 21:11:22 +08:00
rcalago f0b4ff81b3
Update README.md 2024-01-27 21:09:01 +08:00
rcalago 997e9de213
Update README.md 2024-01-27 21:07:07 +08:00
rcalago 14bfc9135f
Update README.md 2024-01-27 21:05:05 +08:00
rcalago 93383e9aff
Update README.md 2024-01-27 21:02:59 +08:00
rcalago 33b5ebafae
Update README.md 2024-01-27 21:01:01 +08:00
rcalago 1713abfad2
Update README.md 2024-01-27 20:51:52 +08:00
rcalago ace0a11831
Update README.md 2024-01-27 20:50:53 +08:00
rcalago 9d9f178d7e
Update README.md 2024-01-27 20:45:57 +08:00
collaboratewithakash 1e57e8c90c
backlink updated 2024-01-27 13:20:41 +05:30
collaboratewithakash 06768c61cb
backlink updated 2024-01-27 13:18:19 +05:30
collaboratewithakash be415032aa
backlink updated 2024-01-27 13:15:10 +05:30
collaboratewithakash 62c6faf840
backlink updated 2024-01-27 13:12:51 +05:30
collaboratewithakash 4b67c0b3da
backlink updated 2024-01-27 12:43:58 +05:30
collaboratewithakash 574aafd91c
backlink updated 2024-01-27 12:42:09 +05:30
collaboratewithakash eedc5edc0c
backlink added 2024-01-27 12:34:26 +05:30
collaboratewithakash 3f39eac2d5
backlink added 2024-01-27 12:31:48 +05:30
collaboratewithakash 688c4e7879
backlink added 2024-01-27 12:23:35 +05:30
collaboratewithakash 15f6e37175
backlink added 2024-01-27 12:22:21 +05:30
collaboratewithakash d59f1de56a
backlink added 2024-01-27 12:21:03 +05:30
parthiv39731 d12f30cb54
Merge branch 'master' into PR-7319 2024-01-27 00:23:33 +05:30
Azhwani 899104d579
BAEL-6357: Convert Long to Date in Java (#15691)
Co-authored-by: Luis Javier Peris Morillo <javierperis@gmail.com>
2024-01-26 18:03:11 +01:00
parthiv39731 73ceac2bf3 BAEL-7396, Instantiate an Inner Class With Reflection in Java 2024-01-26 15:53:56 +05:30
DiegoMarti2 25c40ac1ca
baeldung-articles : BAEL-6777 (#15719)
* baeldung-articles : BAEL-6777

Normalize a URL in Java (commit)

* Update URLNormalizationUnitTest.java
2024-01-25 10:58:17 -08:00
Eugene Kovko 6c53d9f828
BAEL-7063: OOM example (#15730) 2024-01-25 10:56:45 -08:00
Mo Helmy 8154f89f17
Update PasswordValidationUsingRegexUnitTest.java (#15726)
Typo fixed
2024-01-25 09:17:03 -08:00
Kai Yuan cb34210a52
[unicode-from-number] BAEL-5832 (#15689) 2024-01-24 20:09:32 -06:00
Rajat Garg ec8bf626eb
Add new maven module (#15723)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-01-24 12:39:08 -08:00
Eugene Kovko 120c2357ee
Bael 7231 fixing typos (#15718)
* feat: Fix typo

* feat: Fix type
2024-01-24 12:29:55 -08:00
timis1 0c507be8d5
JAVA-30439 Align module names, folder names and artifact id - Week 4 - 2024 (#15709)
Co-authored-by: timis1 <noreplay@yahoo.com>
2024-01-24 12:29:42 +01:00
Mo Helmy 72cd365b26
This PR is related to BAEL-7174 (#15712)
* Update pom.xml

Add:        <module>core-java-regex-3</module>

* This commit is related to BAEL-7174

This commit aims to add a new module named "core-java-regex-3" and a new project named "passwordvalidation" to validate passwords using regex.

* Update PasswordValidationUsingRegexUnitTest.java

Change else-if to         assertTrue(matcher.matches());
2024-01-23 11:21:56 -08:00
@hangga 8a136fbffd isNotNegative 2024-01-23 06:23:29 +07:00
Hangga Aji Sayekti 9002959a19
Update core-java-modules/core-java-numbers-7/src/test/java/com/baeldung/securerandompositivelong/SecureRandomPositiveLongUnitTest.java
rename

Co-authored-by: Liam Williams <liam.williams@zoho.com>
2024-01-23 05:29:52 +07:00
Eugene Kovko b6c126b183
Bael 7231 (#15707)
* feat: Simple test with Junit Pioneer

* feat: Simple test for PATH env variable

* feat: Test for getting all the environment variables

* feat: Guardrails for an environment test

* feat: Fixed the test

* feat: Test for reflexive access to the environment

* feat: Renamed a test

* feat: Renamed a utility method

* feat: Removed unused import

* feat: Renamed a test class

* feat: Child process runner

* feat: Method and tag rename

* feat: Docker example

* feat: Testcontainer example

* feat: Cleanup and renames

* feat: Cleanup and renames

* feat: Prevent Docker test from running

* feat: Change assertion to JUnit to prevent adding assertj into the container

* feat: Renamed constants

* feat: Fixed the naming problem

* feat: Changed conditional execution

* feat: Changed conditional execution

* feat: Changed conditional execution
2024-01-22 10:33:11 -08:00
Mo Helmy 2b82e913a6
Update CheckIfStringContainsInvalidEncodedCharactersUnitTest.java (#15703)
Update:
assertTrue(found ? true : false);
to
assertTrue(found);
and 
assertTrue(matcher.find() ? true : false);
to
assertTrue(matcher.find());
2024-01-22 10:18:56 -08:00
davidmartinezbarua 7ff914a1b3
Merge pull request #15647 from sam-gardner/BAEL-7382-Calculate-number-of-weekdays-between-two-dates
BAEL-7382 Add code for calculating weekdays between two dates
2024-01-22 14:57:28 -03:00
Sam Gardner f3e944ebd7 BAEL-7382 Use JUnit 5 for tests 2024-01-22 15:02:39 +00:00
Sam Gardner f4e2bd8e39 BAEL-7382 Add date operations 4 to parent pom 2024-01-22 14:36:04 +00:00
Vini c8f486aff6
Merge pull request #15666 from sIvanovKonstantyn/master
BAEL-7453 - Convert byte[] to Byte[] and Vice Versa in Java
2024-01-22 13:53:23 +01:00
Loredana Crusoveanu bcab98e9c1
Merge pull request #15686 from rcalago/master
Updated README.md
2024-01-22 12:10:27 +02:00
@hangga fd4fb49426 simplify 2024-01-22 15:02:12 +07:00
Wynn Teo 2a327001e3
Migrated from old fork (#15628)
* Migrated from old fork"

exiytt
clear
"

* Update DateRangeOverlapCheckerUnitTest.java

Fix typo
2024-01-21 15:08:42 -06:00
@hangga b8d8087262 Double to double 2024-01-21 13:19:52 +07:00
Rajat Garg f0ef5ef472
Add code for Gregorian date to a Hijri date conversion (#15696)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-01-20 17:14:00 -08:00
Diegom203 320c1f3064
baeldung-articles : BAEL - 6856 (#15693)
Calculating the Power of a Number in Java Without Using Math pow() Method (commit)
2024-01-20 17:04:11 -08:00
Bhaskar Ghosh Dastidar 238e5fb473
[BAEL-7323] JFR EXAMPLE (#15650)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2024-01-20 09:52:42 -07:00
Kai Yuan 900ff584fe
[reset-listiterator] reset listiterator (#15645) 2024-01-20 09:59:41 -06:00