Commit Graph

4109 Commits

Author SHA1 Message Date
MohamedHelmyKassab 831acaf8cf
This PR is related to BAEL-7528 (#15865)
* Update pom.xml

Add:         <module>core-java-string-operations-8</module>

* This commit is related to BAEL-7528

This commit aims to add a new module "core-java-string-operations-8" to submit a test class "EmailAndPhoneMaskingUnitTest"
2024-02-12 09:59:03 -08:00
Rajat Garg 5e91827680
[BAEL-7530] Fix Norm calculation by performing sqrt operation (#15846)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-02-12 09:29:51 -08:00
Hangga Aji Sayekti ae80217d4f update experiment 2024-02-12 21:51:14 +07:00
adalagandev 8a0d5939f1 BAEL-7131 version 5 - renamed class name to end with UnitTest 2024-02-12 10:12:12 +01:00
adalagandev 17172ba21a BAEL-7131 version 4 - code review comments. 2024-02-11 19:48:18 +01:00
adalagandev 94fceedf7c BAEL-7131 version 3 - code review comments. 2024-02-11 19:11:39 +01:00
@hangga ae5bf3ddb1 update experiment 2024-02-11 18:38:26 +07:00
adalagandev 8aea75fd05 BAEL-7131 version 2 - code review comments. 2024-02-10 23:44:42 +01:00
Loredana Crusoveanu 55476ccf0e
Update README.md 2024-02-10 14:32:55 +02:00
Loredana Crusoveanu 5f54221338
Merge pull request #15843 from rcalago/master
Update on README.md
2024-02-10 14:30:49 +02:00
Neetika Khandelwal e96a590105 Stream Range test class 2024-02-10 14:41:30 +05:30
Liam Williams 6ada5de93e
Merge pull request #15815 from sk1418/mv-0-to-end-array
[mv-0-to-end-array] move zeros to the end
2024-02-09 16:13:15 +00:00
rcalago d0e7f691bc
Update README.md 2024-02-09 21:16:10 +08:00
rcalago 8db7b68f87
Update README.md 2024-02-09 21:13:37 +08:00
rcalago ea822291ba
Update README.md 2024-02-09 21:11:00 +08:00
rcalago ec78389487
Update README.md 2024-02-09 21:06:30 +08:00
rcalago e6eead9c43
Update README.md 2024-02-09 21:05:38 +08:00
rcalago 11954fe67f
Update README.md 2024-02-09 21:04:35 +08:00
rcalago bae515de06
Update README.md 2024-02-09 21:03:37 +08:00
rcalago d3e72540d7
Update README.md 2024-02-09 21:00:24 +08:00
Lucian Snare cd1c8de735 Fix suggestions 2024-02-08 23:23:51 -05:00
Lucian Snare 9ca5b38ad2 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-7487-resolve-multiple-completable-futures 2024-02-08 23:13:56 -05:00
Lucian Snare 195a0e06d7 Fix suggestions 2024-02-08 23:05:59 -05:00
Azhwani 21bc2e67ae
BAEL-7269: How to Convert Date to unix Timestamp in Java? (#15635) 2024-02-07 22:25:53 +01:00
Bipin kumar 322a38321c
JAVA-27677: Reactivate core-java-os-2 and spring-6-rsocket (#15675) 2024-02-07 12:44:13 +02:00
Liam Williams 28c39d25a0
Merge pull request #15692 from hangga/securerandom-positive-long
BAEL-7491 - Generating Unique Positive Long using SecureRandom in Java
2024-02-06 10:52:46 +00:00
Vini bb998a3863
Merge pull request #15811 from Imranalam28/master
[BAEL-7501] Immutable and Mutable Object Examples with Tests
2024-02-06 08:25:27 +01:00
Lucian Snare ec2a32838e Rework solution to handle individual exceptions 2024-02-05 22:08:37 -05:00
Ulisses Lima a57ecf1bef
Merge pull request #15801 from eugenp/comment-15080
Update givenInputFromConsole_whenUsingScanner_thenReadCharByChar
2024-02-05 18:04:25 -03:00
Amit Pandey 2de2d80c81
[JAVA-31110] - Upgrade to Hibernate modules to the latest version (#15807) 2024-02-05 20:51:32 +01:00
Ana Peterlic 52b14f539e Update import statement 2024-02-05 20:25:52 +01:00
Ana Peterlic 1899d70e91 Update ReadInputCharByCharUnitTest.java 2024-02-05 20:24:52 +01:00
Bhaskar Ghosh Dastidar f8b62d96f8
[BAEL-7501] Infix to Postfix (#15819)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2024-02-05 10:27:29 -08:00
Imran Alam 1732af8721
Update ImmutablePersonUnitTest.java 2024-02-05 15:29:01 +05:30
Imran Alam ac3959d261
Update MutableObjectExamplesUnitTest.java 2024-02-05 14:25:15 +05:30
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
adalagandev b2e89f3574 BAEL-7131 version 1 - POST REPO re-writing the commit history issue. 2024-01-29 14:46:50 +01: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
Andrea Giulio Cerasoni 8fa22f186f
Merge pull request #15678 from anujgaud/add-ssl-debug-logs
[BAEL-6064] Add code for enabling SSL Debug Logs
2024-01-20 12:13:39 +00:00
Andrea Giulio Cerasoni 3012714064
Merge pull request #15673 from niket17590/BAEL-7270-FileNameWithTimestamp
BAEL-7270 - Current Time as Filename
2024-01-20 12:04:46 +00:00
@hangga ce62cb3dc0 using Long.MAX_VALUE 2024-01-20 08:51:12 +07:00
@hangga 41370497fd assert that positive 2024-01-20 08:48:38 +07:00
ICKostiantyn.Ivanov d5eaf1d6cc BAEL-7453 - Remove the linebreak in assertions 2024-01-19 10:30:10 +01:00
rcalago 8efca6014e
Update README.md 2024-01-19 11:17:06 +08:00
rcalago c43d14ca7d
Update README.md 2024-01-19 11:13:27 +08:00
rcalago 87b2779371
Update README.md 2024-01-19 11:12:28 +08:00
rcalago 8eb237ad73
Update README.md 2024-01-19 11:11:31 +08:00
rcalago 1ab7993a38
Update README.md 2024-01-19 11:09:58 +08:00
rcalago 12ec2874df
Update README.md 2024-01-19 11:08:33 +08:00
rcalago d77d4012fe
Update README.md 2024-01-19 11:07:00 +08:00
rcalago 4fcc885c25
Update README.md 2024-01-19 11:02:57 +08:00
rcalago f19b0df6e5
Update README.md 2024-01-19 11:00:18 +08:00
rcalago 26ff2dd0f8
Update README.md 2024-01-19 10:56:52 +08:00
rcalago cc79f44015
Update README.md 2024-01-19 10:53:59 +08:00
rcalago 258db28a1e
Update README.md 2024-01-19 10:31:03 +08:00
rcalago 3c07d26ab0
Update README.md 2024-01-19 10:27:19 +08:00
rcalago 03da03f115
Update README.md 2024-01-19 10:20:41 +08:00
rcalago 47d5fd11cb
Update README.md 2024-01-19 10:19:44 +08:00
rcalago eadcceb093
Update README.md 2024-01-19 10:18:31 +08:00
rcalago 258a0bce53
Update README.md 2024-01-19 10:17:24 +08:00
rcalago 81f72be329
Update README.md 2024-01-19 10:15:48 +08:00
rcalago 10fc9b0de2
Update README.md 2024-01-19 10:14:37 +08:00
rcalago 2dd3290bdb
Update README.md 2024-01-19 10:11:51 +08:00
rcalago 3b2efb2ed2
Update README.md 2024-01-19 10:08:39 +08:00
rcalago a7e76aaeaa
Update README.md 2024-01-19 10:00:55 +08:00
rcalago bfa76d7e66
Update README.md 2024-01-19 09:59:55 +08:00
rcalago c7bd604f51
Update README.md 2024-01-19 09:58:22 +08:00
rcalago 2703827ea9
Update README.md 2024-01-19 09:56:47 +08:00
rcalago f1ea7001d8
Update README.md 2024-01-19 09:49:41 +08:00
rcalago a70ae5f8ac
Update README.md 2024-01-19 09:48:27 +08:00
Rajat Garg 82d2112665
Add code for rotating a vertex around certain point (#15683)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-01-18 16:37:35 -08:00
davidmartinezbarua b38e72cd5a
Merge pull request #15630 from thibaultfaure/articles/BAEL-7356-Morse-Code
BAEL-7356 Code for the Morse Code Translation in Java article
2024-01-18 19:50:44 -03:00
Maiklins e72e72790c
Update README.md 2024-01-18 22:19:34 +01:00
Maiklins 359cdeb004
Merge pull request #15649 from anujgaud/convert-byte-2-int
[BAEL-7462] Convert byte to int
2024-01-18 22:13:11 +01:00
Mo Helmy 5b76e4eace
This PR is related to BAEL-7174 (#15681)
* This PR is related to BAEL-7174

This PR aims to add a new test class "CheckIfStringContainsInvalidEncodedCharactersUnitTest".

* Update CheckIfStringContainsInvalidEncodedCharactersUnitTest.java

Updating if-else with ternary operator
2024-01-18 12:27:04 -08:00
DiegoMarti2 c97e529deb
baeldung-articles : BAEL - 6592 (#15682)
Difference between ZoneOffset.UTC and ZoneId.of("UTC")
2024-01-18 12:26:30 -08:00
anujgaud 3becb407b8
Add logging.properties file 2024-01-18 22:15:45 +05:30
anujgaud 6945c01ec7
Add unit tests for SSLDebugLogger 2024-01-18 22:14:45 +05:30
anujgaud 4b5a9dfbad
Add code for enabling SSL Debug logs 2024-01-18 22:13:33 +05:30
ICKostiantyn.Ivanov d6f5abfe6a BAEL-7453 - Add access modifiers to methods and classes. Add Assertions class static import 2024-01-18 14:09:06 +01:00
Niket Agrawal aee45fb149 NEW PR 2024-01-18 10:53:08 +05:30
ICKostiantyn.Ivanov bd1239c699 BAEL-7453 - Fix modifiers and naming for test classes fields 2024-01-17 11:19:10 +01:00
ICKostiantyn.Ivanov b1df562162 BAEL-7453 - Convert byte[] to Byte[] and Vice Versa in Java 2024-01-17 11:14:14 +01:00
Imran Alam 2315b0cb79 Created files for deep and shallow copy in java 2024-01-16 21:02:52 +05:30
timis1 9dd807367b
JAVA-30302 Review log statements for projects - Week 52 - 2023 (conti-2) (#15623) 2024-01-15 23:40:59 +02:00
Loredana Crusoveanu e876cf4db0 add missing resources 2024-01-15 21:58:50 +02:00
Andrea Giulio Cerasoni 9c51620159
Merge pull request #15627 from wynnteo/BAEL-7354
Migrated from old fork
2024-01-15 19:23:05 +00:00
Wynn Teo a662e499b9
Migrated from old fork (#15626) 2024-01-15 12:46:46 -06:00
anujgaud 444d747468
Add tests for byte to int conversion 2024-01-15 22:32:26 +05:30
anujgaud 84530dd8bb
Add byte to int conversion code 2024-01-15 22:31:09 +05:30
Mo Helmy 85c4162119
This commit is related to BAEL-7028 (#15648)
This commit aims to add two classes:
       -  PrintMessageWithoutMainMethod
       - PrintMessageWithoutMainUnitTest
2024-01-15 08:49:23 -08:00
Sam Gardner 9231d3611c BAEL-7382 Add code for calculating weekdays between two dates 2024-01-15 14:35:18 +00:00
Thibault Faure fc231c59ff BAEL-7356 Code for the Morse Code Translation in Java article 2024-01-14 13:46:57 +01:00
SGWebFreelancer 44300ba227 Migrated from old fork 2024-01-14 18:01:41 +08:00
DiegoMarti2 f75ab1c847
baeldung-articles : BAEL-7180 (#15616)
Check if a float value is equivalent to an integer value in Java.
2024-01-13 14:38:34 -08:00
Kai Yuan a6222f4432 [util-sql-date-improvement] add sqlDate -> utilDate (#15578)
* [util-sql-date-improvement] add sqlDate -> utilDate

* [util-sql-date-improvement] clean up imports
2024-01-12 19:21:05 -06:00
Liam Williams aad40a8de2 Merge pull request #15281 from Neetika23/print2DArray
Print2 d array
2024-01-12 15:53:38 +00:00
rcalago 0e637e8dfd Update REAME.md 2024-01-12 21:15:39 +08:00
Kai Yuan edeee5a571 Static ref non static (#15571)
* [rm-char-in-other-str] BAEL-7355 Remove characters from a string that are present in a second string

* [rm-char-in-other-str] shorten the package name

* [static-ref-non-static] static context ref non-static memebers
2024-01-11 20:22:00 -06:00
Kai Yuan 9b6a2a0236 [fileWriter-flush-close] FileWriter flush() and close() (#15559) 2024-01-11 20:12:52 -06:00
DiegoMarti2 9e5f305c32 Update JodaDateTimeToDateAndViceVersaUnitTest.java (#15587)
assertEquals(jodaDateTime.getMillis(), javaDate.getTime());
assertEquals(javaDate.getTime(), jodaDateTime.getMillis());
2024-01-11 09:28:24 -08:00
MohamedHelmyKassab d317cbf552 This commit is related to BAEL-6873 (#15579)
This commit aims to add a class "ReadInputCharByChar" that provides several approaches to read input char by char.
2024-01-10 15:24:01 -08:00
Kai Yuan c41bd80850 [call-a-method-oneach] call a method on each element (#15540)
* [call-a-method-oneach] call a method on each element

* [call-a-method-oneach] fix typo
2024-01-09 19:01:27 -06:00
DiegoMarti2 a94bf971f5 baeldung-articles : BAEL-7403 (#15573)
* baeldung-articles : BAEL-7403

Convert Joda-Time DateTime to Date and Vice Versa

* (Move) baeldung-articles : BAEL-7403

Move the code to this module.
2024-01-09 14:13:10 -08:00
Harry9656 5136e7349b JAVA-27804: Remove explicit logging dependency (#15448) 2024-01-09 09:48:12 +02:00
vaibhav007jain 40dc851047 Bael 7163 (#15532)
* Create StreamFromEmptyList.java

Initial Commit

* Create StreamFromEmptyListUnitTest.java

Initial commit of StreamFromEmptyListUnitTest.

* Create README.md

Adding README file.

* Create pom.xml

* Create pom.xml

* Create REAME.md

* Delete core-java-modules/core-java-streams-6/src/README.md

* Delete core-java-modules/core-java-streams-6/src/pom.xml

* Update pom.xml

* Update pom.xml
2024-01-09 10:11:00 +05:30
Wynn Teo c23c21e38e First draft of future vs promise (#15547) 2024-01-08 21:45:45 -06:00
Mikhail Polivakha 7a14fcdb32 BAEL-7340 Using Custom TrustStore in Java (#15562)
* BAEL-6953 implemented

* BAEL-6953 added live test

* Fixed test

* BAEL-7340 Using Custom TrustStore in Java

* BAEL-7340 Added explicit --add-exports statement for core-java-security-4
2024-01-08 19:08:14 -08:00
Neetika23 13c2b756d3 Update pom.xml 2024-01-08 23:54:15 +05:30
Eugene Kovko 0e38c09d04 BAEL-7448: BigDecimal to Integer (#15569) 2024-01-07 19:07:28 -08:00
Mo Helmy b41a78fb39 This commit is related to BAEL-7024 (#15564)
This commit aims to add a new test class "ReplaceNonPrintableCharsUnitTest".
2024-01-07 19:01:27 -08:00
Eugene Kovko 36edee6be7 BAEL-7447: Integer to BigDecimal (#15563) 2024-01-07 18:50:22 -08:00
Neetika23 b57ecaab79 Update Print2DArraysUnitTest.java 2024-01-08 00:18:33 +05:30
rcalago a3c39aa983 Update README.md
Added link to relevant articles
2024-01-07 10:46:40 +08:00
rcalago 6453003f3f Update README.md
Added link to relevant articles
2024-01-07 10:44:26 +08:00
Kai Yuan ec3fcc078d [rm-char-in-other-str] BAEL-7355 Remove characters from a string that… (#15531)
* [rm-char-in-other-str] BAEL-7355 Remove characters from a string that are present in a second string

* [rm-char-in-other-str] shorten the package name
2024-01-05 20:20:08 -06:00
Rajat Garg d3e944a159 Check if a point lies between 2 points (#15554)
Co-authored-by: rajatgarg <rajatgarg@adobe.com>
2024-01-05 14:29:56 -08:00
Vini 20c3c8e7cc Merge pull request #15557 from DiegoMarti2/master
Update CheckIfListContainsEnumUnitTest.java
2024-01-05 21:52:04 +01:00
DiegoMarti2 53e1229492 Update CheckIfListContainsEnumUnitTest.java 2024-01-05 20:13:06 +02:00
panos-kakos 9b299f01ae [JAVA-27683] Fix failing module core-java-modules - upgrade to JDK 17 (#15495) 2024-01-04 20:08:03 +02:00
Eugene Kovko 6114e0534f BAEL-7408: Added braces (#15552) 2024-01-04 09:46:35 -08:00
Eugene Kovko 506c2cedc1 Bael 7408 (#15541)
* BAEL-7408: SinglyLinkedList Example

* BAEL-7408: Extract Node interface

* BAEL-7408: Setup for WrappedNode LinkedList

* BAEL-7408: Removed WrappedNode and cleaned the example

* BAEL-7408: Removed Node interface

* BAEL-7408: Additional test for removeLast
2024-01-03 19:17:12 -08:00
panos-kakos 88786dc076 [JAVA-29474] Replace commons-lang with commons-lang3 (#15514) 2024-01-03 22:21:49 +01:00
Vini 5c6e53c15a Merge pull request #15537 from DiegoMarti2/master
BAEL-7041
2024-01-03 08:36:29 +01:00
Maiklins 3f357f85a4 Merge pull request #15539 from Maiklins/BAEL-7368-update-readme
Update README.md
2024-01-02 21:19:58 +01:00
Maiklins b9bfb7daab Update README.md 2024-01-02 20:39:45 +01:00
Maiklins 4d558554b5 Merge pull request #15513 from danielmcnally285/danielmcnally285_string_to_long
BAEL-7368 - String to Long
2024-01-02 20:30:07 +01:00
Amit Pandey c03ed0c608 Make changes to remove relativepath from child modules like core java (#15535)
* Make changes to remove relativepath from child modules like core java

* Change some version numbers to minimize changes

* Fix tests

* Make the test more generic so that we dont have to hard code strings as it will require change every new year
2024-01-02 23:14:18 +05:30
DiegoMarti2 3ae82245ee BAEL-7041
Commit for the article "Check if List Contains At Least One Enum" which adds the "CheckIfListContainsEnumUnitTest" class to check if a list contains an enum in Java.
2024-01-02 16:16:26 +02:00
danielmcnally285 f94fd0ea86 Merge branch 'eugenp:master' into danielmcnally285_string_to_long 2024-01-01 20:10:12 +00:00
anuragkumawat 2096eac575 JAVA-29231 Move modules inside existing container modules (#15492) 2024-01-01 21:27:05 +02:00
danielmcnally285 441d470b44 remove public access modifier 2024-01-01 17:43:08 +00:00
danielmcnally285 c9c82e9e33 Merge branch 'eugenp:master' into danielmcnally285_string_to_long 2024-01-01 17:39:25 +00:00
Kai Yuan 37aa0612df [str-length] string length vs string.bytes.length (#15518)
* [str-length] string length vs string.bytes.length

* [str-length] add relative path to the core-java-modules
2023-12-31 09:24:53 -06:00
danielmcnally285 36cbde1b9c add relative path to core-java-modules 2023-12-31 13:45:25 +00:00
danielmcnally285 90ebc6921c rename unit test methods to be more precise 2023-12-29 14:58:56 +00:00
danielmcnally285 975db60d35 use 2147483648 as string for unit tests 2023-12-29 13:59:31 +00:00
danielmcnally285 0efd1c3106 Use 1234567 string for unit tests 2023-12-29 12:57:12 +00:00
danielmcnally285 4ba7ed5d80 string to long primitive or long object unit tests 2023-12-29 11:54:15 +00:00
Neetika23 8c9636c5c6 Update Print2DArraysUnitTest.java 2023-12-28 20:47:47 +05:30
panos-kakos 7d2fc1fe88 [JAVA-26773] (#15417)
* [JAVA-26773]

* [JAVA-26773]
2023-12-28 16:11:35 +01:00
Neetika23 5f0cc26b40 Delete core-java-modules/core-java-arrays-guides/src/test/java/com/baeldung/print2DArrays directory 2023-12-28 20:33:02 +05:30
Neetika23 cc3efa5c86 Update Print2DArraysUnitTest.java 2023-12-28 20:31:38 +05:30
Neetika23 458c3493e6 Update Print2DArraysUnitTest.java 2023-12-28 20:22:23 +05:30
timis1 05aa00c4c8 JAVA-26077 Update the lombok version (#15493)
Co-authored-by: timis1 <noreplay@yahoo.com>
2023-12-27 21:04:34 +01:00
Neetika23 03949adeed Update Print2DArraysUnitTest.java 2023-12-27 23:50:18 +05:30
anuragkumawat a347c74e04 JAVA-29004 Remove parent-java module (#15477) 2023-12-27 18:47:23 +02:00
Sam 223c679535 Bael 7184 (#15325)
* implementing BAEL-6833

* implementation for BAEL-7115

* feedback fixes

* Moving code folder as per feedback

* renaming logic class folder name

* code implementation

---------

Co-authored-by: technoddy <mail.technoddy@gmail.com>
2023-12-27 10:37:40 -06:00
panos-kakos 5ead3608ac [JAVA-27621] Moved article "Remove Duplicate Values From HashMap in Java" to core-java-collections-maps-3 (#15464) 2023-12-26 20:15:47 +01:00
panos-kakos 21347e6cf2 [JAVA-29409] (#15483) 2023-12-26 10:17:23 +05:30
Wynn Teo 4b6c1c6e05 First version of Iterator vs For Loop unit testing (#15365)
* First version of Iterator vs For Loop unit testing

* Add a new line after package

* Update the method name
2023-12-22 20:27:39 -06:00
Maiklins afac7049fb Merge pull request #15408 from Michaelin007/master
Calculate Months Between Two Dates in Java
2023-12-22 08:43:15 +01:00