Commit Graph

2582 Commits

Author SHA1 Message Date
Loredana Crusoveanu
3e0495d2f6 Delete ListOfHashMapsUnitTest.java 2022-09-24 18:28:58 +03:00
Kumar Prabhash Anand
5c99f45724 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
44d5859215 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
508563663d Update README.md 2022-09-23 16:48:37 +05:30
collaboratewithakash
223ee1d13b Update README.md 2022-09-23 16:39:30 +05:30
collaboratewithakash
cff5aa2333 Update README.md 2022-09-23 16:32:40 +05:30
collaboratewithakash
ff6c807d14 Update README.md 2022-09-23 16:09:05 +05:30
collaboratewithakash
7adb9752c4 Update README.md 2022-09-23 16:04:39 +05:30
collaboratewithakash
d511751aad Update README.md 2022-09-23 15:49:46 +05:30
collaboratewithakash
caae34382d Update README.md 2022-09-23 15:46:04 +05:30
collaboratewithakash
11bbbb3396 Update README.md 2022-09-23 15:28:12 +05:30
collaboratewithakash
98e6b350e2 Update README.md 2022-09-23 15:22:58 +05:30
collaboratewithakash
753e2390b1 Update README.md 2022-09-23 15:20:27 +05:30
collaboratewithakash
03f38410ef Update README.md 2022-09-23 15:18:11 +05:30
collaboratewithakash
08011c3e15 Update README.md 2022-09-23 15:06:59 +05:30
collaboratewithakash
ba0adf0361 Update README.md 2022-09-23 15:06:07 +05:30
collaboratewithakash
42614fee58 Update README.md 2022-09-23 15:05:09 +05:30
collaboratewithakash
2da16acc6a Update README.md 2022-09-23 15:02:06 +05:30
collaboratewithakash
f48a4288ac Update README.md 2022-09-23 15:01:12 +05:30
collaboratewithakash
30dca8dc0d Update README.md 2022-09-23 15:00:33 +05:30
collaboratewithakash
68bc6e8336 Update README.md 2022-09-23 14:30:48 +05:30
collaboratewithakash
457d8616ad Update README.md 2022-09-23 14:29:51 +05:30
Mahn00rMalik
5776c6485c 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
10ea650c22 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
409f0fe2de 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
368dd6de19 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
d884bc35be BAEL-5725 code for the TriFunction interface article 2022-09-18 12:01:28 +02:00
Loredana Crusoveanu
cc482421f2 Merge pull request #12734 from Asjad-J/master
Updated README.mds
2022-09-18 10:29:01 +03:00
Kai Yuan
e7a5d82c57 [extractFilename] Getting the Filename From a String Containing an Absolute File Path (#12728) 2022-09-17 10:00:11 -05:00
Asjad J
d7574a79a9 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
75c6ecbc5b 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
7d32601369 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
ea0771fea0 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
8c507e35ae 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
f1c7ac4dc1 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
8f7c162892 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
3577acbabb 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
b868bf6440 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
3cfd7c0525 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
e780eb8e5d BAEL-5656 Constructing a Relative Path in Java from Two Absolute Paths or URLs (#12726) 2022-09-14 10:36:21 +05:30
Azhwani
bcec86e7ee 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
0583091fa2 JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
Timothy Kruger
ef485fb7d8 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
ce6cb9f98e [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
ff19b0e057 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
f39cb4b77a 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
575c2be85a Merge pull request #12556 from GeoffChurch/insertInStream
Improve `insertInStream`
2022-09-08 10:35:33 +03:00
davidmartinezbarua
31e634208b 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
44259afdf5 BAEL-5709 code for the Finding the roots of a quadratic equation article 2022-09-05 22:07:07 +02:00
Eugene Kovko
5de78bb4cb 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