Commit Graph

42 Commits

Author SHA1 Message Date
Kai Yuan edeee5a571 Static ref non static (#15571)
* [rm-char-in-other-str] BAEL-7355 Remove characters from a string that are present in a second string

* [rm-char-in-other-str] shorten the package name

* [static-ref-non-static] static context ref non-static memebers
2024-01-11 20:22:00 -06:00
panos-kakos 9b299f01ae [JAVA-27683] Fix failing module core-java-modules - upgrade to JDK 17 (#15495) 2024-01-04 20:08:03 +02:00
vunamtien 51f2ed495b BAEL-7106-compress-and-uncompress-bytes-2 (#15398) 2023-12-15 08:29:22 +01:00
Kai Yuan 0323a8168c [sum-intarray-recursion] two recursion approaches to summing int-array (#15385) 2023-12-12 21:38:31 -06:00
Maiklins 3d685dc3b6 Merge branch 'master' into bael-7169-update-readme 2023-12-10 19:00:44 +01:00
mikr 2dba12e694 Update readme 2023-12-10 18:58:04 +01:00
Maiklins a4f17e64f4 Merge pull request #15350 from Michaelin007/finalstatic
Final Static Variables in Java
2023-12-10 18:35:08 +01:00
michaelin007 c3fe804379 https://jira.baeldung.com/browse/BAEL-7169 2023-12-09 00:22:41 +00:00
michaelin007 e6c2c4ab64 https://jira.baeldung.com/browse/BAEL-7169 2023-12-04 09:15:45 +00:00
michaelin007 f763b57b7a Final Static Variables in Java 2023-12-03 11:09:55 +00:00
michaelin007 692f3b201a Final Static Variables in Java 2023-12-03 07:22:15 +00:00
edizor d080d2f9f7 Update README.md
[skip ci]
2023-12-03 11:11:07 +08:00
danielmcnally285 1c10f4f35b change 2 spaces for fluent apis to 4 2023-11-18 20:25:43 +00:00
danielmcnally285 9784f5ec51 Merge branch 'eugenp:master' into danielmcnally285_return_first_non_null 2023-11-18 19:59:52 +00:00
vunamtien c6dbdeaaa5 BAEL-7106-compress-and-uncompress-bytes (#15216) 2023-11-14 12:41:43 +01:00
panos-kakos 47f7b926e6 [JAVA-26774] Upgraded mapstruct library to latest version 2023-11-12 07:32:39 +02:00
danielmcnally285 b31e6984ad rename test methods 2023-11-11 19:22:20 +00:00
danielmcnally285 2581618deb indent fluent apis 2 spaces 2023-11-11 19:17:28 +00:00
danielmcnally285 c03477e2bd rename returning first non empty optional test method 2023-11-11 19:14:58 +00:00
danielmcnally285 392928ccfa Remove unnecessary spy annotation and make unit tests package private 2023-11-06 20:59:54 +00:00
Ulisses Lima 03c615201f Update InterruptThread.java
Based on a comment:

Section 6 should be headlined with “Using System.exit()” since that’s what stops code execution, not the boolean variable (this is just a means to decide that execution should be stopped, like the negative array element in section 4.

Also it’s unclear why we’d need the “if (isInterrupted())” statement in the while loop of the 8th section: how should isInterrupted() be true one line after we’ve checked in the while loop header that it’s false? Admittedly there’s a little chance that the interrupt status changed between these 2 lines, but this if statement would make much more sense somewhere in the business logic code where more time has passed since the evaluation of “while (!isInterrupted())”… and if that business code doesn’t have that complexity/length, one should omit this if statement altogether, since it creates more confusion than it helps for timely reaction on an interruption.
2023-11-06 16:26:35 -03:00
danielmcnally285 a8e298e389 Modify Optional value to be more descriptive 2023-11-05 20:11:49 +00:00
danielmcnally285 8f01f45455 Modify givenTwoObjects_whenUsingGoogleGuavaMoreObjects_thenReturnFirstNonNull() unit test to have two extra local variables for readability 2023-11-05 12:06:33 +00:00
danielmcnally285 88a92d399c Add LazyEvaluate class 2023-11-05 11:43:32 +00:00
danielmcnally285 a33bdf8a03 Use String over Object for unit tests 2023-11-05 11:37:03 +00:00
edizor 60bdc1f505 Update README.md
[skip ci]
2023-10-20 22:06:57 +08:00
Vini d00863eeb2 Merge pull request #14720 from lajka/master
BAEL-6871: Using the Apache Commons Lang 3 for Comparing Objects in Java
2023-09-29 08:33:32 +02:00
edizor d68d446414 Update README.md
[skip ci]
2023-09-08 22:25:42 +08:00
lajka a0ca4e6438 BAEL-6871: Remove junit-jupiter-api dependency. 2023-09-05 19:44:37 +02:00
lajka 5116a17b36 BAEL-6871: Add code and tests demonstrating how to compare objects using apache commons lang 3. 2023-09-05 19:42:03 +02:00
Loredana Crusoveanu dcf2685179 Merge pull request #14691 from edizor/master
Update README
2023-09-04 09:41:35 +03:00
Partha Sutradhar 228598db3c [BAEL-6481] - Stop Executing Further Code in Java (#14076)
* Creating a Deep vs Shallow Copy of an Object in Java

* [BAEL-6481]-Stop Executing Further Code in Java

* [BAEL-6481] - Stop Executing Further Code in Java

* [BAEL-6481] - Stop Executing Further Code in Java

* [BAEL-6481] - Stop Executing Further Code in Java.

* [BAEL-6481] - Stop Executing Further Code in Java.

* [BAEL-6481] - Stop Executing Further Code in Java.

* [BAEL-6481] Stop Executing Further Code in Java.

* [BAEL-6481] Stop Executing Further Code in Java. Moved to core java numbers - 6

* [BAEL-6481] Stop Executing Further Code in Java.

* [BAEL-6481] Stop Executing Further Code in Java.

* [BAEL-6481] Stop Executing Further Code in Java.

* [BAEL-6481] Stop Executing Further Code in Java. [Commented the Test cases]

* [BAEL-6481] Stop Executing Further Code in Java. [Commented the Two Test]

* [BAEL-6481] Stop Executing Further Code in Java. [Fixed Method Name's]
2023-09-03 10:13:01 +05:30
edizor afb3d1c7cb Update README.md
[skip ci]
2023-09-01 19:29:30 +08:00
Bipin kumar b858b5521f JAVA-24381:Changes made for fixing pom indentation (#14633) 2023-08-28 18:28:01 +03:00
vunamtien 111379185d BAEL-6839-get-random-from-set (#14606)
* BAEL-6839-get-random-from-set

* edge cases
2023-08-20 08:34:15 +02:00
edizor d87ee38baa Update README.md
[skip ci]
2023-07-26 15:40:25 +08:00
Michael Olayemi 10613742da What is the maximum depth of the java call stack? (#14428)
* What is the maximum depth of the java call stack?

* What is the maximum depth of the java call stack?
2023-07-21 07:12:48 +05:30
edizor ec844f474d Update README.md
[skip ci]
2023-07-19 19:36:16 +08:00
edizor d097805ea3 Update README.md
[skip ci]
2023-07-19 19:35:36 +08:00
Tetiana 8be07c6b36 BAEL-6717 Convert One Enum to Another Enum in Java (#14400)
- added new module core-java-lang-6
- added data model and test for enums
2023-07-13 21:29:37 +02:00
Loredana Crusoveanu a0ca91aa6f BAEL-5727 move article 2023-03-09 10:58:27 +02:00
s047888 4b8a372be5 moved classes for BAEL-5727 to another module 2023-03-06 09:28:33 +01:00