Commit Graph

731 Commits

Author SHA1 Message Date
Marcos Lopez Gonzalez 6f125f2fe2 tests date without time 2018-06-24 20:23:43 +02:00
Marcos Lopez Gonzalez 914859d629 Date without time 2018-06-24 12:15:09 +02:00
Rajat Garg 1848c25f49 Bael 1734 get file extension in java (#4522)
* change method to return Optionals

* add check for empty Optional

* replace ifPresent() with get()

* remove extra check
2018-06-21 20:03:53 +01:00
Pablo Castelnovo 6d56fc5438 BAEL-1848 final and immutable objects in Java (#4515)
* Strange git issue with README.MD, wouldn't revert the file

* final and immutable objects in Java

* Move tests to src/test/

* BAEL-1848 renamed test class
2018-06-21 01:42:37 +02:00
Rajat Garg 974637a273 change method to return Optionals (#4464)
* change method to return Optionals

* add check for empty Optional
2018-06-17 20:41:40 +01:00
Predrag Maric 122a43a5d6 Bael 1773 refactor (#4498)
* Strange git issue with README.MD, wouldn't revert the file

* BAEL-1773 Coe moved to algorithm module
2018-06-17 12:56:31 +02:00
Marcos Lopez Gonzalez 2a07b03b69 BAEL-1773 Find the middle element of a Linked List (#4463)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review

* find middle element in linked list

* typo

* changes from CR

* BAEL-1773 formatting
2018-06-12 03:12:07 +02:00
smokeyrobot b5dc7fa1af Bael 1765 (#4342)
Guide to java.util.Arrays

Issue: BAEL-1765
2018-06-11 08:10:38 -06:00
Amit Pandey a54c9e0c9e Bael 4461 2 (#4444)
* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* Fix verification times
2018-06-11 10:18:30 +02:00
Marcos Lopez Gonzalez 0a3d212a2a BAEL-1773 Find the middle element of a Linked List. (#4425)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review

* find middle element in linked list

* typo
2018-06-08 07:35:46 +02:00
pivovarit 11fa0cf492 Disable PMD aggregate 2018-06-05 10:03:20 +02:00
Shubhra 642bff3077 BAEL-1761 Jagged Arrays In Java 2018-06-03 17:59:24 +05:30
Amit Pandey 7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
Amit Pandey dfcc0cab05 Bael 6556 2 (#4365)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of testcase renamed
2018-05-29 22:14:19 +02:00
Marcos Lopez Gonzalez 260e805b69 BAEL-1773 Find the middle element of a Linked List. (#4350)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review
2018-05-28 21:20:37 +02:00
cdjole 89d1127fb2 BAEL-1798 test example added (#4347) 2018-05-27 10:08:21 -07:00
cdjole 67616cdda3 BAEL-1798 (#4322) 2018-05-23 19:06:07 -07:00
Rajat Garg 4c333aeeb3 BAEL-1734 add different methods to find file extension (#4122)
* BAEL-1734 add different methods to find file extension

* fix camel case formatting for variables

* fix variable name

Remove camel casing for variable name as it is a single word.
2018-05-23 09:14:17 +01:00
Loredana Crusoveanu 537c1d1150 move design patterns to new module (#4206)
* move design patterns to new module

* fix logger import
2018-05-11 09:11:13 +02:00
ramansahasi 07838a2d25 BAEL-1739 - Check If a String is Numeric in Java (#4209)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* First commit consisting only of test cases

* First commit with test cases

* Introduced JMH Michrobenchmarking

* Minor corrections
2018-05-10 13:41:33 -07:00
amit2103 cfd98d2fe3 [Bael 6056] - Move collection-related logic from core-java to core-java-collections (#4114)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections
2018-04-29 08:38:59 +02:00
chrisoberle 12cdd5357d BAEL-1706 move code to guest module (#4123) 2018-04-28 13:50:47 -05:00
ramansahasi 5f1b1b0b0d BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases
2018-04-23 07:57:02 -07:00
chrisoberle 57a4f160aa BAEL-1706 - optional parameters in java (#4050)
* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting
2018-04-22 23:55:00 +02:00
Tom Hombergs 80f8fee3c2 Merge pull request #4056 from eugenp/BAEL-1683
Bael 1683
2018-04-22 23:22:09 +02:00
Donato Rimenti 5f83980363 BAEL 1639: added singleton examples and test. (#3977) 2018-04-21 18:51:14 +02:00
Adrian Precub 263009fb32 BAEL-1202: java keystore (#4011) 2018-04-18 13:21:51 +02:00
Loredana Crusoveanu d10437c7ab ignore clear properties test 2018-04-15 14:19:50 +03:00
Senthil Kumar Subramanian b9d21e3210 BAEL-1683-Guide to Java Clock class 2018-04-12 07:42:42 +05:30
Felipe Santiago Corro d3c292a093 Array to List tests (#3960) 2018-04-11 12:50:08 -07:00
Kashif Masood 13bedabb99 BAEL-1530 - Guide to java.lang.System (#3616)
* Different types of bean injection in Spring - eval

* Different types of bean injection in Spring - eval - changed to java config

* Different types of bean injection in Spring - eval - unit tests and fixes

* BAEL-1530 - Guide to java.lang.System

* removed eval article stuff

* updated unit tests: removed sysouts and unrelated stuff

* updated examples for easiness. refactoring.

* fixed typos, identified by unit tests

* broken into multiple unit tests
2018-04-07 17:35:45 +02:00
Alejandro Gervasio 2ed8ad2e00 Inheritance and Composition (Is-a vs Has-a relationship) in Java - BAEL-1598 (#3871)
* Initial Commit

* Fix package names
2018-04-01 20:50:12 -05:00
raghav-jha 1de8475a99 BAEL-1576 Added implementation for finding sum in a boxed integer array (#3901) 2018-03-28 17:37:33 +01:00
raghav-jha 8441d41fdc BAEL-1586 Modified logic to use forEach loop (#3879)
* BAEL-1586 Modified logic to use forEach loop

* BAEL-1586 Added Unit Test For Finding Average Given an Empty Array
2018-03-25 21:07:31 +01:00
Loredana Crusoveanu 7a77e32fe6 ignore long test 2018-03-24 21:34:44 +02:00
Loredana Crusoveanu 017dc92d50 Merge branch 'BAEL-1599-v2' of https://github.com/eugenp/tutorials into BAEL-1599-v2 2018-03-24 21:33:32 +02:00
Loredana Crusoveanu 98010d02e4 set default timezone 2018-03-24 21:27:02 +02:00
Loredana Crusoveanu 8182d49cf2 Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 20:16:49 +02:00
Loredana Crusoveanu 72b2e5e984 Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 17:30:49 +02:00
Loredana Crusoveanu 8e4094b84b Update DaylightSavingTimeExamplesTest.java 2018-03-24 15:09:36 +02:00
Loredana Crusoveanu d12be45fe1 formatting 2018-03-24 10:22:40 +02:00
Loredana Crusoveanu 068a21f32a formatting, dst error 2018-03-24 10:17:26 +02:00
Loredana Crusoveanu 86e8493bbf Merge pull request #3872 from andrea-ligios/master
BAEL-1599
2018-03-23 19:10:32 +02:00
myluckagain 2840347d60 BAEL-1612 (#3811)
* bael-1612

* line
2018-03-23 08:36:49 -05:00
andrea b07e50f46f BAEL-1599 2018-03-23 01:21:24 +01:00
Fatos Morina 4c0a39a342 Add data structures as a separate module (#3518)
* Remove data structures from core-java

* Add data-structures

* Update README with links to articles

* Add parent module reference
2018-03-17 09:41:50 +01:00
Mher Baghinyan 24acf35bce Bael 1611 (#3799)
* Externalizable test

* Guide to Externalizable interface +tests

* serialize Community
2018-03-15 10:08:37 +01:00
Andrea b832ed0af8 Merge remote-tracking branch 'upstream/master' 2018-03-11 21:54:59 +01:00
andrea c5ac4b4bba BAEL-1599 2018-03-11 21:35:00 +01:00
Tarang Bhalodia 00c022388f BAEL-1524: Chain of Responsibility Design Pattern in Java (#3780)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: moved chain of responsibility example from core-java module to patterns module
2018-03-08 07:45:48 -07:00