Commit Graph

93 Commits

Author SHA1 Message Date
sampadawagde 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
mdabrowski-eu 40e42f8d45 BAEL-5557 Split a stream into parts (#12238)
* BAEL-5557 Split a stream into parts

* BAEL-5557 fix main pom.xml

* BAEL-5557 fix mvn profiles

* BAEL-5557 articles with equals and hashcode

* BAEL-5557 migrate assertions to assertj

* BAEL-5557 better assertions
2022-06-30 10:26:34 +01:00
sampadawagde 90ba68c233 JAVA-12730: readme changes 2022-06-26 16:52:45 +05:30
sampadawagde 16f7224c44 JAVA-12730: modify parent pom 2022-06-26 16:26:33 +05:30
tudormarc 20dc126a64 BAEL-5560 - checking even and odd numbers (#12388) 2022-06-24 09:27:48 +05:30
keerthigadde 7d17e565cf corrected deleted line 2022-06-03 15:43:09 +10:00
keerthigadde d5117336ed JAVA-12099 moved java-numbers modules to core-java-modules 2022-06-03 15:10:13 +10:00
Eric Martin 4f8d67b7c1 BAEL-5577: Moving code to core-java-collections-4 (#12210)
Co-authored-by: martine <martine@OLA-3NBL1N2.mshome.net>
2022-05-14 11:17:48 -05:00
Mateusz Szablak 7e5463390b BAEL 5414 - Java null check why use == instead of .equals() (#12124) 2022-05-05 08:50:19 +05:30
anuragkumawat 9990d103cd JAVA-11533 Move core-java related modules to core-java-modules (#12119)
* JAVA-11533 Move core-java related modules to core-java-modules

* JAVA-11533 Remove moved modules from old parent pom

* JAVA-11533 Updated Readme and pom of parent module

* JAVA-11533 Revert changes made to Readme of parent module

* JAVA-11533 Moved articles to respective submouldes
2022-05-04 20:15:22 +05:30
sampadawagde b8176a265a JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
Elmar Mammadov e65fe9db25 BAEL-5350: Java - How to create new Entry (key, value) (#11817)
* BAEL-5350:
1. Added example usage of creating entries with Java itself
2. Added example usage of creating entries with Apache commons collecttions & Guava
3. Custom entry class and its usages

* BAEL-5350:
1. Created unit tests

* BAEL-5350:
1. simplifed assertion for java 9 entry creation

* BAEL-5350:
1. moved into core-java-collections-maps-4 module
2. updated custom entry class and its unit test
2022-02-26 09:54:07 +05:30
vaibhav007jain 1bf44ff8ef BAEL-5280: added code for ArrayIndexOutOfBoundsException. (#11772)
* commited initial code for hexagonal architecture

* Deleting to check in again

* Deleing to check in again

* Push first code for Hexagonal Architecture

* final code with UT for JSON to Java conversion

* removed hexagonal-architecture code from last commit

* BEL-5071 updated README

* BAEL-5071: Undo README changes and added a nested object in the JSON example.

* BAEL-5071: fixed whitespace/indentation in JsonToJavaClassConversion.java

* BAEL-5151: Added code for getting the first of a String

* BAEL-5151: Renamed Unit Test

* BAEL-5151: Moved the files from core-java-string-operations to core-java-string-operations-3

* BAEL-5151: Replaced tabs with white spaces.

* BAEL-5228: Adding code for approaches to concatening null string in java

* BAEL-5228: Moved file to correct folder and added a UT.

* BAEL-5228: corrected import statements.

* BAEL-5228: corrected last commit.

* BAEL-5228: removed extra import.

* BAEL-5228: renamed UT

* BAEL-5280: added code for ArrayIndexOutOfBoundsException.

* BAEL-5280: moved code for ArrayIndexOutOfBoundsException in a new module.

* BAEL-5280: Fixed tab/spaces in pom.xml.

* BAEL-5280: Fixed indentation in ArrayIndexOutOfBoundsExceptionDemoUnitTest.java.

Co-authored-by: Vaibhav Jain <vaibhav.ashokjain@vodafone.com>
2022-02-08 13:45:38 +05:30
Haroon Khan e1212155fe [JAVA-9895] Split concurrency-basic-2 module 2022-02-07 12:19:20 +00:00
ashleyfrieze 69e04d5ac0 BAEL-5354 Add improvement to cover JDK11 solution to the repeated string problem (#11756) 2022-01-30 21:49:04 -06:00
Krzysztof Majewski dcd9411cf3 BAEL-5076 Unix domain socket in Java 16 (#11493)
* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

* BAEL-5076 Unix domain socket in Java 16

Co-authored-by: krzysztof <kmajewski@berg.technology>
2021-11-26 09:06:20 -08:00
kwoyke 7fb4216dd8 Merge branch 'master' into JAVA-8279-Split-or-move-core-java-module 2021-11-14 17:52:34 +01:00
sampadawagde b1fb2c34e4 JAVA-8282: added new module core-java-security-algorithms to parent pom 2021-11-14 11:08:05 +05:30
mikr 37eb10c68d JAVA-8279 Split or move core java module 2021-11-13 21:22:34 +01:00
Trying something new 4786fb5cf6 BAEL 4486 (#11353)
* BAEL 4486

Adding 2 files for BAEL 4486

* JAVA-4486, unit tests

Added Unit Test
Corrected the formatting using formatter.xml in eclipse

* BAEL - 4486

Renamed CrytoDriverIVTest.java to CryptoDriverIVTest.java
added core-security-3 module to pom.xml

* Update CryptoDriverIVUnitTest.java

Resubmitting CryptoDriverIVUnitTest

* BAEL - 4486

Removed Blank lines from CryptoDriver.java
2021-11-08 19:34:49 -06:00
chaos2418 64a134f05e JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Dhawal Kapil 1ab0a19d25 Java 3590 (#11367) (#11380)
* Java 3590 (#11367)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

Co-authored-by: chaos2418 <>

* Java 3590 - fixing integration tests in restx and spring-5-webflux (#11382)

* JAVA-3590: updating junit-jupiter dependency in the main pom.xml

* resolving unnecessary mockito stubbings exception

* adding junit-bom in dependency management

* fixing tests which were not getting discovered

* Revert "fixing tests which were not getting discovered"

This reverts commit 2e9ed8df42eb96f7e0929167aabbc2ddd374a263.

* fixing tests in ninja, open-liberty and spring-ejb

* removing junit4 dependency and replacing it with junit-vintage-engine

* removing junit4 dependency and replacing it with junit-vintage-engine in testing-modules, maven-modules and aws-lambda

* removing junit dependency and replacing it with junit-vintage-engine

* removing junit and replacing it with junit-vintage-engine

* fixing tests that were not getting discovered due to old version of junit:junit

* updated failsafe plugin configuration to skip integration tests in blade

* fixing tests that were not getting discovered due to old version of junit:junit

* fixing tests in libraries and libraries-2 modules

* fixing integration tests in restx and spring-5-webflux

Co-authored-by: chaos2418 <>

Co-authored-by: chaos2418 <92030908+chaos2418@users.noreply.github.com>
2021-10-29 09:37:04 +05:30
Ralf Ueberfuhr 7b47645746 BAEL-5167: add sample key implementations and test the correct functionality and the performance of those keys in a HashMap (#11260) 2021-09-28 06:58:14 +03:00
freelansam fe7d2af8c0 JAVA-7178: Fix formatting of POMs (#11236)
* JAVA-7178: Fix formatting of POMs

* JAVA-7178: fix failing build
2021-09-20 00:04:26 +05:30
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
kwoyke 1910561a54 JAVA-5986: Cleanup pom.xml files (#11010)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-09 08:43:41 +05:30
kwoyke dee85d33c1 BAEL-5015: Add Java 9 example for readAllBytes (#10999)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-06 16:54:57 +02:00
devanshtrivedi5 2e6ba6c3a1 Grouping by collector java (#10986)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId
2021-07-04 15:51:55 -07:00
Eric Martin 0fca8e3aea Merge pull request #10859 from bradhandy/master
Unit tests for non-capturing groups.
2021-06-12 09:52:23 -05:00
kwoyke f318cd05d9 BAEL-5000: Add split String by newlines examples (#10881)
* BAEL-5000: Add split String by newlines examples

* BAEL-5000: Exclude core-java-string-operations-3 from persistence-modules

* BAEL-5000: Update tests

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-12 14:23:37 +02:00
bhandy be18bad873 Moving NonCapturingGroupUnitTestjava to new core-java-regex-2 module. 2021-06-12 00:25:19 -04:00
singhalak11 a626528201 BAEL-4987: new module for operators (#10800) 2021-05-27 18:58:53 +01:00
Benjamin Caure 4e96ddfa14 BAEL-4665: add text blocks to multiline strings test (#10777)
* BAEL-4665: add text blocks to multiline strings test

* BAEL-4665: move core-java-strings to jdk9 profile
2021-05-25 22:27:16 +02:00
sampadawagde 612752f52e JAVA-5223: Fix formatting of POMs (Part 2) 2021-05-06 18:01:55 +05:30
mdhtr daea725097 Create new module 2021-04-09 11:31:49 +02:00
Krzysztof Woyke f0dd323c50 JAVA-3578: Verify sub-modules - core-java-modules 2021-03-30 20:55:52 +02:00
Krzysztof Woyke 089da70fb0 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Eric Martin 14aac09d18 Merge pull request #10509 from dstr89/feature/BAEL-4618-final-performance
Feature/bael 4618 final performance
2021-03-13 08:49:59 -06:00
Daniel Strmecki 4e88e662f6 BASE-4618: Use space 2021-03-11 11:28:49 +01:00
Daniel Strmecki f0ee9ddf02 BASE-4618: Add new module 2021-03-06 09:02:04 +01:00
Umang Budhwar 52db422b6c BAEL-4695 - Evaluating a Math Expression in Java (#10345)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.

* BAEL-4695 - Added code to evaluate math expressions.

* BAEL-4695 - Added test case for math function.

* BAEL-4695 Added consistent examples and entry in parent pom.

* BAEL-4695 - Added more examples
2021-01-14 17:04:00 -06:00
Eric Martin c2165fa4bc Merge pull request #10351 from SmartyAnsh/master
BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added
2021-01-09 20:53:53 -06:00
MeenaGawande 567e910903 [BAEL-4720] Java File.separator vs File.pathSeparator (#10330)
* [BAEL-4720] Java File.separator vs File.pathSeparator

Removed src code and modified junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Code formatting: Removed extra spaces in the code

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added more junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added new module core-java-io4 and moved the code from core-java-io3 module.

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-01-06 18:06:07 +00:00
Anshul BANSAL bbdcf57afb BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00
Jonathan Cook da8a8f7fa2 Merge pull request #10258 from dstr89/feature/BAEL-4717-hashmap-linkedlist-arraylist
Feature/bael 4717 hashmap linkedlist arraylist
2020-12-13 15:02:17 +01:00
Daniel Strmecki c02a205220 BAEL-4717: add new module to parent pom 2020-12-05 09:52:32 +01:00
Loredana Crusoveanu c54f2d6102 Merge pull request #10259 from vatsalgosar/BAEL-4301
BAEL 4301
2020-11-27 12:57:29 +02:00
unknown 7bb2282d24 BAEL-4301
- Created a new module core-java-char in core-java-modules modules
- Added Unit Tests for Character#isAlphabetic and Character#isLetter methods
2020-11-17 16:32:30 +05:30
Kumar Chandrakant 0794a1ad1b Adding source code for article tracked under BAEL-4576 (#10203)
Co-authored-by: CHANDRAKANT Kumar <kumar.chandrakant@soprabanking.com>
2020-10-29 06:11:46 +01:00
mikr ae5ee571b9 Java-2394 Create default and integration profile for JDK-9 and above modules 2020-09-10 01:08:03 +02:00