Commit Graph

9787 Commits

Author SHA1 Message Date
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 169f3c756f Created README.md
added link back to the article: https://www.baeldung.com/spring-boot-3-spring-6-new
2022-08-10 09:19:50 +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 75c1f53f17 Updated README.md
added link back to the article: https://www.baeldung.com/spring-boot-properties-env-variables
2022-08-10 09:07:32 +05:00
Asjad J 35bb8070f6 Updated README.md
added link back to the article: https://www.baeldung.com/java-scan-annotations-runtime
2022-08-10 09:04:34 +05:00
Asjad J bc5a892105 Updated README.md
added link back to the article: https://www.baeldung.com/spring-deprecated-websecurityconfigureradapter
2022-08-10 09:00:59 +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
AttilaUhrin 8c08f53a2b [BAEL-5602] Fix docker issue with integration build, rename test to "LiveTest". (#12580) 2022-08-09 22:46:37 +05:30
Dhawal Kapil 595aa8fe3b JAVA-13632 Updated code for Mocking Void Methods with Mockito 2022-08-09 22:41:27 +05:30
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
davidmartinezbarua a00b34660a Merge pull request #12563 from thibaultfaure/improvement/BAEL-3644-performance-of-java-mapping-framework
BAEL-3644 improvement to the performance of java mapping framework ar…
2022-08-08 14:04:39 -03:00
Ulisses Lima c8a3e41be2 reverting BAEL-5657 2022-08-08 13:41:33 -03:00
Ulisses Lima d23e389a00 reverting BAEL-5657 2022-08-08 13:40:15 -03:00
Ulisses Lima 46aceb10ed BAEL-5657 2022-08-08 13:35:14 -03:00
Ulisses Lima 2312eab3b9 Merge branch 'eugenp:master' into master 2022-08-08 13:34:28 -03:00
anuragkumawat 8e74927325 JAVA-13132 Cleaned persistence-modules sub-modules poms (#12553)
* JAVA-13132 Cleaned persistence-modules sub-modules poms

* JAVA-13132 Moved testcontainers.version property up

* JAVA-13132 Update java-jpa-3 pom
2022-08-08 19:25:28 +05:30
freelansam 205aae4d4f JAVA-13736: Fix maven-generate-war parent (#12575) 2022-08-08 19:10:32 +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
Sameer 9528c51654 Articles/bael 4903 (#12572)
* conditional dependency demo

* added Gradle 7 submodule

Co-authored-by: s9m33r <no-reply>
2022-08-08 13:08:34 +02:00
Muhammad Abdullah Azam Khan ef0b7ea20c Update KafkaApplication.java (#12424)
* Update KafkaApplication.java

Added partition offset to the listener so that it can start consuming the messages from the beginning of the topic.

* Revert "Update KafkaApplication.java"

This reverts commit 28801f85174af8bf2d2bb89e1fb39b52c49a6cf0.

* Counting Messages

1. Counting messages from Producer offset
2. Counting messages from Consumer
3. Rest APIs to view the count

* Refactoring

* Adding 3rd programmatic method to count number of messages in Kafka topic

* Removing irrelevant code

* Server port removed
2022-08-08 09:33:20 +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
Loredana Crusoveanu 2a27f6e4f3 Merge pull request #12569 from panos-kakos/JAVA-13838
[JAVA-13838] Updated jackson dependency in main pom.xml
2022-08-06 16:29:26 +03:00
anuragkumawat eb91f373ce JAVA-13606 Remove mention of Mockito 2 as a separate library (#12571) 2022-08-06 18:35:30 +05:30
panagiotiskakos 4dd55bc517 [JAVA-13838] 2022-08-06 10:30:03 +03:00
Ulisses Lima e613538031 fixed tests to reflect article changes 2022-08-05 21:02:25 -03:00
Amitabh Tiwari d7d78df6f6 Update pom.xml 2022-08-05 22:15:12 +05:30
Dhawal Kapil 717e3fafdb JAVA-13629 More fixes and updates (#12566) 2022-08-05 01:19:05 +05:30
Dhawal Kapil 0dc36fdb43 BAEL-5230 Added code and test for Fauna IoT application article (#12554)
* BAEL-5230 Added code and test for Fauna IoT application article

* BAEL-5230 Removed secrets from the codebase

* BAEL-5230 Removed spring-boot-configuration-processor
2022-08-04 21:29:43 +02:00
ACHRAF TAITAI d24f73002a Load Image With Spring Boot and Thymeleaf (#12486)
* Load Image With Spring Boot and Thymeleaf

* Load Image With Spring Boot and Thymeleaf
2022-08-04 10:49:11 +02:00
Adrian Bob 81b05fb3ac BAEL-5638: Added display logged-in user details in Thymeleaf tutorial (#12524)
* BAEL-5638: Added display logged-in user details in Thymeleaf tutorial

* BAEL-5638: Removed unneeded security config
2022-08-04 09:24:49 +05:30
Kai Yuan 8ec8c01a67 Arrays.asList() vs Collections.singletonList() (#12552) 2022-08-03 21:38:13 -05:00
thibault.faure e5e320c1f7 BAEL-3644 improvement to the performance of java mapping framework article 2022-08-04 00:11:05 +02:00
Loredana Crusoveanu 82603cfaf4 Merge pull request #12431 from samdalvai/fix-cassandra-naming
Fix naming of parameters in documentation
2022-08-03 21:31:14 +03: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
davidmartinezbarua b58a7a7c12 Merge pull request #12543 from thibaultfaure/articles/BAEL-5664-using-env-variables-in-application-properties
Articles/bael 5664 using env variables in application properties
2022-08-01 12:59:13 -03:00
Geoffrey Churchill 8a88b469e0 Remove old method 2022-07-31 16:26:44 -04:00
kwoyke f5e90c1bc6 Merge pull request #12545 from freelansam/JAVA-12729
JAVA-12729: rename jackson module
2022-07-31 22:25:37 +02:00
kwoyke 75db30f1c1 Merge pull request #12538 from dkapil/task/JAVA-13629
Task/java 13629
2022-07-31 22:15:33 +02:00
kwoyke e07dba99a3 Merge pull request #12536 from dkapil/task/JAVA-13628
Task/java 13628
2022-07-31 22:13:25 +02:00
kwoyke 6356579778 Merge pull request #12555 from dkapil/task/JAVA-13627_2
JAVA-13627 Updated code to use assertThatThrownBy instead of assertTh…
2022-07-31 22:12:24 +02:00
kwoyke a07425cc49 Merge pull request #12549 from anuragkumawat/JAVA-13614
JAVA-13614 Look into How to Read HTTP Headers in Spring REST Controllers article
2022-07-31 21:57:54 +02:00
Geoffrey Churchill 5a1208f029 Improve `insertInStream`
New version works with infinite streams and has constant space/time complexity.
2022-07-31 14:25:22 -04:00
Dhawal Kapil 57aa81d552 JAVA-13630 Updated code for Mockito - Using Spies Article 2022-07-31 23:26:36 +05:30
Dhawal Kapil 25c755bb68 JAVA-13630 Updated code for Mockito - Using Spies Article 2022-07-31 23:23:37 +05:30
Dhawal Kapil d93e6d3bc0 BAEL-5230 Removed secrets from the codebase 2022-07-31 22:07:20 +05:30