Commit Graph

2707 Commits

Author SHA1 Message Date
Dhawal Kapil
f44ef7e503 JAVA-13941 Incremented version of esapi (#12621) 2022-08-19 23:09:28 +05:30
panos-kakos
738da848b7 [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
6216d4eb53 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
07659219a9 JAVA-13826: Align module names, folder names and artifact id (#12601) 2022-08-19 12:04:58 +05:30
Loredana Crusoveanu
8758c74b57 Merge pull request #12610 from Asjad-J/master
Updated README.md
2022-08-17 20:30:15 +03:00
sdhiray7
132818d356 [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
56ad2aa7c7 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
83a2c72e4b 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
c4259cba3e 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
cd4db56c34 JAVA-12628 Rename CountdownLatchResetExampleUnitTest (#12602) 2022-08-16 22:14:49 +05:30
Kai Yuan
6d61dae693 Named Placeholders in String Formatting (#12576)
* Named Placeholders in String Formatting

* assert notEqualTo
2022-08-15 19:48:15 -05:00
sdhiray7
401675634d [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
25c2c1fd50 BAEL-5674: added code examples for the article 2022-08-13 18:44:03 +02:00
Asjad J
c8c14a310d 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
ff5bf2db39 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
88048743b3 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
133f967b75 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
c6706b3477 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
a1cba10581 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
030de87fe7 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
d191f1bbb7 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
0e52611952 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
0f57319d9c 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
112fda8603 JAVA-13416 Converting to *LiveTest as it makes live call to httpbin URLs (#12573) 2022-08-06 23:56:44 +05:30
hesamghiasi
f4da85f3da 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
502d17adef Arrays.asList() vs Collections.singletonList() (#12552) 2022-08-03 21:38:13 -05:00
sdhiray7
1879e294a2 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
9403406f4c BAEL-5682 - Atomic vs Volatile (#12528)
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-08-01 20:16:24 -05:00
Geoffrey Churchill
e089b153dd Remove old method 2022-07-31 16:26:44 -04:00
Geoffrey Churchill
87db11ea65 Improve insertInStream
New version works with infinite streams and has constant space/time complexity.
2022-07-31 14:25:22 -04:00
Loredana Crusoveanu
c3c6b30b3c Merge pull request #12548 from Asjad-J/master
Updated links titles
2022-07-31 15:27:12 +03:00
Matei Cernăianu
ee96978ceb BAEL-5651: How to check if an integer is in a given range? (#12470)
* BAEL-5651: How to check if an integer is in a given range?

* BAEL-5651: How to check if an integer is in a given range?
2022-07-30 19:18:52 -04:00
ACHRAF TAITAI
7828348f35 BAEL-5643 : Replace at Specific Index in Java ArrayList (#12539) 2022-07-30 14:22:59 +02:00
lalitrajput72
bde661d2b5 [BAEL-5622] static vs instance initializer block (#12271)
* Deep copy vs Shallow copy Code commit

* Static and instance block

* Deep copy branch chanaged from master to other

* static vs instance block

* Update InstanceBlockExample.java

* Update StaticBlockExample.java

Co-authored-by: Lalit Rajput <lalit.rajput@globallogic.com>
Co-authored-by: paritoshsunny <sams.sunny.16@gmail.com>
2022-07-30 12:39:02 +02:00
Asjad J
5e650f4992 Updated README.md
Updated link title in README from 'Sealed Classes and Interfaces in Java 17' to 'Sealed Classes and Interfaces in Java'
2022-07-30 06:34:42 +05:00
Asjad J
4fa9305eae Merge branch 'eugenp:master' into master 2022-07-28 23:22:56 +05:00
Asjad J
92d15b611e Updated README.md
added link back to the articles: https://www.baeldung.com/java-string-remove-whitespace
2022-07-28 23:15:33 +05:00
davidmartinezbarua
dba64361b7 Merge pull request #12505 from thibaultfaure/articles/BAEL-5663-filter-java-stream-to-only-one-element
BAEL-5663 code for the filter java stream to only one element article
2022-07-28 14:44:35 -03:00
Avin Buricha
7edf38a5d5 Moved article code to new module (#12423) 2022-07-27 16:31:18 +02:00
Graham Cox
489a3e88ba BAEL-5686: Implementing a Map with Multiple Keys (#12531) 2022-07-26 21:11:45 +02:00
thibault.faure
426e13e635 BAEL-5663 code for the filter java stream to only one element article 2022-07-25 23:26:17 +02:00
Kai Yuan
681b611182 BAEL-5693 rm whitespace from a string (#12515) 2022-07-21 21:58:46 -05:00
anuragkumawat
28f23e32a0 JAVA-13328 Update Convert Byte Size Into a Human-Readable Format in Java 2022-07-16 14:28:46 +05:30
freelansam
18b7761f94 Merge branch 'master' into JAVA-13136 2022-07-15 10:01:48 +05:30
sampadawagde
b8205a7b5a JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
Haroon Khan
46e6b55c42 [JAVA-13290] Update record name 2022-07-14 10:50:07 +01:00
Asjad J
2b8e91ce77 Updated README.md
added link back to the article: https://www.baeldung.com/java-truncating-strings
2022-07-14 08:41:09 +05:00
Asjad J
e0d22bd9f1 Updated README.md
added link back to the article: https://www.baeldung.com/java-wildcard-imports
2022-07-14 08:32:27 +05:00
Asjad J
4d11207989 Updated README.md
added link back to the article: https://www.baeldung.com/java-full-path-of-jar-from-class
2022-07-14 08:28:02 +05:00
Asjad J
fd56a7c23f Updated README.md
added link back to the article: https://www.baeldung.com/java-clear-stringbuilder-stringbuffer
2022-07-14 08:23:36 +05:00