Commit Graph

52 Commits

Author SHA1 Message Date
vunamtien b17f9029a1
[JAVA-31850] Split-or-move-core-java-lang-6 (#16484)
* [JAVA-31850] Split-or-move-core-java-lang-6

* [JAVA-31850] Split-or-move-core-java-lang-6: Fix missing dependency version of core-java-lang-7
2024-04-26 23:51:19 +02:00
Eugene Kovko df6b36303a
BAEL-7231: Moved the code to a separate module (#16272) 2024-04-25 08:51:31 -07:00
Harry9656 6b0c4b9a80
JAVA-26760: Updated and standardized the junit-jupiter-engine library (#16357)
* JAVA-26760: Updated and standardized the junit-jupiter-engine library

* JAVA-26760: Updated and standardized the mockito-junit-jupiter library

* fix mockito-junit-jupiter properties

* fix maven-custom-plugin/usage-example properties

* Fix quarkus-funqy

* JAVA-26760: Fix NamespacedHierarchicalStore error in junit
2024-04-23 18:45:06 +02:00
rcalago dfbbfee452
Update README.md 2024-02-03 08:56:36 +08:00
Bipin kumar bcba7da594
JAVA-30449 Fix formatting of POMs A_to_C (#15720) 2024-01-30 12:29:53 +02:00
collaboratewithakash eedc5edc0c
backlink added 2024-01-27 12:34:26 +05:30
Eugene Kovko 120c2357ee
Bael 7231 fixing typos (#15718)
* feat: Fix typo

* feat: Fix type
2024-01-24 12:29:55 -08:00
Eugene Kovko b6c126b183
Bael 7231 (#15707)
* feat: Simple test with Junit Pioneer

* feat: Simple test for PATH env variable

* feat: Test for getting all the environment variables

* feat: Guardrails for an environment test

* feat: Fixed the test

* feat: Test for reflexive access to the environment

* feat: Renamed a test

* feat: Renamed a utility method

* feat: Removed unused import

* feat: Renamed a test class

* feat: Child process runner

* feat: Method and tag rename

* feat: Docker example

* feat: Testcontainer example

* feat: Cleanup and renames

* feat: Cleanup and renames

* feat: Prevent Docker test from running

* feat: Change assertion to JUnit to prevent adding assertj into the container

* feat: Renamed constants

* feat: Fixed the naming problem

* feat: Changed conditional execution

* feat: Changed conditional execution

* feat: Changed conditional execution
2024-01-22 10:33:11 -08:00
rcalago 47d5fd11cb
Update README.md 2024-01-19 10:19:44 +08:00
rcalago a70ae5f8ac
Update README.md 2024-01-19 09:48:27 +08:00
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