Commit Graph

91 Commits

Author SHA1 Message Date
sampadawagde
6b1dd1563d JAVA-10138 - Fix formatting of POMs 2022-03-13 14:48:44 +05:30
Elmar Mammadov
816cfd356c 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
b88ec4fdad 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
317b9e1ac0 [JAVA-9895] Split concurrency-basic-2 module 2022-02-07 12:19:20 +00:00
ashleyfrieze
73addd6246 BAEL-5354 Add improvement to cover JDK11 solution to the repeated string problem (#11756) 2022-01-30 21:49:04 -06:00
Krzysztof Majewski
7a9a69bda3 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
e5aed785cb Merge branch 'master' into JAVA-8279-Split-or-move-core-java-module 2021-11-14 17:52:34 +01:00
sampadawagde
fc6c46b6f7 JAVA-8282: added new module core-java-security-algorithms to parent pom 2021-11-14 11:08:05 +05:30
mikr
6367e31787 JAVA-8279 Split or move core java module 2021-11-13 21:22:34 +01:00
Trying something new
6f32e034d3 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
e29458d406 JAVA-1665: updated parent-java's junit and surefire configurations 2021-11-03 09:03:23 +05:30
Dhawal Kapil
5f9befd0c4 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 2e9ed8df42.

* 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 2e9ed8df42.

* 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
3573df8b7f 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
23fec3d8a7 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
69a1db0eb0 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
7058cbf6cd 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
0ec50bcfca 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
6caa0cbbb0 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
a8241717ea Merge pull request #10859 from bradhandy/master
Unit tests for non-capturing groups.
2021-06-12 09:52:23 -05:00
kwoyke
35f88cf63a 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
27e3adf227 Moving NonCapturingGroupUnitTestjava to new core-java-regex-2 module. 2021-06-12 00:25:19 -04:00
singhalak11
21e6aa2a2f BAEL-4987: new module for operators (#10800) 2021-05-27 18:58:53 +01:00
Benjamin Caure
5651644214 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
60e9c08008 JAVA-5223: Fix formatting of POMs (Part 2) 2021-05-06 18:01:55 +05:30
mdhtr
1d784061a5 Create new module 2021-04-09 11:31:49 +02:00
Krzysztof Woyke
99767f3627 JAVA-3578: Verify sub-modules - core-java-modules 2021-03-30 20:55:52 +02:00
Krzysztof Woyke
232d9bcd05 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Eric Martin
b5e1bf866c 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
6f3442057a BASE-4618: Use space 2021-03-11 11:28:49 +01:00
Daniel Strmecki
60755b9c80 BASE-4618: Add new module 2021-03-06 09:02:04 +01:00
Umang Budhwar
d85757d61b 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
9e01773b59 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
8e7f37775c [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
5fa9e79e6b BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00
Jonathan Cook
042d01e5e5 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
23a4941185 BAEL-4717: add new module to parent pom 2020-12-05 09:52:32 +01:00
Loredana Crusoveanu
3b5a46519a Merge pull request #10259 from vatsalgosar/BAEL-4301
BAEL 4301
2020-11-27 12:57:29 +02:00
unknown
f54f778d76 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
c0d395681d 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
ccac9de896 Java-2394 Create default and integration profile for JDK-9 and above modules 2020-09-10 01:08:03 +02:00
davidmartinezbarua
c63b365b19 Merge pull request #9853 from rutujavjoshi/master
BAEL-4193 -updated files
2020-08-19 01:22:16 -03:00
Rutuja Joshi
28a185247c pom : added new module core-java-exceptions-3
added new module core-java-exceptions-3
2020-08-17 19:37:28 +05:30
Amit Pandey
dbb5eb5d10 added modules in parent (#9842)
* added modules in parent

* commented failed modules in pom
2020-08-17 10:33:20 +05:30
Amit Pandey
a4b4197e74 Java 2387 (#9882)
* fix junit test cases

* added module in parent build
2020-08-17 10:30:19 +05:30
mikr
caad53d4c4 JAVA-2096 Update "Create File" article 2020-07-15 12:33:27 +02:00
Eric Martin
0b19ccc180 Merge pull request #9608 from SmartyAnsh/BAEL-4175_Comparing_version_Strings_in_Java
BAEL-4175 - comparing version strings in java
2020-07-13 10:54:11 -05:00
Umang Budhwar
51252a02f6 BAEL-4089: Accesing private properties of a class in Java (#9441)
* Added code to access private properties of a class

* Removed abstractions to increase simplicity.

* Added unit test cases in givenX_whenY_thenZ format.

* Included test cases for NoSuchFieldException, NoSuchMethodException and
NullPointerException.

* Added new test case for IllegalArgumentException

* Removed test cases for getting private methods

* Added test cases for accessing all data types.

* Segregated test cases for primitive and object types. Added test case
for Autoboxing.

* Condensed fields by removing extra space.

* Added test case for widening.

* Refactored test cases to throw generic Exception

* Created new module core-java-reflection-2

* Revert "Created new module core-java-reflection-2"

This reverts commit 9568663bb2.

* Added new module core-java-reflection-2

* Removed README.MD
2020-07-12 10:50:54 -05:00
rpvilao
944725473e Merge branch 'master' into BAEL-4300 2020-07-10 09:51:15 +01:00
Anshul BANSAL
4163e5010c BAEL-4175 - moved code to a new module - core-java-string-operations-3 2020-07-09 10:13:30 +03:00
Jordan Simpson
4c9cac984d Moved pom module next to the other core-java-lang-x modules. 2020-07-08 10:54:58 -05:00