Commit Graph

4152 Commits

Author SHA1 Message Date
DiegoMarti2 18f4f8b53e
baeldung-articles BAEL-7642 (#16255) 2024-03-28 21:09:49 -07:00
Liam Williams ef9d4a02d2
Merge pull request #16209 from sk1418/map-to-value->Set-of-keys
[map-to-value->Set-of-keys] Map<K,V> -> Map<V,Set<K>>
2024-03-28 13:31:38 +00:00
MohamedHelmyKassab 40879b5237
This PR is related to BAEL-6429 (#16250)
* This commit is related to BAEL-6429

This commit aims to add a .html file named test.

* This commit is related to BAEL-6429

This commit aims to add a test class named "OpenHtmlFilesUnitTest".

* Update OpenHtmlFilesUnitTest.java

The java.awt.HeadlessException occures, indicating that the current environment lacks a graphical display necessary for the Desktop class to function properly.
So i commented the method.
2024-03-27 22:34:21 -07:00
Bhaskar Ghosh Dastidar 5d38f245cd
[BAEL-6954] internet address resolution spi (#16245)
* [BAEL-6954] internet address resolution spi

* [BAEL-6954] internet address resolution spi

* [BAEL-6954] internet address resolution spi

* [BAEL-6954] internet address resolution spi

* [BAEL-6954] internet address resolution spi

* [BAEL-6954] internet address resolution spi
2024-03-27 22:22:17 -07:00
DiegoMarti2 d1e36a0b4e
baeldung-articles : BAEL-6607 (#16240)
Get a Path to a Resource in a Java JAR File.
2024-03-27 21:43:38 -07:00
Andrei Branza e4aa7a1206 Merge branch 'master' into BAEL-6421-PrintWriter-write-vs-print 2024-03-27 20:58:57 +02:00
Muhammad Asif 9e21e95e6f
BAEL-7030 Added the example code (#16085)
* BAEL-7030 Added the example code

* Removed public modifier
2024-03-27 17:57:34 +01:00
rcalago cfcbac873c
Update README.md 2024-03-27 10:28:57 +08:00
rcalago dd622e250d
Update README.md 2024-03-27 10:26:12 +08:00
rcalago 8cb77a1a88
Update README.md 2024-03-27 10:23:41 +08:00
rcalago 5792231765
Update README.md 2024-03-27 10:20:22 +08:00
rcalago 8da755ff7a
Update README.md 2024-03-27 10:12:36 +08:00
rcalago dede5abc97
Update README.md 2024-03-27 10:10:31 +08:00
Liam Williams e1e94a088a
Merge pull request #16165 from sk1418/map-stream-to-map
[map-stream-to-map] merge a stream of maps to a single map
2024-03-26 13:28:48 +00:00
Liam Williams bef52d4ac3
Merge pull request #16175 from sk1418/add-to-immutable-list
Add to immutable list
2024-03-26 13:28:25 +00:00
Liam Williams e57037e841
Merge pull request #15766 from adalagandev/BAEL-7131_InputStream_vs_InputStreamReader_in_Java_v2
BAEL-7131 version 1 - POST REPO re-writing the commit history issue.
2024-03-26 13:27:14 +00:00
vunamtien 82120f03d7
[JAVA-26659] Upgrade jacoco-maven-plugin (#16223) 2024-03-25 23:43:41 +01:00
MohamedHelmyKassab 452cdc58c9
This commit is related to BAEL-6972 (#16217)
This commit aims to add two classes Child and Parent.
2024-03-25 15:18:39 -07:00
Mo Helmy 17cb4108d4
This PR is related to BAEL-7427 (#16028)
* This commit is related to BAEL-7427

This commit aims to add a Main class.

* This commit is related to BAEL-7427

This commit aims to add a myFile.gz file to the resources folder.

* This commit is related to BAEL-7427

This commit aims to add a test class "ReadingGZIPUsingGZIPInputStreamUnitTest".

* This commit is related to BAEL-7427

This commit aims to add a myFile.gz file to the resources folder.

* Update Main.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update Main.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update Main.java

* Update Main.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update Main.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update Main.java

* Update ReadingGZIPUsingGZIPInputStreamUnitTest.java

* Update Main.java
2024-03-24 20:08:17 +00:00
Andrei Branza 0d7b2dee7e Merge branch 'master' into BAEL-6421-PrintWriter-write-vs-print 2024-03-24 16:06:07 +02:00
Andrei Branza 2b1f0b280e BAEL-6421 | Cleaned the module pom from duplicate dependencies. 2024-03-24 16:03:10 +02:00
Andrei Branza 992716d7ff BAEL-6421 | Added necessary tests for the PrintWriter write vs print method article 2024-03-24 15:59:14 +02:00
Kai.Yuan 47e4316d01 [map-to-value->Set-of-keys] Map<K,V> -> Map<V,Set<K>> 2024-03-23 17:23:38 +01:00
DiegoMarti2 9cc307e108
baeldung-articles : BAEL-6752 (#16195)
* baeldung-articles : BAEL-6752

When to Use Setter Methods or Constructors for Setting a Variable's Value in Java.

* baeldung-articles : BAEL-6752

When to Use Setter Methods or Constructors for Setting a Variable's Value in Java.

* Updating ConstructorsVersusSetterMethodsUnitTest.java

Rename functions
2024-03-22 14:08:14 -07:00
MohamedHelmyKassab 663d1831da
This commit is related to BAEL-6404 (#16201)
This commit aims to add a test class "UTF8ToISOUnitTest.java" To convert UTF-8 to ISO-8859-1 in Java.
2024-03-22 11:15:31 -07:00
Harry9656 04b7d05a76
[JAVA-32305] Failing test for External UrlCheckerUnitTest in core-java-networking-2 (#16174) 2024-03-22 16:36:21 +01:00
Loredana Crusoveanu 525d43f5b1
Merge pull request #16189 from rcalago/master
Update on README.md
2024-03-22 08:28:14 +02:00
Dominique Plante 0248e55803
Merge pull request #16018 from Imranalam28/master
[BAEL-7527] Find Peak Elements of a List
2024-03-21 15:59:09 -07:00
rcalago 1b599ba18d
Update README.md 2024-03-21 23:51:24 +08:00
rcalago c49c851800
Update README.md 2024-03-21 23:50:05 +08:00
rcalago 37004adaa0
Update README.md 2024-03-21 23:46:26 +08:00
rcalago add089ed5e
Update README.md 2024-03-21 23:39:20 +08:00
rcalago b31ede967f
Update README.md 2024-03-21 23:37:05 +08:00
rcalago 4a87ccbb01
Update README.md 2024-03-21 23:34:23 +08:00
rcalago 26c5a38a28
Update README.md 2024-03-21 23:24:39 +08:00
rcalago debd762c51
Update README.md 2024-03-21 23:14:03 +08:00
rcalago 3019e85e4f
Update README.md 2024-03-21 23:12:06 +08:00
rcalago 9dc79459fb
Update README.md 2024-03-21 23:10:40 +08:00
Wynn Teo 1d289c30b9
Bael 7641 (#16099)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* code demostration for ExecutorService vs CompletableFuture
2024-03-20 20:22:00 -05:00
DiegoMarti2 30b95b0161
baeldung-articles : BAEL-6402 (#16185)
* baeldung-articles : BAEL-6402

Normalizing the EOL Character in Java

* Add dep to pom.xml file
2024-03-20 15:02:21 -07:00
Kai.Yuan 0242528345 [add-to-immutable-list] replace list.copyof with collections.unmodifiableList 2024-03-20 17:20:04 +01:00
Wynn Teo 503774a05e
Bael 7616 (#15985)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* BAEL-7616 check if date object is yesterday

* Update test vars

* change the variable name prefix

* Update the test variable name
2024-03-19 20:07:54 -05:00
Kai.Yuan 356624bf22 [add-to-immutable-list] add elements to immutable list 2024-03-19 23:54:56 +01:00
danielmcnally285 9439463838 move BeforeEach to top of class 2024-03-19 20:02:44 +00:00
danielmcnally285 ab35aeabf7
Merge branch 'eugenp:master' into danielmcnally285_last_n_characters 2024-03-19 19:59:07 +00:00
Kai.Yuan 9456b4b953 [map-stream-to-map] updates.. 1 2024-03-19 09:32:58 +01:00
MohamedHelmyKassab 51ec697ebc
This commit is related to BAEL-6825 (#15981)
* This commit is related to BAEL-6825

This commit aims to add a test class "IntegersBitLevelUnitTest.java".

* Update IntegersBitLevelUnitTest.java

* Update IntegersBitLevelUnitTest.java

* Update IntegersBitLevelUnitTest.java

* Update IntegersBitLevelUnitTest.java
2024-03-18 20:24:13 +00:00
Bipin kumar 75ed16ffb5
[JAVA-31565] Changes made for update commons-validator (#16131) 2024-03-18 20:31:58 +01:00
Kai.Yuan 614d910766 [map-stream-to-map] merge a stream of maps to a single map 2024-03-18 20:02:15 +01:00
DiegoMarti2 bb3e43fdec
baeldung-articles : BAEL-6596 (#16143)
Check if a given time lies between two times regardless of date.
2024-03-18 11:40:01 -07:00
Liam Williams 89cb132fe1
Merge pull request #16137 from sk1418/calc-percentile
Calc percentile
2024-03-18 16:58:54 +00:00
Kai.Yuan e959114bc7 [add-to-immutable-list] wip 2024-03-17 17:27:57 +01:00
anujgaud cd5a95f764
Included import statements in Test file 2024-03-17 01:10:47 +05:30
anujgaud 9d0024b926
Apply formatting 2024-03-16 23:49:41 +05:30
anujgaud 576925e862
Create SetMatrixToZero.java 2024-03-16 23:36:32 +05:30
anujgaud 44aab18987
Delete core-java-modules/core-java-arrays-operations-advanced-2/src/main/java/com/baeldung/matrixToZero directory 2024-03-16 23:34:03 +05:30
anujgaud f88022796a
Create SetMatrixToZeroUnitTest.java 2024-03-16 23:32:11 +05:30
anujgaud 2922f0619f
Create SetMatrixToZero.java 2024-03-16 23:21:47 +05:30
danielmcnally285 96450ee79d add new lines before assert statements 2024-03-16 12:34:35 +00:00
danielmcnally285 82ca2b8b92 last n characters from string unit tests 2024-03-16 12:23:28 +00:00
Bipin kumar 8a2f4211c3
JAVA-32170_C_11: Changes made for Fix formatting of POMs - C_11 (#16112) 2024-03-15 23:54:51 +02:00
Bipin kumar 684902d716
JAVA-32170_C_10: Changes made for Fix formatting of POMs - C_10 (#16111) 2024-03-15 23:53:26 +02:00
Bipin kumar c3155551b6
JAVA-32170_C_09: Changes made for Fix formatting of POMs - C_09(#16110) 2024-03-15 23:52:33 +02:00
Bipin kumar f23750dcdc
JAVA-32170_C_08: Changes made for Fix formatting of POMs - C_08 (#16109) 2024-03-15 23:51:19 +02:00
Bipin kumar ce581549b9
JAVA-32170_C_07: Changes made for Fix formatting of POMs - C_07 (#16108) 2024-03-15 23:50:09 +02:00
Bipin kumar 8f0bbdb6c0
JAVA-32170_C_06: Changes made for Fix formatting of POMs - C_06 (#16107) 2024-03-15 23:48:49 +02:00
Bipin kumar d8aa0eeaef
JAVA-32170_C_05: Changes made for Fix formatting of POMs - C_05(#16106) 2024-03-15 23:46:57 +02:00
Bipin kumar 38c569055d
JAVA-32170: Changes made for Fix formatting of POMs - C_03 (#16105) 2024-03-15 23:43:53 +02:00
Bipin kumar c653562b79
JAVA-32170: Changes made for Fix formatting of POMs - C_02(#16104) 2024-03-15 23:42:20 +02:00
Kai.Yuan 2195e2c404 [calc-percentile] add 0 and 100 boundary test cases 2024-03-15 19:47:55 +01:00
adalagandev 83cc018515 BAEL-7131 - Removed InputStreamUnitTest as per Final review sugestions. 2024-03-15 18:08:35 +01:00
Bipin kumar 9236adee65
JAVA-32170: Changes made for Fix formatting of POMs - C_01(#16103) 2024-03-15 17:57:32 +02:00
Kai.Yuan 4c48476258 [calc-percentile] calc percentile 2024-03-15 14:45:38 +01:00
Loredana Crusoveanu 1ac881cfec
Merge pull request #16136 from collaboratewithakash/master
backlink updated
2024-03-15 12:27:11 +02:00
timis1 40326c74b1
[JAVA-32168] Cleanup un-committed or un-ignored artifacts - Week 11 - 2024 (#16124) 2024-03-15 09:11:50 +01:00
collaboratewithakash 99c68beb3c
backlink removed 2024-03-15 13:01:13 +05:30
collaboratewithakash 9fe8ce5906
backlink updated 2024-03-15 12:29:24 +05:30
collaboratewithakash 1bedbb4b2f
backlink added 2024-03-15 12:19:29 +05:30
collaboratewithakash 6a22da4d1c
backlink added 2024-03-15 12:17:09 +05:30
collaboratewithakash 6d4aae6ec9
backlink updated 2024-03-15 12:06:57 +05:30
Diegom203 f13baaf5d2
baeldung-articles : BAEL-7500 (#16084)
* baeldung-articles : BAEL-7500

Adding elements to a collection during iteration.

* I modify the ListIterationUnitTest.java
2024-03-14 11:58:01 -07:00
panos-kakos a39f20151d
[JAVA-30626] Clean up guava dependencies (#16098)
* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies

* [JAVA-30626] Clean up guava dependencies
2024-03-14 00:44:56 +01:00
Loredana Crusoveanu ea56a5b9f4
Merge pull request #16121 from collaboratewithakash/master
backlink added or updated
2024-03-13 15:31:18 +02:00
rcalago 9114dde558
Update README.md 2024-03-13 15:04:10 +08:00
rcalago ed5c492060
Update README.md 2024-03-13 15:01:37 +08:00
Harry9656 535d9a97b4
[JAVA-31568] Upgrade org.json and json-path libraries 2024-03-11 21:16:11 +01:00
sam-gardner a2b93f3128
JAVA-31562-Upgrade-liquibase-core-version (#15990) 2024-03-10 23:00:35 +01:00
adalagandev 63741db3d9 BAEL-7131 - Updated for final review comments 2024-03-10 22:34:19 +01:00
Kai.Yuan 38d0425b2f [calc-percentile] wip 2024-03-10 18:04:08 +01:00
Wynn Teo a3ff5e0ec6
Bael 7599 (#16022)
* BAEL-7490 read write file in separate thread

* Change the to try resources

* Update the code to sync with article

* BAEL-7599 find majority element

* Added additional check on unit test

* Update the index checking

* Update the return type to Integer
2024-03-09 20:42:08 -06:00
rcalago 14efc97f6a
Update README.md 2024-03-09 06:16:31 +08:00
rcalago 55ac1b1055
Update README.md 2024-03-09 06:06:45 +08:00
DiegoMarti2 8ca61a8c38
baeldung-articles : BAEL-6349 (#16067)
Obtaining the Last Path Segment of a URI in Java.
2024-03-08 09:22:29 -08:00
adalagandev 03b2f8bb58 BAEL-7131 - Updated pom.xml under core-java-io-apis-2 2024-03-07 23:53:35 +01:00
davidmartinezbarua 58a2d16101
Merge pull request #16030 from palani-a/BAEL-7495
BAEL-7495: Blowfish Encryption Algorithm
2024-03-07 19:28:58 -03:00
Dominique Plante 1ce195f8df
Merge pull request #15938 from yadavan88/BAEL-7588
Added code sample and test for getting initials for a name
2024-03-06 20:32:48 -08:00
Imran Alam b09f501333
Update PeakElementFinderUnitTest.java 2024-03-06 12:20:13 +05:30
Imran Alam c204c4c073
Update PeakElementFinder.java 2024-03-06 12:04:06 +05:30
Imran Alam dd251d2d33
Update PeakElementFinderUnitTest.java 2024-03-06 12:02:28 +05:30
Imran Alam 2f18d71810
Update SinglePeakFinderUnitTest.java 2024-03-06 12:01:13 +05:30