edizor
73d56b217b
Update README.md
...
[skip ci]
2022-11-15 10:02:03 +08:00
Kilian Schneider
efe6e76d97
basler1337@gmail.com feat add element to array list at specific index ( #13025 )
...
* feat add element to array list at specific index
* add unit test for add element at index
2022-11-14 10:48:39 -08:00
Loredana Crusoveanu
984dc79473
Update README.md
2022-11-13 17:58:21 +02:00
panos-kakos
ca436ff5e0
[JAVA-13960] Clean up ( #12994 )
...
* [JAVA-13960] Clean up
* [JAVA-13960] Rename classes
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-11-13 17:46:26 +05:30
rehammuzzamil08
fc0c16a3ae
BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String ( #12827 )
...
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
- Move to a new module core-java-string-apis-2
* BAEL-5670: Add README.md file
* BAEL-5670: Add test cases to handle cases where decimal sepator is not a period or dot.
* BAEL-5670: Remove test cases to handle cases where decimal sepator is not a period or dot.
* BAEL-5670: Update ordering of modules in pom.xml
2022-11-13 09:38:48 +05:30
davidmartinezbarua
28f86cb991
Merge pull request #12999 from thibaultfaure/BAEL-5925-finding-max-date-in-object-list
...
BAEL-5925 Code for the finding max date in object list article
2022-11-12 01:25:11 -03:00
thibault.faure
2e126e794c
BAEL-5925 Code for the finding max date in object list article
2022-11-11 18:32:57 +01:00
edizor
3fb428a3c6
Update README.md
2022-11-11 16:09:02 +08:00
Loredana Crusoveanu
13698a3ed3
Merge pull request #12936 from achraftt/BAEL-5791-deleteDiedCode
...
BAEL-5791: adaptation after creating new module
2022-11-11 10:01:33 +02:00
Loredana Crusoveanu
1b48232d56
Merge pull request #12935 from achraftt/BAEL-5791-adaptation
...
BAEL-5791: Convert String to Instant (creating new module)
2022-11-11 10:00:03 +02:00
edizor
85ee80bad2
Update README.md
...
[skip ci]
2022-11-11 09:37:42 +08:00
edizor
1a6bad7f13
Update README.md
...
[skip ci]
2022-11-11 08:56:17 +08:00
edizor
3b43918cf7
Update README.md
...
[skip ci]
2022-11-11 08:45:29 +08:00
edizor
96575a8d64
Update README.md
...
[skip ci]
2022-11-11 08:41:08 +08:00
edizor
b87872336d
Update README.md
...
[skip ci]
2022-11-11 08:35:42 +08:00
press0@gmail.com
7d1c17443b
revert MapMax
2022-11-08 07:49:28 -06:00
press0@gmail.com
57b666b085
fix logger class ref
2022-11-08 07:32:12 -06:00
press0
3c895d237e
Merge branch 'eugenp:master' into master
2022-11-08 07:17:12 -06:00
Gaetano Piazzolla
d0c3a7dfd6
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
0a40935b0f
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
665046d667
Merge pull request #12978 from collaboratewithakash/master
...
a few backlinks added
2022-11-07 09:49:22 +02:00
panos-kakos
ca8e33e339
[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
1a4cc86a08
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
3716d4d472
Update README.md
2022-11-05 16:24:24 +05:30
panos-kakos
e7b46313fb
[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
43ba5e80a4
BAEL-58616 Code for the Check If All Runnable Are Done article
2022-11-05 11:36:41 +01:00
panos-kakos
7313894322
[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
0e244ce133
[slicingArrays] Slicing Arrays in Java ( #12957 )
2022-11-03 20:59:33 -05:00
edizor
3962acdd92
Update README.md
...
[skip ci]
2022-11-02 21:17:34 +08:00
edizor
b447862fa5
Create README.md
...
[skip ci]
2022-11-02 21:08:28 +08:00
vunamtien
5c281eb016
calculate standard deviation ( #12963 )
...
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-11-01 08:38:06 -07:00
achraftt
117469a04b
BAEL-5791: adapt pom file
2022-10-31 22:41:33 +01:00
Olu
1f1d49bcb1
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
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
achraftt
2c8a1ae6b9
BAEL-5791: adaptation after creating new module
2022-10-27 00:33:38 +02:00
achraftt
03a4639341
BAEL-5791: Convert String to Instant (creating new module)
2022-10-27 00:12:35 +02: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
press0@gmail.com
5eab831bb5
.
2022-10-08 22:30:21 -05:00
press0@gmail.com
1ad0c04839
simplify with comparingByValue()
2022-10-08 22:13:18 -05:00
press0@gmail.com
027cbaf9f9
simplify with comparingByValue()
2022-10-08 21:41:57 -05: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
press0
17095d09db
Update pom.xml
2022-10-01 17:49:27 -05: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
Asjad J
df4288aa25
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-body-mass-index-calculator
2022-09-30 16:56:23 +05:00
Asjad J
5d059c0d34
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-string-concatenation
2022-09-30 16:53:15 +05:00
Asjad J
dec93d7299
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-trifunction
2022-09-30 16:46:58 +05:00
Asjad J
d3380e2afc
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-filename-full-path
2022-09-30 16:40:50 +05:00
Asjad J
b35be2b56e
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-unique-random-numbers
2022-09-30 16:33:34 +05:00
Asjad J
3277d25002
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-date-unix-timestamp
2022-09-30 16:31:39 +05:00
Bogdan Cardoş
e8168990c5
BAEL-5754 Convert a List of String to a comma-separated String ( #12737 )
...
* BAEL-5617 Handle classes with the same name in Java
code samples
* BAEL-5617 Handle classes with the same name in Java
update project module
* BAEL-5754 Convert a List of String to a comma-separated String
code samples
* BAEL-5754 update unit test class name
* BAEL-5754 update unit test methods naming
* BAEL-5754 update tests order so to reflect the article
2022-09-30 10:08:08 +05:30
panagiotiskakos
0ad9dd0fea
[JAVA-13956] Update/Align code with article
2022-09-26 07:00:43 +03:00
Loredana Crusoveanu
0bc9d72e67
Delete ListOfHashMapsUnitTest.java
2022-09-24 18:28:58 +03:00
Kumar Prabhash Anand
c85e6ff506
BAEL-5765 - Updating scan a char unit tests ( #12751 )
...
* BAEL-5765 Adding scan a char unit tests
* BAEL-5765 updated class name as per the convention
* BAEL-5765 updated test cases naming strategy
* BAEL-5765 updated variable name
2022-09-23 09:45:58 -07:00
AndreiMandris
d5ad2e0ed8
BAEL-5692 Validate UUID String in Java ( #12635 )
...
* BAEL-5692 Validate UUID String in Java
* cleaned up the Main method
* added unit test for uuid validation
* renamed unit test method name
* formatted unit test
* removed unneeded file
* replaced gradle by maven
* removed gradle project
* moved project
* added readme file
* segregated unit tests by validator type.
* inlined the validating logic inside the unit tests
* moved the UUIDValidatorTest.java to core-java-uuid module
* renamed test
Co-authored-by: andrei-mandris <andrei.mandris.ext@deliveryhero.com>
2022-09-23 09:44:52 -07:00
collaboratewithakash
8e673b2ddb
Update README.md
2022-09-23 16:48:37 +05:30
collaboratewithakash
a9b07fe7c6
Update README.md
2022-09-23 16:39:30 +05:30
collaboratewithakash
b99ad6de82
Update README.md
2022-09-23 16:32:40 +05:30
collaboratewithakash
c6c747081d
Update README.md
2022-09-23 16:09:05 +05:30
collaboratewithakash
9d85dbf6b6
Update README.md
2022-09-23 16:04:39 +05:30
collaboratewithakash
eb56a08cb6
Update README.md
2022-09-23 15:49:46 +05:30
collaboratewithakash
ec1fa40010
Update README.md
2022-09-23 15:46:04 +05:30
collaboratewithakash
87c7c14924
Update README.md
2022-09-23 15:28:12 +05:30
collaboratewithakash
ea49f2c250
Update README.md
2022-09-23 15:22:58 +05:30
collaboratewithakash
4c54a43bd0
Update README.md
2022-09-23 15:20:27 +05:30
collaboratewithakash
5a944c0bfb
Update README.md
2022-09-23 15:18:11 +05:30
collaboratewithakash
a8c7136389
Update README.md
2022-09-23 15:06:59 +05:30
collaboratewithakash
316713e3bc
Update README.md
2022-09-23 15:06:07 +05:30
collaboratewithakash
5ef657d261
Update README.md
2022-09-23 15:05:09 +05:30
collaboratewithakash
b173787fe2
Update README.md
2022-09-23 15:02:06 +05:30
collaboratewithakash
fd08f00ed1
Update README.md
2022-09-23 15:01:12 +05:30
collaboratewithakash
2e4e368056
Update README.md
2022-09-23 15:00:33 +05:30
collaboratewithakash
288b01aa65
Update README.md
2022-09-23 14:30:48 +05:30
collaboratewithakash
e1a612b8c7
Update README.md
2022-09-23 14:29:51 +05:30
Mahn00rMalik
29d9ddb3b1
BAEL-5708: Create a BMI Calculator in Java ( #12695 )
...
* 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
2022-09-21 09:46:09 +05:30
Kumar Prabhash Anand
a8f010e50e
BAEL-5765 - Adding scan a char unit tests ( #12741 )
...
* BAEL-5765 Adding scan a char unit tests
* BAEL-5765 updated class name as per the convention
* BAEL-5765 updated test cases naming strategy
2022-09-20 12:52:25 -03:00
alemoles
062d7026cd
BAEL-5583 String concatenation: concat() vs + operator ( #12719 )
...
* BAEL-5583 String concatenation: concat() vs + operator (#10 )
* BAEL-5583 String concatenation: concat() vs + operator
2022-09-19 21:14:43 -05:00
davidmartinezbarua
74dcaa0935
Merge pull request #12738 from thibaultfaure/article/BAEL-5725-Trifunction-interface
...
BAEL-5725 code for the TriFunction interface article
2022-09-18 15:26:32 -03:00
thibault.faure
ed608d1ede
BAEL-5725 code for the TriFunction interface article
2022-09-18 12:01:28 +02:00
Loredana Crusoveanu
6b6a9f1556
Merge pull request #12734 from Asjad-J/master
...
Updated README.mds
2022-09-18 10:29:01 +03:00
Kai Yuan
a7fc8039ff
[extractFilename] Getting the Filename From a String Containing an Absolute File Path ( #12728 )
2022-09-17 10:00:11 -05:00
Asjad J
d61a319bb5
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-class-vs-classloader-getresource
2022-09-17 09:23:55 +05:00
Asjad J
a1ed83d554
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-fixed-size-queue
2022-09-17 09:20:45 +05:00
Asjad J
e8ed01721d
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-relative-path-absolute
2022-09-17 08:53:42 +05:00
Asjad J
e555a75dd2
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-static-fields-gc
2022-09-17 08:36:04 +05:00
Asjad J
471453d301
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-md5-checksum-file
2022-09-17 08:30:26 +05:00
Asjad J
cf2f7d3471
Updated README.md
...
added link back to the article: https://www.baeldung.com/roots-quadratic-equation/
2022-09-17 08:27:21 +05:00
Asjad J
7adda7e067
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-classes-same-name
2022-09-17 05:56:27 +05:00
Ulisses Lima
f3ef5a257f
BAEL-5666 - Create Date from Unix timestamp in Java ( #12650 )
...
* moving SpringBootPersistenceApplication class to its own package
* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.
* moving SpringBootPersistenceApplication class to its own package
* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.
* Spring Data MongoDB - Configure Connection
Ready for revision.
* fixed tests to reflect article changes
* BAEL-5657
* reverting BAEL-5657
* reverting BAEL-5657
* ready for review
* removing bael-5366
* removing bael-5366
* removing extra blank space
* bael-5666
editor review
* editor review
* long literals
* junit 5
* private constructor for utils
* junit5 assertThat
2022-09-16 22:31:27 +02:00
victorsempere
171e4bd7c8
BAEL-5699 ( #12674 )
...
* BAEL-5699
First draft of the article example
* BAEL-5699
Removed unused class FifoFixedSizeQueueRemoveOldestInOffer.java
Removed unused UnitTest for the removed class
Added some tests to check count attribute
2022-09-15 20:04:23 +01:00
apeterlic
f8ea63de51
Add Difference Between Class.getResource() and ClassLoader.getResource() ( #12669 )
...
* Add Difference Between Class.getResource() and ClassLoader.getResource()
* Fix - replace System.out with Logger
* Fix - move code to a different module
2022-09-15 19:57:43 +01:00
Mateusz Szablak
7e63494eb4
BAEL-5656 Constructing a Relative Path in Java from Two Absolute Paths or URLs ( #12726 )
2022-09-14 10:36:21 +05:30
Azhwani
b836dce329
move https://www.baeldung.com/java-hashmap-inside-list code to core-java-collections-list-4 module ( #12671 )
2022-09-14 00:52:30 +02:00
freelansam
dc1815c10c
JAVA-14673 - Fix formatting of POMs ( #12722 )
...
* JAVA-14673 - Fix formatting of POMs
* cleanup
2022-09-13 21:22:49 +05:30
Timothy Kruger
d07ff5878c
BAEL-5614 Remove Last Char from String Builder ( #12577 )
...
* BAEL-5614 Remove Last Char from String Builder
- Added initial code with main
- Added initial tests for each method going to be written on
* Update RemoveLastChar.java
* Update and rename RemoveLastCharTest.java to RemoveLastCharUnitTest.java
Co-authored-by: Grzegorz Piwowarek <gpiwowarek@gmail.com>
2022-09-12 12:49:27 +02:00
panos-kakos
ac619f1f4b
[JAVA-14461] Improvement/ making code more declarative ( #12710 )
...
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-09-11 11:59:03 +05:30
Kai Yuan
1b334f6a2d
Positive or negative ( #12706 )
...
* Check if a number is positive or negative in Java
* reformat single line if/else statements
* Check if a number is positive or negative in Java
* [positiveOrNegative] using compareTo() instead of == to compare float numbers
* [positiveOrNegative] re-org imports
2022-09-10 10:06:11 -05:00
Harry9656
cbcf5d4050
BAEL-5712: Improvement in Listing files under directory ( #12643 )
...
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-09-08 21:48:29 +01:00
Loredana Crusoveanu
b8bab5bcbe
Merge pull request #12556 from GeoffChurch/insertInStream
...
Improve `insertInStream`
2022-09-08 10:35:33 +03:00
davidmartinezbarua
c1a759900e
Merge pull request #12678 from thibaultfaure/article/BAEL-5709-find-roots-of-a-quadratic-equation
...
BAEL-5709 code for the Finding the roots of a quadratic equation article
2022-09-05 21:03:35 -03:00
thibault.faure
faaebaddbe
BAEL-5709 code for the Finding the roots of a quadratic equation article
2022-09-05 22:07:07 +02:00
Eugene Kovko
06fc7ae257
BAEL-4795: Static garbage collected fields ( #12693 )
...
* BAEL-4795: Static garbage collected fields
* BAEL-4795: Fix readAllBytes()
2022-09-05 08:45:31 -07:00
Asjad J
4346ab2887
Updated README.md
...
updated the link to article
2022-09-03 21:47:42 +05:00
Azhwani
44f273b735
BAEL-4623: Add a new section for Scanner article ( #12453 )
2022-09-03 12:51:25 +02:00
Asjad J
795cbd3325
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-integer-division-float-result
2022-09-02 09:00:15 +05:00
Asjad J
1215215c51
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-compare-characters
2022-09-02 08:56:20 +05:00
Asjad J
62abc51405
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-remove-last-character-stringbuilder
2022-09-02 08:54:02 +05:00
Asjad J
1ab14889e2
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-list-factors-integer
2022-09-02 08:50:53 +05:00
Bogdan Cardoş
c3204d4a2e
BAEL-5617 Handle classes with the same name in Java ( #12676 )
...
* BAEL-5617 Handle classes with the same name in Java
code samples
* BAEL-5617 Handle classes with the same name in Java
update project module
2022-09-01 07:33:41 -07:00
Ulisses Lima
8edd76ccb0
"Vendredi" is Friday in french, not Wednesday
2022-08-30 11:02:12 -03:00
vunamtien
72daf77666
BAEL-5615-gen-md5-checksum-of-file ( #12668 )
...
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-08-30 15:51:01 +02:00
Kai Yuan
78b7c6dcf8
Make Division of Two Integers Result in a Float ( #12658 )
2022-08-29 19:08:50 -05:00
Azhwani
15581547df
BAEL-5390: Compare Characters in Java ( #12633 )
...
* BAEL-5390: Compare Characters in Java
* create new module core-java-string-operations-5
2022-08-28 18:53:06 +02:00
Kai Yuan
d8599a4c35
Remove the last character of a Java StringBuilder ( #12653 )
2022-08-27 11:07:36 -05:00
Kai Yuan
0ea458117e
List all factors of a number in Java ( #12646 )
...
* List all factors of a number in Java
* format the map code in the test
2022-08-26 20:26:38 -05:00
Haroon Khan
eb24cfa8be
[JAVA-13010] Convert file tests to manual tests ( #12561 )
2022-08-26 14:17:08 +05:30
Asjad J
2da3b9df1d
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-armstrong-numbers
2022-08-25 21:45:03 +05:00
Asjad J
c086d40875
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-arrays-aslist-vs-list-of
2022-08-25 21:35:11 +05:00
Asjad J
6a2c013bf1
Updated README.md
...
added link back to the article: https://www.baeldung.com/locked-ownable-synchronizers
2022-08-25 21:31:46 +05:00
Asjad J
46b3bde188
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-toggle-boolean
2022-08-25 17:04:21 +05:00
Asjad J
8bc901c7d1
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-check-number-positive-negative
2022-08-25 16:59:44 +05:00
Asjad J
0a0edd8569
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-tostring-valueof
2022-08-25 16:23:45 +05:00
Kai Yuan
18d1cb40dc
Armstrong Number in Java ( #12637 )
2022-08-24 20:40:26 -05:00
kpentaris
876d78b188
[BAEL-4500] Add locked ownable synchronizers example code ( #12608 )
...
* Add locked ownable synchronizers example code
* refactor application snippet
2022-08-24 15:47:46 +02:00
Harry9656
77671ade4b
JAVA-5683: Difference Between List.of and Arrays.asList ( #12564 )
...
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-08-23 22:22:43 +01:00
Kai Yuan
a20006b451
toggle boolean ( #12618 )
2022-08-21 11:43:45 -05:00
Kai Yuan
842a71ad92
Check if a number is positive or negative in Java ( #12604 )
...
* Check if a number is positive or negative in Java
* reformat single line if/else statements
* Check if a number is positive or negative in Java
2022-08-20 21:46:14 -05:00
Dhawal Kapil
b38eb760d1
JAVA-13941 Incremented version of esapi ( #12621 )
2022-08-19 23:09:28 +05:30
panos-kakos
520c7d7083
[JAVA-13944] Upgrade lombok dependency for main pom.xml + child modules ( #12617 )
...
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:13:42 +05:30
panos-kakos
99adc6e67e
Java 13945 ( #12611 )
...
* [JAVA-13945] Upgrade guava version to 31.1-jre
* [JAVA-13945] Use guava.version property in child modules
* [JAVA-13945] Use guava.version property in child modules
* [JAVA-13945] revert changes
Co-authored-by: panagiotiskakos <panagiotis.kakos@libra-is.com>
2022-08-19 12:06:35 +05:30
freelansam
23f33d32fe
JAVA-13826: Align module names, folder names and artifact id ( #12601 )
2022-08-19 12:04:58 +05:30
Loredana Crusoveanu
fad5f79b8c
Merge pull request #12610 from Asjad-J/master
...
Updated README.md
2022-08-17 20:30:15 +03:00
sdhiray7
087a50b2e7
[BAEL-5661] Integer.toString(int i) vs String.valueOf(int i) ( #12606 )
...
* Initial commit for Object copy in Java
* review comments commit for Object copy in Java
* Initial commit for parseInt vs valueOf java
* Review comments commit for parseInt vs valueOf java
* Modify readme
* review comments
* build failure
* build failure retry
* build failure retry remove parseInt(java.lang.String,int,int,int)
* build failure add comment
* change examples
* review comments
* review comments 2
* review comments 3
* Initial commit for get current stacktrace
* Remove old files
* Name updates
* Jenkins error
* changes to file name
* Review comments
* Create unit test file
* Remove unnecessary files
* Update package name
2022-08-17 17:34:12 +02:00
Asjad J
aba86e1819
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-streams-multiple-filters-vs-condition
2022-08-17 16:37:28 +05:00
Asjad J
75d7bb2f55
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-string-formatting-named-placeholders
2022-08-17 16:27:03 +05:00
davidmartinezbarua
ff63982af2
Merge pull request #12590 from etrandafir93/features/BAEL-5674-streams-multiple-vs-single-filters
...
BAEL-5674: added code examples for the article
2022-08-16 15:55:52 -03:00
anuragkumawat
e96af43f40
JAVA-12628 Rename CountdownLatchResetExampleUnitTest ( #12602 )
2022-08-16 22:14:49 +05:30
Kai Yuan
8ce82953c5
Named Placeholders in String Formatting ( #12576 )
...
* Named Placeholders in String Formatting
* assert notEqualTo
2022-08-15 19:48:15 -05:00
sdhiray7
06ac43bc9e
[BAEL-5661] Integer.toString vs String.valueOf ( #12591 )
...
* Initial commit for Object copy in Java
* review comments commit for Object copy in Java
* Initial commit for parseInt vs valueOf java
* Review comments commit for parseInt vs valueOf java
* Modify readme
* review comments
* build failure
* build failure retry
* build failure retry remove parseInt(java.lang.String,int,int,int)
* build failure add comment
* change examples
* review comments
* review comments 2
* review comments 3
* Initial commit for get current stacktrace
* Remove old files
* Name updates
* Jenkins error
* changes to file name
* Review comments
* Create unit test file
* Remove unnecessary files
2022-08-14 20:23:47 +02:00
emanueltrandafir1993
536866c40b
BAEL-5674: added code examples for the article
2022-08-13 18:44:03 +02:00
Asjad J
f94832fc6a
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-arraylist-replace-at-index
2022-08-10 09:37:05 +05:00
Asjad J
0bd6992a8a
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-aslist-vs-singletonlist
2022-08-10 09:25:46 +05:00
Asjad J
659cfd8a27
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-interval-contains-integer
2022-08-10 09:23:50 +05:00
Asjad J
799fa1ade9
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-get-current-stack-trace
2022-08-10 09:21:59 +05:00
Asjad J
835a3457ba
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-volatile-vs-atomic
2022-08-10 09:14:15 +05:00
Asjad J
f4d37de96b
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-multiple-keys-map
2022-08-10 08:57:37 +05:00
Asjad J
c1c875b5b1
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-static-instance-initializer-blocks
2022-08-10 08:55:16 +05:00
Asjad J
989446fd3b
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-filter-stream-unique-element
2022-08-10 08:52:55 +05:00
Dhawal Kapil
b50060aea4
Task/java 13772 ( #12579 )
...
* JAVA-13772 Updated the link of PDF to a valid one
* JAVA-13772 Updated File url and checksum
2022-08-09 22:19:56 +05:30
Keerthi
cdb19ff6d5
JAVA-12045 : move java concurrency ebook content code to common module ( #12559 )
...
* JAVA-12045 : move java concurrency ebook content code to common module
* JAVA-12045: addressed the review comments .. renamed package names and placed core-java-concurrency-simple module in pom.xml
* JAVA-12045: removed duplicate module after renaming java-simple-module to core-java-simple-module
2022-08-08 18:56:55 +05:30
Dhawal Kapil
2db5fcea1e
JAVA-13416 Converting to *LiveTest as it makes live call to httpbin URLs ( #12573 )
2022-08-06 23:56:44 +05:30
hesamghiasi
ba99476330
fixing time ago unit tests ( #12560 )
...
* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone
* adding getCurrentTime method to TimeAgoCalculatorUnitTest in order to always return the same time and avoid problems related to reading date from local system.
adding two methods to TimeAgoCalculator to always return the same date as the current date in order to avoid problems related to reading current time from local host. One of these two methods accepts time zone
correcting some formattings
adding comments in code to clarify adding of getCurrentTime methods
* reverting changes to ZuulConfig
2022-08-06 19:08:59 +05:30
Kai Yuan
8ec8c01a67
Arrays.asList() vs Collections.singletonList() ( #12552 )
2022-08-03 21:38:13 -05:00
sdhiray7
a6ef4b67d1
BAEL-5608 - Get current stack trace java ( #12533 )
...
* Initial commit for Object copy in Java
* review comments commit for Object copy in Java
* Initial commit for parseInt vs valueOf java
* Review comments commit for parseInt vs valueOf java
* Modify readme
* review comments
* build failure
* build failure retry
* build failure retry remove parseInt(java.lang.String,int,int,int)
* build failure add comment
* change examples
* review comments
* review comments 2
* review comments 3
* Initial commit for get current stacktrace
* Remove old files
* Name updates
* Jenkins error
* changes to file name
* Review comments
2022-08-02 19:36:48 -05:00
Eugene Kovko
614795051e
BAEL-5682 - Atomic vs Volatile ( #12528 )
...
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00