Commit Graph

2197 Commits

Author SHA1 Message Date
Kai Yuan 146ffa71d0 [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 aaecc586b2 Added the test. (#12947) 2022-10-28 09:20:01 -07:00
Loredana Crusoveanu f6f67ff8cc BAEL-5888-v2 2022-10-28 10:31:33 +03:00
Olu 7ab9be3c1f 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 99a4d3fa68 Update README.md 2022-10-26 22:39:48 +08:00
edizor 32fdbae8a1 Update README.md 2022-10-26 22:34:34 +08:00
edizor ec23a5ce81 Update README.md 2022-10-26 22:31:27 +08:00
edizor b4ef4a40b0 Update README.md 2022-10-26 22:28:01 +08:00
edizor 01a44a7dbf Update README.md 2022-10-26 22:24:42 +08:00
Ulisses Lima 8ad8a38682 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 2dd61b7d54 [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 d1067b341f [strToChar] Convert String to char in Java (#12893) 2022-10-23 09:50:15 -05:00
Shaun Phillips 63bdc428b9 BAEL-5681 Add colorful logging (#12794) 2022-10-20 18:31:20 +01:00
Ulisses Lima 2635faa934 bael-5754 - quick fix
* adapting code to the article
2022-10-20 14:03:23 -03:00
Kai Yuan b8481873e9 [Capitalize_1st] Capitalize the First Letter of a String in Java (#12885) 2022-10-19 20:31:27 -05:00
panos-kakos bf1f0aa3da [JAVA-13957] (#12870)
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-10-20 00:25:46 +05:30
panos-kakos eb17d0e2ed [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 5bc5a0f717 Add application file for BAEL-4038 (#12851) 2022-10-19 17:23:17 +02:00
Loredana Crusoveanu 0da831a483 Merge pull request #12873 from edizor/master
Update README.md
2022-10-19 17:01:21 +03:00
ACHRAF TAITAI 7b44b2759f BAEL-5791: Convert String to Instant (#12876) 2022-10-16 20:09:54 +02:00
edizor c440c1e41f Update README.md 2022-10-16 11:38:21 +08:00
edizor d71fb7073e Update README.md
[skip ci]
2022-10-16 11:37:49 +08:00
edizor 869acf1646 Update README.md
[skip ci]
2022-10-16 11:32:23 +08:00
edizor 064ba95c28 Update README.md
[skip ci]
2022-10-16 11:25:16 +08:00
edizor 75419f0ddb Update README.md 2022-10-16 11:17:34 +08:00
edizor 01b80eddcc 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 34cd6b4434 Create README.md 2022-10-16 11:00:58 +08:00
edizor 09bac30288 Update README.md 2022-10-16 10:47:33 +08:00
Ritu Priya d39aa6b1c6 BAEL-5752: Check for valid URL in java (#12836) 2022-10-13 09:47:06 +05:30
Amit Kumar 63058bc24c 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 c4052100a0 BAEL-5745 Mocking InputStream (#12845) 2022-10-11 10:14:08 +02:00
Kai Yuan 6381f2b8ba [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 8aae0346cc 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 25a1270d7c 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 ae96297bc2 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 fde21ca87d Merge pull request #12768 from panos-kakos/JAVA-13956
[JAVA-13956] Update/Align code with article
2022-10-07 12:32:14 +03:00
panagiotiskakos 8623a48204 [JAVA-13956] Moved module to default-jdk9-and-above 2022-10-06 18:13:29 +03:00
ACHRAF TAITAI 78c64f6815 BAEL-5714 : Port Scanning with Java (edit after final review) (#12824) 2022-10-06 14:55:35 +02:00
Kai Yuan a474a8236c [init-boolean-array] Initializing a Boolean Array in Java (#12813) 2022-10-05 22:07:04 -05:00
Asjad J 33ccecc949 Updated README.md
added link back to the article: https://www.baeldung.com/java-list-to-text-file
2022-10-05 15:31:31 +05:00
Asjad J 12cbf8165e Updated README.md
added link back to the article: https://www.baeldung.com/java-set-vs-list
2022-10-05 15:24:57 +05:00
Asjad J 9ea69dcb61 Updated README.md
added link back to the article: https://www.baeldung.com/java-list-comma-separated-string
2022-10-05 15:20:48 +05:00
Mahn00rMalik 790e53837d BAEL-5767: Writing an ArrayList of Strings into a Text File (#12783)
* Deep vs Shallow copy of an object in java

* update indentaions

* Create a BMI Caclualtor in Java

* Create a BMI Caclualtor in Java

* Delete unused packages

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5708: Create a BMI Calculator in Java

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* Deleting files from core-java-io

* BAEL-5767: Writing an ArrayList of Strings into a Text File

* Removed files from core-java-11-2

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File

* BAEL-5767:Writing an ArrayList of Strings into a Text File
2022-10-04 14:03:59 +02:00
Satyarth Shankar a17886f406 list vs set unit test (#12807)
* BAEL-5751 test commit for checkin builds

* BAEL-5751 compiled with java 8

* BAEL-5751 small update

* BAEL-5751 added the core code

* BAEL-5751 moved code to a different module

* BAEL-5751 using assertArrayEquals

* BAEL-5751 new line at the end of file
2022-10-02 23:48:53 -07:00
Loredana Crusoveanu da104783ec Merge pull request #12796 from Asjad-J/master
Updated README.mds
2022-10-02 19:34:01 +03:00
Satyarth Shankar efa5e9fbeb list and set difference (#12787)
* BAEL-5751 test commit for checkin builds

* BAEL-5751 compiled with java 8

* BAEL-5751 small update

* BAEL-5751 added the core code

* BAEL-5751 moved code to a different module
2022-10-01 00:19:41 -07:00
Asjad J 0138aae9a1 Merge branch 'eugenp:master' into master 2022-09-30 22:39:40 +05:00
Asjad J e9eac5a7de Updated README.md
added link back to the article: https://www.baeldung.com/java-validate-uuid-string
2022-09-30 19:37:22 +05:00
Asjad J 2fe4e44b03 Updated README.md
added link back to the article: https://www.baeldung.com/java-scanner-character-input
2022-09-30 19:33:31 +05:00
ACHRAF TAITAI e0272416f8 Port Scanning with Java (#12767) 2022-09-30 14:50:21 +02:00