Commit Graph

2085 Commits

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