Commit Graph

2114 Commits

Author SHA1 Message Date
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