Commit Graph

2655 Commits

Author SHA1 Message Date
Gaetano Piazzolla
4744ca53b9 BAEL-5790 - Convert java.util.Date to java.sql.Date (#12917)
* BAEL-5790 - Convert java.util.Date to java.sql.Date

* BAEL-5790 - Renamed unit test

* BAEL-5790 | fixed test

* Update core-java-modules/core-java-date-operations-3/src/main/java/com/baeldung/utiltosqldate/UnitToSqlDateUtils.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>

* BAEL-5790 | renamed class

* BAEL-5790 | spaces

* BAEL-5790 | renaming class

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

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

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

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

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

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

* Update core-java-modules/core-java-date-operations-3/src/test/java/com/baeldung/utiltosqldate/UtilToSqlDateUtilsUnitTest.java

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

* BAEL-5790 - renamed unit test

Co-authored-by: Brandon Ward <brandon.ward1993@gmail.com>
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2022-11-07 10:40:22 -07:00
Loredana Crusoveanu
f8d306d31c Merge pull request #12803 from press0/patch-1
pom.xml - update streamex dependency so MergeMaps compiles on java 17
2022-11-07 16:42:41 +02:00
Loredana Crusoveanu
6ab30899bc Merge pull request #12978 from collaboratewithakash/master
a few backlinks added
2022-11-07 09:49:22 +02:00
panos-kakos
a12ce37137 [JAVA-13959] Alligned code with article (#12982)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-07 00:03:13 +05:30
davidmartinezbarua
8f548a969f Merge pull request #12967 from thibaultfaure/article/BAEL-5816-check-if-all-runnable-are-done-with-executor-service
BAEL-58616 Code for the Check If All Runnable Are Done article
2022-11-05 13:33:37 -03:00
collaboratewithakash
1033d0602b Update README.md 2022-11-05 16:24:24 +05:30
panos-kakos
bb97d17de3 [JAVA-13957] Added example for Timer functionality (#12906)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 16:23:30 +05:30
thibault.faure
fa413084df BAEL-58616 Code for the Check If All Runnable Are Done article 2022-11-05 11:36:41 +01:00
panos-kakos
3ab3b3c107 [JAVA-13958] Minor style changes + aligned code with article (#12889)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-05 15:28:01 +05:30
Kai Yuan
a02b3b49bb [slicingArrays] Slicing Arrays in Java (#12957) 2022-11-03 20:59:33 -05:00
edizor
401560f70f Update README.md
[skip ci]
2022-11-02 21:17:34 +08:00
edizor
fa6db9f95f Create README.md
[skip ci]
2022-11-02 21:08:28 +08:00
vunamtien
95f77aded8 calculate standard deviation (#12963)
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-11-01 08:38:06 -07:00
Olu
eb633a5b19 swapped the order of arguments for assertEquals() (#12956)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR

* swapped the order of arguments for assertEquals()
2022-10-31 14:08:59 -07:00
Kai Yuan
60bf069feb [URI-Creation] Difference Between URI.create() and new URI() (#12937)
* [URI-Creation] Difference Between URI.create() and new URI()

* [URI-Creation] split test methods for invalid & valid inputs
2022-10-29 21:00:33 -05:00
Arya
66177c4fa3 Added the test. (#12947) 2022-10-28 09:20:01 -07:00
Loredana Crusoveanu
01dae9c3f9 BAEL-5888-v2 2022-10-28 10:31:33 +03:00
Olu
ed73a65869 A Guide to LinkedHashSet in Java (#12932)
* Creating a Deep vs Shallow Copy of an Object in Java

* completed tests for LinkedHashSet

* update

* updated PR
2022-10-27 22:58:17 -07:00
edizor
f6a3385718 Update README.md 2022-10-26 22:39:48 +08:00
edizor
da11b6f03a Update README.md 2022-10-26 22:34:34 +08:00
edizor
da82e31868 Update README.md 2022-10-26 22:31:27 +08:00
edizor
65c650de5f Update README.md 2022-10-26 22:28:01 +08:00
edizor
8872a7f5b2 Update README.md 2022-10-26 22:24:42 +08:00
Ulisses Lima
d692ae68e2 BAEL-5678 - Creating Random Numbers With No Duplicates in Java (#12698)
* BAEL-5678 - Creating Random Numbers With No Duplicates in Java

Ready for review.

* BAEL-5678 - review

* using `isEmpty()` for `hasNext()`;
* using `assertEquals` instead of `assertTrue`;
2022-10-26 08:44:35 +02:00
Kai Yuan
e8cea91eb9 [strToStrArray] Convert String to string array in Java (#12899)
* [strToStrArray] Convert String to string array in Java

* [strToStrArray] add one more example
2022-10-24 20:20:37 -05:00
Kai Yuan
f725c19a87 [strToChar] Convert String to char in Java (#12893) 2022-10-23 09:50:15 -05:00
Shaun Phillips
d618636d2d BAEL-5681 Add colorful logging (#12794) 2022-10-20 18:31:20 +01:00
Ulisses Lima
3906d7d289 bael-5754 - quick fix
* adapting code to the article
2022-10-20 14:03:23 -03:00
Kai Yuan
b924157d00 [Capitalize_1st] Capitalize the First Letter of a String in Java (#12885) 2022-10-19 20:31:27 -05:00
panos-kakos
464068a987 [JAVA-13957] (#12870)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:25:46 +05:30
panos-kakos
c8946ccceb [JAVA-13966] Upgraded h2 database to 2.1.214 + clean up (#12711)
* [JAVA-13966] Upgraded h2 database to 2.1.214

* [JAVA-13966] fixed tests for libraries-apache-commons

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests

* [JAVA-13966] fixed tests JAVA-JPA MODULE

* [JAVA-13966] Made ninja submodule part of web-modules(parent)

* [JAVA-13966] Fixed naming convention for pmd

* [JAVA-13966] Moved tests of ninja-module to ManualTest category

* [JAVA-13966] Fix tests

Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:17:05 +05:30
kpentaris
187050311e Add application file for BAEL-4038 (#12851) 2022-10-19 17:23:17 +02:00
Loredana Crusoveanu
0eb15c9294 Merge pull request #12873 from edizor/master
Update README.md
2022-10-19 17:01:21 +03:00
ACHRAF TAITAI
3f5c70a90b BAEL-5791: Convert String to Instant (#12876) 2022-10-16 20:09:54 +02:00
edizor
0b20d21888 Update README.md 2022-10-16 11:38:21 +08:00
edizor
395075bd61 Update README.md
[skip ci]
2022-10-16 11:37:49 +08:00
edizor
95997796e8 Update README.md
[skip ci]
2022-10-16 11:32:23 +08:00
edizor
a53f63975b Update README.md
[skip ci]
2022-10-16 11:25:16 +08:00
edizor
5777b25996 Update README.md 2022-10-16 11:17:34 +08:00
edizor
a0917e4800 Update README.md
added link back to the article: https://www.baeldung.com/java-port-scanning
2022-10-16 11:12:39 +08:00
edizor
6b14638356 Create README.md 2022-10-16 11:00:58 +08:00
edizor
0a36b8e59e Update README.md 2022-10-16 10:47:33 +08:00
Ritu Priya
684f9f01e9 BAEL-5752: Check for valid URL in java (#12836) 2022-10-13 09:47:06 +05:30
Amit Kumar
3cd075e677 Difference Between Java Enumeration and Iterator by amitkumar88265@gmail.com (#12844)
* added Enumertion and Iterator code example

* formatted the code

* formatted the code

* move code examples to other modules

* corrected the pkg name

* corrected the pkg name

* fixed compile time issue

Co-authored-by: Amit Kumatr <amit.kumar@fyndna.com>
2022-10-13 08:45:13 +05:30
mdabrowski-eu
7b5336951b BAEL-5745 Mocking InputStream (#12845) 2022-10-11 10:14:08 +02:00
Kai Yuan
08c16d7238 [collect-into-treeSet] Using Streams to Collect into a TreeSet (#12834)
* [collect-into-treeSet] Using Streams to Collect into a TreeSet

* [collect-into-treeSet] move to core-java-collections-set-2
2022-10-10 19:58:20 -05:00
Vali Tuguran
bdf66ba235 BAEL-5733 Remove readme entry. (#12848)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.

* BAEL-5733 Remove readme entry.

* BAEL-5733 Remove readme entry.
2022-10-10 13:09:48 -07:00
Vali Tuguran
efd1d51440 BAEL-5733 Infinity in Java (#12843)
* Add deep vs shallow copy Java.

* Refactor sheep names.

* BAEL-5733 Add infinity in java test.

* Removed test article code.

* BAEL-5733 Refactor unit test classname.
2022-10-09 16:57:44 -07:00
tudormarc
4b517ba890 BAEL-5675 - variable initialization on declaration vs on constructor (#12800)
* BAEL-5675 - variable initialization on declaration vs on constructor

* moved classes under a different project
2022-10-07 07:57:45 -07:00
Loredana Crusoveanu
ca408fc307 Merge pull request #12768 from panos-kakos/JAVA-13956
[JAVA-13956] Update/Align code with article
2022-10-07 12:32:14 +03:00