215 Commits

Author SHA1 Message Date
lor6
4b9ec46ca3 unit-api examples (#2566)
* unit-api examples

* fix conflict
2017-09-06 07:49:55 +02:00
Grzegorz Piwowarek
cafdf51bd7 Refactor JDeffered (#2559) 2017-09-05 19:59:42 +02:00
bankole salako
7b836d9211 Pairs functionality in Java (Core Java, Apache Commons and Vavr) (#2563)
* Unit tests for pairs functionality in Java (Core Java, Apache Commons and Vavr)

* Remove default file templates

* Refactor mustache

* BAEL-1123 - Testing Linked List for Cycles - deep20jain@gmail.com (#2525)

* Adding node and cycle detection by hashing

* Adding implementation for all algorithms for cycle detection and removal

* Applying formatting rules

* JDeferred (#2553)

* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity

* simpliflying

* adding JDeferred module

* moved jdeferred to librarires module

* BAEL-1116 Spring swagger codegen (#2527)

* Spring integration with Swagger client code genrator

* Refactor

* format pom.xml

* BAEL-1106 Introduction to javax.measure (#2522)

* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* Update pom.xml

* Introduced jmh benchmarking (#2549)

* Bael 1043/protonpack (#2415)

* BAEL-1043/ Introduction to protonpack

* Added test cases for windowed() api

* Resolving merge issues

* Retrofit rx (#2519)

* Retrofit with RxJava

* Correct spelling mistake

* Use spaces for indentation instead of tabs in pom.xml

* Use spaces for indentation instead of tabs in pom.xml

* Add Retrofit integration with RxJava to libraries module

* Remove standalone project for Retrofit integration with RxJava

* remove retrofit-rxjava module

* Fixed error in pom.xml caused by an issue while merging

* Retrofit integration with RxJava

* Fix test cases

* Fix merge issues

* BAEL-1016 Merging master

* import source BAEL-1084 (#2560)

* Moved to libraries folder from core-java
2017-09-05 17:51:08 +02:00
Hany Ahmed
fd37ffb7c2 Retrofit rx (#2519)
* Retrofit with RxJava

* Correct spelling mistake

* Use spaces for indentation instead of tabs in pom.xml

* Use spaces for indentation instead of tabs in pom.xml

* Add Retrofit integration with RxJava to libraries module

* Remove standalone project for Retrofit integration with RxJava

* remove retrofit-rxjava module

* Fixed error in pom.xml caused by an issue while merging

* Retrofit integration with RxJava

* Fix test cases

* Fix merge issues

* BAEL-1016 Merging master
2017-09-04 21:47:19 +02:00
Devendra Tiwari
1afa7e2fcf Bael 1043/protonpack (#2415)
* BAEL-1043/ Introduction to protonpack

* Added test cases for windowed() api

* Resolving merge issues
2017-09-04 10:04:18 -07:00
Parth Karia
839a68f616 BAEL-1106 Introduction to javax.measure (#2522)
* BAEL-243 Spring Batch using Partitioner

* BAEL-1106 Introduction to javax.measure

* Unnecessary Committed

* BAEL-1106 Move code to libraries from core-java

* BAEL-1106 Move code to libraries from core-java

* Update pom.xml
2017-09-04 13:47:36 +02:00
Abhinab Kanrar
acf9bf7c4a JDeferred (#2553)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project

* reducing employee bean content

* bootique module

* bootique

* bootique

* undertow module

* undertow module

* refactoring

* using lambda

* as per baeldung formatter

* easy code added for simplicity

* simpliflying

* adding JDeferred module

* moved jdeferred to librarires module
2017-09-03 22:39:16 +02:00
Eric Goebelbecker
3c4faf999d BAEL-1018 - Introduction to MBassador (#2551) 2017-09-02 16:08:39 -07:00
shekhar-s
498a84c8b3 removed If condition (#2546) 2017-09-01 23:44:37 +02:00
Grzegorz Piwowarek
aaa3d117e2 Update versions in libraries (#2543)
* Bump datanucleus versions

* Update HikariCP

* Update Hoverfly-java
2017-09-01 14:23:05 +02:00
Grzegorz Piwowarek
6d797a2cc3 Refactor JavaDirectoryDelete (#2542) 2017-09-01 09:41:11 +02:00
shekhar-s
2f3e36405a Moved article code to libraries, added a null check and reverted change to core-java pom.xml (#2530) 2017-08-31 10:10:37 +02:00
Dassi orleando
2aeef70d39 BAEL-1074 move difference between dates from core-java to libraries (#2533)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
2017-08-30 16:23:59 +02:00
Kiran
73526dd0a8 BAEL - 971 Code Changes (#2492)
* BAEL-971 Code

BAEL-  971 Introduction to Apache Commons Lang3 code

* BAEL - 971 Code

BAEL - 971 : Introduction to Apache Commons Lang3

* Updated the commons.lang version from V3.5 to V3.6
2017-08-28 18:18:44 +02:00
Nancy Bosecker
9b563d87f0 Added another remove example (#2484)
* moved test file to correct location

* added another remove example
2017-08-24 22:19:15 +02:00
lor6
18b1334ff1 move reladomo ex to librarie-data (#2485) 2017-08-23 10:53:21 +02:00
Grzegorz Piwowarek
8a34433095 Optimize libraries (#2458) 2017-08-22 13:13:24 +02:00
lor6
04fa1782a2 reladomo example (#2469)
* reladomo example

* fix formatting

* add plugin versions

* fix closing streams
2017-08-21 20:25:12 +02:00
dimitarsazdovski
b65bccabd1 Bael 817 (#2411)
* Stashed changes

* Changed method access restriction

* Added test class

* Changes to pom file

* Changed formatting. Changed file path variable

* Changed pom file. Changed unit test name

* pom file
2017-08-19 21:04:56 -05:00
Nancy Bosecker
4226100ea9 moved test file to correct location (#2437) 2017-08-16 21:10:01 +02:00
Carsten Gräf
eeb89df150 Merge pull request #2447 from earth001/master
BAEL-1079
2017-08-16 17:32:43 +02:00
juan
7ec1db1be2 Sample code for article - JIRA: (BAEL-1079) Java 8 Streams distinctBy() some property(+ external tools) 2017-08-15 23:48:47 -03:00
Mohit Sinha
299be4a629 BAEL-1105: Apache Commons CSV, Changed name of testcase 2017-08-15 15:28:51 +05:30
Mohit Sinha
9308baeb9c BAEL-1105: Apache Commons CSV, Test cases 2017-08-15 14:52:38 +05:30
Ahmed Tawila
9b2e8ec9f9 BAEL-1035 Introduction to Eclipse Collections (#2425)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor

* BAEL-1035 Introduction to Eclipse Collections

* format

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections

* cleanup

* cleanup
2017-08-12 18:42:04 +02:00
Ahmed Tawila
310e89e4f0 BAEL-1035 Introduction to Eclipse Collections (#2421)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor

* BAEL-1035 Introduction to Eclipse Collections

* format

* BAEL-1035 Introduction to Eclipse Collections

* BAEL-1035 Introduction to Eclipse Collections
2017-08-12 07:59:15 +02:00
Eric Goebelbecker
69d8c10751 BAEL-1044 - Introduction to NoException (#2412)
* BAEL-1044 - Introduction to NoException

* BAEL-1044 - Introduction to NoException

* BAEL-1044 - Introduction to NoException

* BAEL-1044 - Introduction to NoException

* BAEL-1044 - Introduction to NoException

* Update pom.xml

Add missing </dependency>
2017-08-10 10:59:38 -07:00
Ahmed Tawila
c3de3dbfa9 BAEL 1035 - Introduction to Eclipse Collections (#2395)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils

* fix formatting

* BAEL-1033 minor refactor

* BAEL-1035 Introduction to Eclipse Collections

* format

* BAEL-1035 Introduction to Eclipse Collections
2017-08-10 15:58:22 +02:00
Grzegorz Piwowarek
b5478f7e9a Build opt 9 08 2017 (#2397)
* pCollections

* Reformat

* Refactor metrics

* Refactor hoverfly
2017-08-09 15:32:08 +02:00
Grzegorz Piwowarek
891b4eb248 Remove jooq module (#2375)
* Remove jooq module

* Refactor
2017-08-05 14:11:45 +02:00
Syed Ali Raza
a3ed5a57a3 BAEL-1051: Introduction to Hoverfly Java (#2320)
* BAEL-1051: Fixed merge issue

* BAEL-1051: Updated examples based on review

* BAEL-1051: Fixed Merge Issues
2017-08-01 17:40:23 +02:00
Raúl Juárez
585597f11d New libraries-data module (#2343) 2017-07-31 14:43:36 +02:00
Ahmed Tawila
36608b78cc BAEL-1033 Introduction to StreamUtils (#2337)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils
2017-07-30 09:57:10 +02:00
Adam InTae Gerard
dc037a4ce8 System outs for tests (#2321) 2017-07-30 09:24:14 +02:00
Raúl Juárez
4441d969fa BAEL-1023 Introduction to Kryo (#2336) 2017-07-30 07:57:36 +02:00
Seun Matt
ae33aa6386 Refactored tests for PCollections (#2331)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom

* refactored tests for PCollections
2017-07-29 16:44:40 +02:00
dimitarsazdovski
828e5143d1 BAEL-907: Code example and tests (#2295)
* BAEL-907: Code example and tests

* Moved files to libraries module

* Moved example to test class

* Moved files. Formatted code. Changed object declaring.

* Code fixes according to comments
2017-07-28 07:33:00 -05:00
Seun Matt
0a631ac326 Example Code for BAEL-1048 (#2316)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy

* added example code for PCollections

* update pom
2017-07-27 22:59:45 +02:00
Adam InTae Gerard
d4f245a275 BAEL-771 (#2286)
* BAEL-771

* Corrected XOR from mislabeled AND

* Unit tests added

* Merged into libraries module - removed Neuroph module

* Merged into libraries module - removed Neuroph module

* Merged pom.xml

* Merged pom.xml

* libraries pom.xml - I removed a white space during merge so conflict persisted - here's the temporary reversion
2017-07-26 00:11:02 +02:00
slavisa-baeldung
e96690ef20 BAEL-964 - Changing assertions within invert test 2017-07-22 07:05:12 +01:00
Seun Matt
2ce547d4cd Complete Example Code for BAEL-782 (#2270)
* added updated example codes

* updated example code StringToCharStream

* deleted StringToCharStream.java locally

* removed redundant file

* added code for apache commons collection SetUtils

* refactored example code

* added example code for bytebuddy
2017-07-18 00:44:10 +02:00
Mohit Sinha
3671427d5e BAEL-969 Apache Commons Chain (#2228)
* BAEL 969 Apache Commons Chain - Example with testcase

* Made changes for Apache Commons Chain as per recommendation
2017-07-17 22:23:03 +02:00
Tomasz Lelek
fb7d3fe8f4 Bael 1010 hll (#2274)
* BAEL-1010 HLL article code

* BAEL-1010 moved tolerated difference to a variable

* Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1010_hll

# Conflicts:
#	libraries/pom.xml

* BAEL-1010 clearer code

* use isCloseTo
2017-07-17 07:10:55 +03:00
slavisa-baeldung
d8d1171afa BAEL-964 - printing directly to standard output 2017-07-15 18:51:14 +01:00
Grzegorz Piwowarek
4233d90902 Remove vaadin tests (#2257)
* Refactor Vaadin samples

* Refactor Vaadin samples
2017-07-13 21:15:19 +02:00
Tomasz Lelek
3718dfd0d1 Bael 1010 hll (#2256)
* BAEL-1010 HLL article code

* BAEL-1010 moved tolerated difference to a variable

* Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1010_hll

# Conflicts:
#	libraries/pom.xml

* BAEL-1010 clearer code
2017-07-13 13:24:49 -05:00
Syed Ali Raza
78de955aac BAEL-995: resolved merge issues (#2255) 2017-07-13 09:02:05 +02:00
Grzegorz Piwowarek
84956990b6 Build optimization (#2253) 2017-07-12 19:28:47 +02:00
slavisa-baeldung
e5abeb4fd9 Merge pull request #2251 from eugenp/bael-964-map-util
bael-964-map-util
2017-07-11 17:18:01 +02:00
slavisa-baeldung
de93039d4a BAEL-964 - removing assertion from print formatted map 2017-07-11 15:49:57 +01:00