Commit Graph

1234 Commits

Author SHA1 Message Date
Jose Carvajal 37d13ac4f5 BAEL-1174: A Quick Guide to Spring Cloud Consul 2017-12-01 08:43:20 +01:00
Ahmed Tawila 42c894e7f9 BAEL-1307 Java Nested Classes (#3157)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* small fix

* BAEL-1171 java.lang.String API

* BAEL-1263 Daemon Threads in Java

* merge with fork

* BAEL-1263 Daemon Threads in Java

* fix compilation error

* BAEL-1309 Append Data to a File with Java

* fix build fails

* fix test error

* fix build failures

* cleanup

* fix Sneaky Runnable test

* revert sneaky runnable fix attempt

* fix test failure

* fix test failure

* fix all test failures

* fix test failure

* fix test failures

* Nested Classes in Java

* enhance nested classes
2017-12-01 07:37:19 +01:00
ocheja d45a891d4c BAEL-1261 Polymorphism in Java (#2762)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name

* Implement File Manager app to demonstrate Polymorphism. Develop unit tests for Polymorphism article code

* Add examples for static polymorphism

* Change sysout statments to slf4j log info statements

* Add assertions and expected errors check on Test

* Add assertions and expected errors check on Test

* Correct compile time error of symbol not found

* Removed commented out non-compiling test.
2017-11-30 21:07:23 +01:00
Holger 67c9b1e86f BAEL-1376: Varargs Code Example (#3129)
* BAEL-1376: Varargs Code Example

* BAEL-1376: Varargs Code Example

Moving the "logic" into a test and removing the unnecessary
class.
2017-11-29 14:37:54 -08:00
Ahmed Tawila 11863ab2c3 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-11-29 15:28:21 +02:00
Ahmed Tawila 339552010e enhance nested classes 2017-11-29 15:28:08 +02:00
Loredana Crusoveanu c89879c3ea
Merge pull request #3032 from gschambial/master
BAEL-1331 - Quick Example: Comparator vs Comparable in Java
2017-11-29 13:36:32 +02:00
gschambial 8af39bf730 1. Comparator example using Lambda and Comparator.comparing corrected. 2017-11-29 16:46:37 +05:30
Grzegorz Piwowarek fb8f07c852
Update PolygonFactory.java (#3108) 2017-11-29 12:10:22 +01:00
gschambial 352af1c6c5 Merge remote-tracking branch 'upstream/master' 2017-11-29 16:15:21 +05:30
Eugen Paraschiv 5f57a6cb4b separating the sun specific functionality into a new module 2017-11-28 12:36:54 +02:00
Grzegorz Piwowarek 7f2ace0da9
FilesTest fix (#3146)
* FilesTest fix

* StopThreadTest fix
2017-11-27 21:02:42 +01:00
Shouvik Bhattacharya 29bfac0e95 BAEL-1305: A Simple Guide to Java Loops. (#3133) 2017-11-26 23:06:18 +01:00
daoire d418a40b7c
Update README.md 2017-11-26 17:29:14 +00:00
Muhammed Almas 04dc60bd12 BAEL-1370 Added test to show usage of ArrayDeque. (#3128) 2017-11-25 11:36:23 +01:00
Ahmed Tawila 6435d5723a BAEL-1309 Append Data to a File with Java (#3054)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* small fix

* BAEL-1171 java.lang.String API

* BAEL-1263 Daemon Threads in Java

* merge with fork

* BAEL-1263 Daemon Threads in Java

* fix compilation error

* BAEL-1309 Append Data to a File with Java

* fix build fails

* fix test error

* fix build failures

* cleanup

* fix Sneaky Runnable test

* revert sneaky runnable fix attempt

* fix test failure

* fix test failure

* fix all test failures

* fix test failure

* fix test failures

* Nested Classes in Java
2017-11-25 11:18:49 +01:00
Ahmed Tawila 138633863c Nested Classes in Java 2017-11-24 21:01:47 +02:00
gschambial 5cfc34399f Merge remote-tracking branch 'upstream/master' 2017-11-24 13:52:50 +05:30
gschambial 66a1c32e13 1. Java 8 Comparators example added
2. Comparator.comparing example added
2017-11-24 13:48:55 +05:30
Ahmed Tawila 79a4d133c3 Merge branch 'master' of https://github.com/ahmedtawila/tutorials 2017-11-23 23:24:59 +02:00
Ahmed Tawila f13048b63e Merge branch 'master' of https://github.com/eugenp/tutorials 2017-11-23 23:24:40 +02:00
Loredana Crusoveanu 7a8bb6c677
Update README.md 2017-11-23 18:49:27 +02:00
Mansi 69613f8e53 BAEL-1237 String Formatter (#3103)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* Removed code committed for evaluation article

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Code Formatting and solving build issue

* BAEL-944 Resolving build issue due to change in Spring version

* BAEL-944 Resolving build issue

* BAEL-944 Formatting code

* BAEL-944 Moving tests to correct package

* BAEL-944 Moving tests to correct package

* BAEL-944 Replacing @RequestMapping by @GetMapping

* BAEL-944 Remove unnecessary attribute name, "value" in annotations

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Adding activiti module to the parent modules

* BAEL-79 Using latest version

* BAEL-79 Update Spring boot version that works with Activiti

* BAEL-79 Replace RequestMapping with GetMapping

* BAEL-79 Use Java 8 Syntax

* BAEL-79 Formatting

* BAEL-79 changed module name

* BAEL-378 A Guide to Activiti with Java

* BAEL-79 Fixed unit tests

* BAEL-79 Simplified the process

* BAEL-79 Fix test cases

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1090 Difference between compact and compressed strings in Java 9

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 Guide to java.util.Formatter

* BAEL-1237 String Formatter

* BAEL-1237 Using platform dependent line separator in new line test
2017-11-23 13:27:18 +01:00
gschambial 0a8fd5ed2c Merge remote-tracking branch 'upstream/master' 2017-11-23 11:49:20 +05:30
KevinGilmore 41d7ec50a1
BAEL-1272 README (#3101)
* BAEL-973: updated README

* BAEL-1069: Updated README

* BAEL-817: add README file

* BAEL-1084: README update

* BAEL-960: Update README

* BAEL-1155: updated README

* BAEL-1041: updated README

* BAEL-973: Updated README

* BAEL-1187: updated README

* BAEL-1183: Update README

* BAEL-1133: Updated README

* BAEL-1098: README update

* BAEL-719: add README.md

* BAEL-1272: README update

* BAEL-1272: README update
2017-11-21 22:21:27 -06:00
Loredana Crusoveanu 0b6a047cc0 change time zone method name 2017-11-21 22:30:29 +02:00
Loredana Crusoveanu 67e78dbf76
Merge pull request #3084 from steinhauer-software/BAEL-1317
BAEl-1317: Display All Time Zones With GMT and UTC
2017-11-21 21:49:16 +02:00
Loredana Crusoveanu bc29683080 update guava versiob 2017-11-21 18:19:10 +02:00
Holger Steinhauer 12567132b1 BAEL-1317: Moving Java7 example to `core-java` module 2017-11-21 07:31:09 +00:00
ramansahasi 8de9f342e4 BAEL-1212 Guide to Creational Design Patterns (#2932)
* Initial commit for 'Introduction to Creational Design Patterns'

* second commit with some minor fixes and test case additions

* second commit with some minor fixes and test case additions

* BAEL-1212 Guide to Creational Patterns - Made changes as per latest review

* Renamed Toy family to AAnimal family.
2017-11-20 22:13:07 +01:00
Loredana Crusoveanu 2814a5f8d0
Merge pull request #3077 from Ahmad-alsanie/master
BAEL-1308
2017-11-20 21:33:06 +02:00
Ahmad Alsanie 5b25c39f08 BAEL-1308 changed name to original.txt 2017-11-20 21:18:17 +02:00
Ahmad Alsanie dd91ef722b BAEL-1308 DI related code removed and included original text file 2017-11-20 21:08:41 +02:00
Ahmad Alsanie cf7c96b469 BAEL-1308 - copy a file with java (Editor Notes) 2017-11-20 18:05:47 +02:00
Ahmad Alsanie 8b2d647eec BAEL-1308 - test modifications 2017-11-18 20:40:52 +02:00
Ahmad Alsanie f7e92e326f BAEL-1308 2017-11-18 19:45:37 +02:00
Rokon Uddin Ahmed f02ffe9ae6 pull req 16.11 (#3059)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md
2017-11-17 15:00:32 +01:00
Ahmed Tawila 1a368ca9f3 fix test failures 2017-11-16 12:22:12 +02:00
Ahmed Tawila 53074cd7f0 fix test failure 2017-11-16 12:07:48 +02:00
Ahmed Tawila 31a26aca25 fix all test failures 2017-11-16 12:01:08 +02:00
Ahmed Tawila f6ca36fa21 fix test failure 2017-11-16 11:38:58 +02:00
Ahmed Tawila df3aa78d57 fix test failure 2017-11-16 11:31:05 +02:00
Ahmed Tawila 0ffa8c6c8c revert sneaky runnable fix attempt 2017-11-16 11:08:27 +02:00
Ahmed Tawila afd142caa0 fix Sneaky Runnable test 2017-11-16 10:50:25 +02:00
Ahmed Tawila 1bbe9196ee cleanup 2017-11-16 10:42:59 +02:00
Ahmed Tawila c901cb5fad fix build failures 2017-11-16 10:39:51 +02:00
Ahmed Tawila 10fe3d060f fix test error 2017-11-16 10:32:06 +02:00
Ahmed Tawila 2d3ea1ba24 fix build fails 2017-11-16 10:21:08 +02:00
Ahmed Tawila 960d8e004c BAEL-1309 Append Data to a File with Java 2017-11-16 06:44:34 +02:00
Ahmed Tawila 0568de3d94 merge with base repo 2017-11-15 23:04:11 +02:00
Loredana Crusoveanu 35d44cb6d7
Update README.md 2017-11-14 11:37:36 +02:00
gschambial d954258a80 1. Moved commmon code to @Before method in ComparatorUnitTest.
2. Changed ArrayList to List for declarations
2017-11-14 10:25:42 +05:30
gschambial 40ceddea2b BAEL-1331: Quick Example: Comparator vs Comparable in Java Source code and Unit Tests added. 2017-11-13 21:01:06 +05:30
Loredana Crusoveanu 38efd3454f
Merge pull request #3024 from eugenp/BAEL-1290-v2
smaller methods
2017-11-12 23:51:17 +02:00
Loredana Crusoveanu 8e50444ba6 smaller methods 2017-11-12 22:31:39 +02:00
Mansi 062b83fe17 BAEL-1237 String Formatter (#2912)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* Removed code committed for evaluation article

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Demonstrating the problems with new Url pattern matching in Spring 5

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Exploring the Spring MVC URL Matching Improvements

* BAEL-944 Code Formatting and solving build issue

* BAEL-944 Resolving build issue due to change in Spring version

* BAEL-944 Resolving build issue

* BAEL-944 Formatting code

* BAEL-944 Moving tests to correct package

* BAEL-944 Moving tests to correct package

* BAEL-944 Replacing @RequestMapping by @GetMapping

* BAEL-944 Remove unnecessary attribute name, "value" in annotations

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Intro to Activiti with Spring

* BAEL-79 Adding activiti module to the parent modules

* BAEL-79 Using latest version

* BAEL-79 Update Spring boot version that works with Activiti

* BAEL-79 Replace RequestMapping with GetMapping

* BAEL-79 Use Java 8 Syntax

* BAEL-79 Formatting

* BAEL-79 changed module name

* BAEL-378 A Guide to Activiti with Java

* BAEL-79 Fixed unit tests

* BAEL-79 Simplified the process

* BAEL-79 Fix test cases

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1045 Lambda Behave

* BAEL-1090 Difference between compact and compressed strings in Java 9

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 String Formatter

* BAEL-1237 Guide to java.util.Formatter
2017-11-12 12:51:03 +01:00
Loredana Crusoveanu b383d83bf4
Merge pull request #2972 from denis-zhdanov/BAEL-1290-javac-plugin
BAEL-1290 Creating a Java Compiler Plugin
2017-11-11 23:06:36 +02:00
Wosin 6a8ecab163 BAEL-1310: Code for Quick Guide to Stack. (#2993) 2017-11-09 20:52:58 +01:00
fpistritto f499f86cc8 BAEL-1272: Java String Pool (#2952)
* Add StringPool unit tests

* Refactor tests to use AssertJ instead of JUnit asserts
2017-11-08 21:13:42 -06:00
thakursantosh 93ecfad7fe Code for BAEL-1306 - thakursantosh/st1972@gmail.com (#2940)
* New code for First Article 'Types of Bean Injection'

* Adding code for BAEL-1306

* Code changes for BAEL-1306

* Removed code of my evaluation article
2017-11-06 22:16:12 +01:00
Denis Zhdanov 8e5e0e3bb3 BAEL-1290 Creating a Java Compiler Plugin
* a sample Javac plugin
* a test framework for Javac plugins
* sample Javac plugin's tests
2017-11-06 22:16:23 +03:00
Grzegorz Piwowarek c65795c7b0
Remove <testFailureIgnore>true (#2919) 2017-11-06 18:12:14 +02:00
Grzegorz Piwowarek f896e02d6e
Refactor EchoServer (#2934) 2017-11-01 11:18:27 +01:00
adamd1985 a6485c4326
Revert "Initial Commit (#2896)" (#2920)
This reverts commit 00faa99afc.
2017-10-31 08:36:31 +01:00
Alejandro Gervasio 00faa99afc Initial Commit (#2896) 2017-10-30 23:15:07 +01:00
Ahmed Tawila dbeb5f8ba4 BAEL-1171 java.lang.String API (#2874)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* small fix

* BAEL-1171 java.lang.String API

* BAEL-1263 Daemon Threads in Java

* BAEL-1263 Daemon Threads in Java
2017-10-29 22:17:41 +01:00
Ahmed Tawila 5a23a69081 merge with fork 2017-10-27 10:17:01 +02:00
Ahmed Tawila e6058445d9 merge with fork 2017-10-27 10:16:18 +02:00
Ahmed Tawila ead7528c9c BAEL-1171 java.lang.String API 2017-10-26 10:17:25 +02:00
Ahmed Tawila a636f754b0 BAEL-1250 Initializing Arrays in Java (#2862)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java

* small fix
2017-10-25 19:17:15 +02:00
Ahmed Tawila 9ce32992a7 small fix 2017-10-25 15:53:15 +02:00
Ahmed Tawila 376206389f Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-25 15:34:54 +02:00
Ahmed Tawila 26f495afa7 BAEL-1250 Initializing Arrays in Java 2017-10-25 15:34:13 +02:00
Grzegorz Piwowarek 1757625dba Refactor Arrays (#2857) 2017-10-25 12:08:34 +02:00
Ahmed Tawila a5e2357033 BAEL-1250 Initializing Arrays in Java (#2811)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API

* BAEL-1250 Initializing Arrays in Java

* BAEL-1250 Initializing Arrays in Java
2017-10-24 18:47:40 +02:00
Ahmed Tawila c768592435 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-23 10:58:32 +02:00
Ahmed Tawila d14411e2b4 BAEL-1250 Initializing Arrays in Java 2017-10-23 10:58:07 +02:00
Grzegorz Piwowarek e7252f61aa Update URIvsURLUnitTest.java (#2808) 2017-10-22 14:17:57 +02:00
Ahmed Tawila 7120a2f1e3 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-22 10:49:08 +02:00
Ahmed Tawila fdd485ddd9 BAEL-1250 Initializing Arrays in Java 2017-10-22 10:48:39 +02:00
ramansahasi 1d5b17ad6c BAEL-1210 Guide to the Static Keyword in Java (#2767)
* Adding Source Files

* Guide to the Static Keyword in Java - Test files
2017-10-20 11:49:48 -07:00
Grzegorz Piwowarek 0b5fbdc53e Cody756 master (#2740)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Merge fix
2017-10-15 13:55:42 +02:00
Ahmed Tawila c3a45d072a BAEL-1171 String.lang.String API (#2742)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API

* BAEL-1171 java.lang.String API
2017-10-15 13:37:47 +02:00
Ahmed Tawila b85bb1ae1e BAEL-1171 java.lang.String API (#2732)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package

* BAEL-1171 String.lang.String API
2017-10-15 10:31:46 +02:00
Ahmed Tawila 9e273b1474 BAEL-1171 java.lang.String API (#2693)
* 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

* BAEL-1109 Introduction to JCache

* BAEL-1109 Introduction to JCache

* remove unneeded property in pom.xml

* fix formatting

* close cache instances properly

* remove latest commit

* BAEL-1057 Introduction to rxjava-jdbc

* refactor rxjava-jdbc

* Refactor rxjava-jdbc

* Refactoring rxjava-jdbc

* BAEL-1171 java.lang.String API

* refactor rxjava-jdbc

* refactor String

* String API - move multiple classes into a single class

* move class into test package
2017-10-08 11:55:55 +02:00
eugenp c9a754f0e4 cleanup resources 2017-09-26 01:00:09 +03:00
KevinGilmore 771ded6b03 BAEL-1069 update README (#2648)
* BAEL-973: updated README

* BAEL-1069: Updated README
2017-09-20 07:03:20 -05:00
ramansahasi 3a9654370a BAEL-1072 Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2635)
* Changes as per last review. Changed method names so that they look more idiomatic.

* Updated pattern, changed method names and test cases
2017-09-17 16:59:23 -07:00
Rokon Uddin Ahmed f3557dec41 16.09 (#2628)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2017-09-16 12:26:29 +03:00
Nikhil Khatwani 231500bbf6 Chnages for BAEL-527 (#2621) 2017-09-15 09:02:28 +03:00
Jose Carvajal 113294324e BAEL-1069: Guide to diamond operator in Java (#2587)
* Matchers is now deprecated in Mockito 2, it's now replaced by ArgumentMatchers

* BAEL-1069: Guide to diamond operator in Java

* Changes after review
2017-09-14 21:54:28 -05:00
Grzegorz Piwowarek 63678ff149 Fix int tests (#2608)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks

* BroadcastIntegratonTest -> BroadcastLiveTest
2017-09-11 18:18:28 +02:00
Grzegorz Piwowarek bf515679fe Fix int tests (#2607)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks
2017-09-11 16:23:43 +02:00
Grzegorz Piwowarek 57f55e1b8c Fix int tests (#2605)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 15:18:41 +02:00
Grzegorz Piwowarek 19f39c141e Fix int tests (#2604)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 09:56:37 +02:00
Grzegorz Piwowarek f95f0da640 Rename JdbcIntegrationTest to JdbcLiveTest (#2600) 2017-09-11 08:33:34 +02:00
Grzegorz Piwowarek 2b5a6c13f8 Build opt (#2593)
* Build optimization

* Build optimization
2017-09-09 21:11:48 +02:00
Grzegorz Piwowarek 216f7d8976 Reformat pom.xml (#2567)
* Refactor RxJava

* Reformat pom.xml
2017-09-06 11:53:21 +02:00
iaforek 7904c3ee04 BAEL-1065 Simple performance check StringBuffer vs StringBuilder. (#2512)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.

* Updated gitignore

* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.

* BAEL-1065 Added JMH benchmarks
2017-09-06 08:31:52 +02:00
Grzegorz Piwowarek 7916882668 Refactor stream with indices (#2565)
* Refactor RxJava

* Refactor Stream with indices
2017-09-05 23:55:15 +02:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
alincojanu 01529c3202 sneaky throws (#2505)
* alin.cojanu25@gmail.com

* add junit tests

* core-java - sneaky throws

* delete project spring_sample_annotations and spring_sample_xml ->not intended for this article
2017-09-02 19:38:04 +02:00
Fatos Morina 94d02ed1f6 BAEL-1078 How to iterate over a stream with indices (#2544)
* Add the example with EntryStream

* Add the example with EntryStream

* Add vavr

* Implement the method getOddIndexedStringsVersionTwo

* Implement the method givenArray_whenGetIndexedStrings_thenReturnListOfOddStringsVersionTwo

* BAEL-1078 Code formatting

* Extract tuples using map

* Fix merge conflicts
2017-09-02 11:42:24 +03:00
Predrag Maric 12ffbe027d BAEL-1078 Code formatting (#2539) 2017-08-31 18:42:03 +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
Doha2012 9c03b45c23 move java8 code (#2535)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup

* fix conflict

* java 8

* clean up

* add core-java-8 to main pom
2017-08-31 09:43:28 +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
ramansahasi 5945d5ceb3 BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge (Update) (#2518)
* Removing old code

* Removing old code

* Removing old code

* Removing old code

* Updated design for Adapter pattern

* Updated test cases for new design
2017-08-29 14:25:11 -07:00
shekhar-s 3c5ed71063 BAEL-1075 (#2497)
* Adding test cases for "how to delete a directory"

* Removing .gitignore from Empty folder

* Adding .gitignore to Empty folder

* Updated method names and removed unnecessary imports

* Removed toBedeleted folder from src/test/resources. Updated the test
case to create the directory on the fly using a temporary location
2017-08-29 11:19:25 +02:00
Predrag Maric b3a291a580 BAEL-1078 Stream Indices - Update pom.xml (#2516)
* Update pom.xml

* BAEL-1078 Stream indices
2017-08-29 07:36:55 +02:00
Dassi orleando c5d77f424d BAEL-1074 Separate difference on date and datetime (#2511)
* 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
2017-08-27 21:55:59 -07:00
Doha2012 25263f1d6f java concurrency (#2502)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup
2017-08-27 12:14:26 +02:00
ramansahasi 09d10ac85f BAEL-1076 How to get a number of digits in an int? (#2457)
* BAEL-1076 How to get a number of digits in an int?

Six different ways to find the number of digits in an integer.

* BAEL-1076 How to get a number of digits in an int?

* Update NumberOfDigits.java
2017-08-25 12:24:43 -07:00
Dassi orleando 8180274da2 BAEL-1074 Difference between two dates in Java (#2493)
* 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
2017-08-25 10:39:12 -07:00
ahmetcetin39 c12ba8618e BAEL-1070 CharSequence vs String in Java (Test case fixed) (#2500)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!

* Corrected test case.
2017-08-25 14:12:21 +02:00
ahmetcetin39 c31fc8d662 BAEL-1070 - CharSequence vs String in Java (Fixed Test Method) (#2499)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!
2017-08-25 11:42:34 +02:00
eugenp 1cba1b043c minor formatting cleanup 2017-08-24 13:11:52 +03:00
Yasin 621d0d2c62 BAEL-1073 Converting a List to String in Java (#2489) 2017-08-23 11:00:25 -07:00
ahmetcetin39 b6674f68dc BAEL-1070 - CharSequence vs String in Java (#2451)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.
2017-08-23 15:37:50 +02:00
Grzegorz Piwowarek 6db067d2c9 Refactor volatile (#2444) 2017-08-15 15:17:24 +02:00
deep20jain 00e3483531 Bael 1053 - Removing java from package name (#2443)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting

* Removing java from package name

* Deleting duplicate files

* Removing unused imports
2017-08-15 13:42:33 +02:00
Raúl Juárez 58469d79bf BAEL-864 Difference between URL and URI (#2438) 2017-08-14 19:45:30 +02:00
baljeet20 99eee4df2c BAEL-1077 Guide to volatile keyword (#2433)
* review changes

* BAEL-1024 Removed the proxy reference

* BAEL-1024 Renamed methods

* BAEL-1077 Guide to volatile keyword
2017-08-14 10:08:01 -07:00
deep20jain 290e759d4a BAEL1053 - deep20jain@gmail.com - Broadcasting and Multicasting in Java (#2368)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting
2017-08-14 04:11:49 +02:00
ramansahasi 415b80d03f BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2390)
* Structural Design Patterns 

Difference between several types of structural design patterns

* Structural Design Pattern

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns
2017-08-08 10:56:53 -07:00
cleversonzanon 1824320f95 [BAEL-1066] Implementing Singleton pattern in Java (#2361)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

* Revert "Different Types of Bean Injection in Spring code"

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.

* Destructuring Declarations in Kotlin

* Corrections on Destructuring Declarations in Kotlin

* Implementing Singleton pattern in Java

* [BAEL-1066] Implementing Singleton pattern in Java

* Singleton Implementation changes.
2017-08-07 23:14:57 +02:00
Grzegorz Piwowarek b6e59c2ae7 Refactor bootique (#2380) 2017-08-06 13:23:19 +02:00
Grzegorz Piwowarek ae827f3122 Refactor hashcode() samples (#2377) 2017-08-05 22:07:50 +02:00
eugenp 4d8f92e587 formatting cleanup 2017-08-05 16:14:20 +03:00
eugenp f913859c6f package fixes 2017-08-05 16:13:22 +03:00
Yasin f02d117223 BAEL-887 How to collect a Java Stream to an immutable collection? (#2356)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API

* BAEL-887 How to collect a Java Stream to an immutable collection?

* BAEL-887 How to collect a Java Stream to an immutable collection?
2017-08-02 08:27:25 -07:00
Alejandro Gervasio 752086e80c Initial Commit (#2349) 2017-07-31 13:36:15 +02:00
Yasin deb79bbd83 BAEL-887 How to collect a Java Stream to an immutable collection? (#2339)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API

* BAEL-887 How to collect a Java Stream to an immutable collection?
2017-07-30 09:33:51 -07: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
Grzegorz Piwowarek 34a793a0fc Manual money tests (#2338) 2017-07-30 07:42:16 +02:00
Jose Carvajal f445a4d11b BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2 (#2311)
* BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2

* Fix formatting issue with LoginControllerIntegrationTest
2017-07-29 17:29:25 -05:00
Abhinab Kanrar 244a678b46 jooby project (#2330)
* 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
2017-07-29 16:56:24 +02:00
Grzegorz Piwowarek 9b143b820c Refactor core-java (#2324) 2017-07-28 18:15:37 +02:00
Alejandro Gervasio 34dc899c9b Custom Efficient hashCode() Implementations - Alejandro Gervasio - alejandro.gervasio@gmail.com (#2301)
* Initial Commit

* Updated pom.xml

* Updated User class

* Updated pom.xml

* Updated Application class
2017-07-24 23:15:09 +02:00
Abhinab Kanrar 1be49ebc7f introducing lambda (#2305)
* 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
2017-07-24 09:28:10 +02:00
Grzegorz Piwowarek 9c4042eb88 Add missing "volatile"s (#2307)
* Add volatile keywords

* Update SafeCounterWithoutLock.java
2017-07-24 08:49:36 +02:00
deep20jain 64212862bf BAEL-1029 - deep20jain@gmail.com - Addressing review comment (#2294)
* Adding test classes for java atomic variables

* Updating counter with atomic integer

* Adding reason for ignoring test

* Removing ignore annotation and moving test to manual test

* Removing counter test
2017-07-21 00:43:49 +02:00
Nikhil Khatwani b558adec06 Changes for BAEL-1050: Added new field (#2282) 2017-07-19 21:54:43 -05:00
Abhinab Kanrar 14456eb92d concurrent package description (#2265)
* 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
2017-07-19 11:16:22 +03:00
deep20jain afa82c0d28 BAEL-1029 - deep20jain@gmail.com - An Introduction to Atomic Variables in Java (#2269)
* Adding test classes for java atomic variables

* Updating counter with atomic integer

* Adding reason for ignoring test
2017-07-18 06:08:19 +02:00
Grzegorz Piwowarek 3e2d766f37 Refactor TemporalAdjusters (#2266) 2017-07-15 17:08:56 +02:00
Rokon Uddin Ahmed 8ca38e15da Github11.07 (#2254)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2017-07-13 15:43:43 +02:00
Ahmed Tawila 13eec7e57c BAEL-994 - TemporalAdjuster in Java (#2232)
* 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
2017-07-09 09:15:22 +02:00
Devendra Tiwari 1957750382 How to zip two collections in Java? (#2176)
* How to zip two collections in Java?

How to zip two collections in Java? | http://jira.baeldung.com/browse/BAEL-780

* Updated pom to add jool dependency

* Added Unit Tests of Zip Collections

* Moved files to libraries folder

* Fixed Compilation Error

* Removed jool dependency as code has been moved to libraries

* Removed jool property attribute
2017-07-08 22:20:49 +02:00
Ahmed Tawila 647455b029 BAEL-994 - TemporalAdjuster in Java (#2227)
* 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
2017-07-08 07:59:59 +02:00
iaforek a6ba135f77 BAEL-579 Spring Cloud Bus (#2218)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

I was getting error: java.lang.NoSuchMethodError:
org.springframework.cloud.config.environment.Environment
After version update, all is okay.

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

Added dependencies and removed git.clone-on-start as this was causing
server to throw errors after git properties change.

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

* Revert "BAEL-579 Config Client using Spring Cloud Bus."

This reverts commit 1d96bc5761.

* Revert "BAEL-579 Enabled cloud bus and updated dependencies."

This reverts commit 7845da922d.

* Revert "BAEL-579 Added actuator to Cloud Config Client."

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.
2017-07-07 19:01:53 +02:00
hariprasad108 7bfceb34c7 URI, URL BAEL-864. Article renamed and extended URI part. (#2217) 2017-07-07 12:27:45 +02:00
fromalexwithluv 5a184d4e0d BAEL-871 What is serialVersionUID? (#2203)
* Bean Injection in Spring – ashrafmsokkar@gmail.com

* Bean Injection in Spring – ashrafmsokkar@gmail.com

* BAEL-871: What is serialVersionUID?

* BAEL-871: What is serialVersionUID?

* BAEL-871 What is serialVersionUID?

* BAEL-871 Implemented feedback
2017-07-07 08:45:03 +02:00
Grzegorz Piwowarek b9b230f83e Build optimization 6.07 (#2219)
* refactor testng

* refactor testng

* Remove test suites from surefire

* Refactor

* Refactor
2017-07-06 23:22:41 +02:00
Grzegorz Piwowarek 178af4e049 Money fix (#2210)
* Fix problems with money

* Refactor
2017-07-05 17:20:04 +02:00
Parth Karia 2f83bec231 BAEL-1004 (#2206)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* BAEL-831 Removed wrapper class

* Removing evaluation article example

* BAEL-875 - Hill Climbing Algorithm

BAEL-875 - Implementation for Hill Climbing Algorithm

* BAEL-875 removed unused imports

* BAEL-984 Monte Carlo tree search

BAEL-984 Implementation for tic tac toe using Monte Carlo tree search

* BAEL-984	 test cases for MCTS

BAEL-984 test cases for Monte Carlo tree search implementation

* BAEL-1004

Implementation of Minimax algorithm
2017-07-05 09:54:46 +02:00
ocheja 1a73061761 BAEL-922 Type Erasure Explained (#2100)
* Define beans for handling different message types in a lean chat app

* Add class based spring beans configuration

* Define spring configuration in XML for constructor based bean injection

* Refactor package structure to separate constructor based bean injection code set from setter based bean injection code set

* Define configuration and classes specific to setter-based bean injection.

* Implement tests for constructor-based and setter-based bean injections

* develop codes for explaining type erasure

* Write unit tests for type erasure examples

* Remove evaluation article code

* Modify type erasure examples and unit tests

* Modify type erasure examples and unit tests

* Add expected exception in TypeErasureUnitTest

* Correct grammar in class name
2017-07-03 23:39:12 +02:00
Grzegorz Piwowarek aecdf6d5c7 Semaphores refactor 2017-07-03 17:39:45 +02:00
Doha2012 20669dc6a1 semaphores (#2198)
* minor logging fix

* spring security sso

* use basic auth

* use form login

* cleanup

* cleanup

* final cleanup

* second client app for sso

* spring boot bootstrap

* add logic

* cleanup

* add simple controller

* add thymeleaf and security

* minor fix

* minor fix

* add more boot properties

* fix live test

* fix live test

* minor fix

* semaphores
2017-07-03 17:34:41 +02:00
slavisa-baeldung 7c6a08746e Merge pull request #2182 from eugenp/bael-835-gc-limit-exceed
bael-835-gc-limit-exceed
2017-07-03 11:15:25 +02:00
Grzegorz Piwowarek ef34fc6576 Vavr refactor 02 07 (#2193)
* Vavr refactor

* Refactor
2017-07-02 08:07:32 +02:00
Shivang Sarawagi faeaf0de6a BigDecimal & BigInteger data type implementation (#2181) 2017-06-30 17:46:29 +02:00
slavisa-baeldung 342c356b89 BAEL-835 - code rerfactor 2017-06-30 15:29:37 +01:00
slavisa-baeldung 97acf0c90e Merge branch 'master' of https://github.com/buddhini81/tutorials into buddhini81-master 2017-06-29 12:42:24 +01:00
buddhini81 641671d69a Minor change BAEL-835 2017-06-29 08:04:13 +05:30
buddhini81 376a21bbbc Minor modification BAEL-835 2017-06-29 08:03:14 +05:30
Seun Matt 3ae96995ad example code for BAEL-966 (#2152)
* 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
2017-06-27 00:18:54 +02:00
PRITAM BANERJEE b97651ae5a MapIteration changes (#2072) 2017-06-26 12:36:16 +02:00
Chandravadan S 2bb31e54ed Cyclic Barriers demo (#2156) 2017-06-26 11:12:00 +02:00
buddhini81 06d375bc42 BAEL-835 sample code 2017-06-20 07:29:03 +05:30
buddhini81 8b85c0251e Delete test.txt 2017-06-20 06:53:41 +05:30
buddhini81 cc5dd5bb8b Delete test2.txt 2017-06-20 06:53:25 +05:30
buddhini81 81b6322163 Delete test3.txt 2017-06-20 06:52:55 +05:30
buddhini81 b4de7a555d Delete test33.txt 2017-06-20 06:52:36 +05:30
buddhini81 36a3d11761 BAEL-835 code files 2017-06-20 06:51:43 +05:30
buddhini81 8a99c5e6f5 Create test33.txt 2017-06-20 06:50:11 +05:30
buddhini81 08628a0360 Create test3.txt 2017-06-20 06:49:35 +05:30
buddhini81 970d955534 test file 2017-06-20 06:40:23 +05:30
buddhini81 55892dbc8f Delete 2017-06-20 06:39:30 +05:30
buddhini81 2a6508538e BAEL-835 New project folder 2017-06-20 06:38:33 +05:30
buddhini81 1aaa774daf test 2017-06-20 06:36:02 +05:30
hariprasad108 547b5850fb Bael-864, Networking, core-java. (#2111) 2017-06-19 22:14:48 +02:00
maibin ed926b3790 Revert "Difference between url and uri bael 864 hariprasad net (#2108)" (#2110)
This reverts commit 9048d5215b.
2017-06-19 15:43:23 +02:00
hariprasad108 9048d5215b Difference between url and uri bael 864 hariprasad net (#2108)
* BAEL-864, java.net.*

* java-networking Bael-864, revision

* Final and static keywords removed.

* Bael-486 Static import for JUnit into pom.xml was added.

* Bael-486, pom.xml was renamed on networking-pom.xml to deactivate it.

* Maven pom.xml changed.

* Delete java-networing project.

* Bael-684, rearanged.
2017-06-19 00:27:34 +02:00
Tomasz Sobala 3a04c3adc1 BAEL-832 currently executed method. (#1982)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* [BAEL-829] number of occurences of a char in a String.

* [BAEL-829] printlns changed to assertions.

* [BAEL-829] improved names of the tests.

* [BAEL-872] map and flatMap difference.

* removed duplicated countingChars class.

* [BAEL-872] changed Object into List.

* [BAEL-872] improved code for map() and flatMap() article.

* [BEAL-832] getting the name of current executing method.

* clean up.
2017-06-15 23:19:32 +02:00
Grzegorz Piwowarek b4bcb81c09 Create README.md (#2092) 2017-06-15 18:44:44 +02:00
Grzegorz Piwowarek b92470e14d Refactor Smatt examples (#2091) 2017-06-15 16:13:51 +02:00
Grzegorz Piwowarek 5698ecb047 Create README.md (#2073) 2017-06-15 16:08:13 +02:00
iaforek 6786eb13d8 BAEL-837 - Why Does Changing the Sum Order Returns a Different Result (#2070)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.

* BAEL-837 - initial commit. A few examples of adding doubles.

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.
2017-06-14 19:26:12 +02:00
Grzegorz Piwowarek fe11e8f7d4 Idiomatic refactor (#2063)
* StringToCharStream

* Spring integration tests

* Spring integration tests
2017-06-13 16:54:45 +02:00
Seun Matt 53f4ec5f87 added updated example codes (#2062) 2017-06-13 12:58:53 +02:00
Grzegorz Piwowarek dc43aec4d3 Build optimization 10.06.2017 (#2037)
* Refactor

* Refactor
2017-06-11 06:58:57 +02:00
Grzegorz Piwowarek 9cb18aebba Refactor introspector 2017-06-10 11:58:42 +02:00
Seun Matt 920167f5b7 BAEL-865 - updated example code (#2029)
* added project files for evaluation article by smatt382@gmail.com

* added project files for evaluation article by smatt382@gmail.com

* added class com.baeldung.string.StringToCharStream by smatt382@gmail.com

* updated the example codes. Use assert statements

* updated example codes

* fixed conflict in pom.xml

* remove redundant files'

* added unit test
2017-06-09 14:32:20 +02:00
PRITAM BANERJEE 4453358bfb BAEL-725: How to iterate over a map? (#1959)
* BAEL-725: How to iterate over a map?

* Changed the name of the tests in MapIterationTest.java
2017-06-07 22:22:28 +02:00
Anand kumar 61135ac4da Change annotation parameters during runtime (#2006) 2017-06-07 15:24:47 +02:00
slavisa-baeldung 58a9ea0939 BAEL-869 - Java 8 example of listing null properties 2017-06-07 09:13:42 +01:00
hariprasad108 c17d19ff21 Difference between url and uri bael 864 hariprasad (#1987)
* Commit URUURLJNDIFS added.

* URI URL REST commit.

* Revert "URI URL REST commit."

This reverts commit d9e26399be1f3a26d871cd0600036e3a4558cde2.

* Difference URI URL REST BAEL-864.

* Commit Difference URI URL REST #864, small changes.

* Difference URI URL REST project has been moved to spring-rest.

* BAEL-864. Deleted unused project and did one small change.
2017-06-04 21:39:21 +02:00
Grzegorz Piwowarek a5d5460a9f Stream API: last Stream element example refactor (#1943)
* Refactor

* Delete ApplicationContextTestBeanInjectionTypes.java

* Delete BeanInjectionJavaConfigIntegrationTest.java

* Delete BeanInjectionXMLConfigIntegrationTest.java
2017-06-03 20:49:56 +02:00
iaforek 25de280068 BAEL-821 Added more test and updated round methods. (#1973)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention

* BAEL-821 Added more test and updated round methods.
2017-06-03 00:04:22 +02:00
Andrea Bergonzo af40bd48f0 Fix UUID article link (#1977)
Fix the link now that the article is up.
2017-06-02 19:53:07 +02:00
Tomasz Sobala b7b1693df5 [BAEL-872] map and flatMap difference (#1892)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* [BAEL-829] number of occurences of a char in a String.

* [BAEL-829] printlns changed to assertions.

* [BAEL-829] improved names of the tests.

* [BAEL-872] map and flatMap difference.

* removed duplicated countingChars class.

* [BAEL-872] changed Object into List.

* [BAEL-872] improved code for map() and flatMap() article.
2017-06-02 08:06:12 +02:00
iaforek 8edc3bfbaa BAEL-821 - How to round a number to n decimal places in Java (#1953)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.

* BAEL-821 New class that shows different rounding techniques. Updated POM.

* BAEL-821 - Added unit test for different round methods.

* BAEL-821 Changed test method name to follow the convention
2017-06-01 01:24:21 +02:00
yetanotherallisonf 33653d82c2 Update README.md (#1907) 2017-05-30 21:57:41 +02:00
buddhini81 4eeaf5b790 BAEL-839 - Add the missing imports 2017-05-29 18:30:53 +05:30
buddhini81 4586d471a1 BAEL-839 changes in all test methods 2017-05-29 17:55:10 +05:30
buddhini81 3e28582bac BAEL-839 Delete as no longer needed 2017-05-29 17:47:39 +05:30
Chandravadan S 994ac4ddbf Dining Philosophers Problem (#1944) 2017-05-29 08:34:13 +02:00
Syed Ali Raza 8c8c01ebbb BAEL-833: How to get last element of a Stream in Java? (#1930)
* Different Types of Bean Injection in Spring

* Fixed code formatting and test names for "Different Types of Bean Injection in Spring"

* BAEL-833: How to get last element of a Stream in Java?

* BAEL-833: Updated based on review from editor
2017-05-28 12:07:15 +02:00
Anand kumar 99c7a91587 guide to uuid generation in java (#1879)
* guide to uuid generation in java

* updated readme.md
2017-05-28 12:06:56 +02:00
Grzegorz Piwowarek 7c6536685c Extract a Random instance to a variable (#1942) 2017-05-27 20:13:30 +02:00
MMonik d98ba10f48 Update README.md (#1915) 2017-05-24 18:49:01 +02:00
MMonik d0d4344c2f Update README.md (#1919) 2017-05-24 18:47:39 +02:00
MMonik 41af122b7f Update README.md (#1921) 2017-05-24 18:46:01 +02:00
MMonik e8037caa9d Update README.md (#1922) 2017-05-24 18:45:22 +02:00
MMonik ff870c9868 Update README.md (#1923) 2017-05-24 18:44:49 +02:00
MMonik 3177e3b3af Update README.md (#1924) 2017-05-24 18:44:14 +02:00
MMonik e02050387c Update README.md (#1925) 2017-05-24 18:42:58 +02:00
parthkaria 2bfc5bd979 BAEL-831 Updated examples (#1904)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* BAEL-831 Removed wrapper class

* Removing evaluation article example

* BAEL-831 removed wrapper class
2017-05-23 21:40:46 +02:00
KevinGilmore 4393cdc0f6 BAEL-886: Updated README (#1902) 2017-05-23 07:58:17 -05:00
Mansi 3b1337598f BAEL-823 Iterating over enum values in Java (#1886)
* Example Code For Evaluation Article

This is an example code for the evaluation article on "Different Types of Bean Injection in Spring"

* Added unit tests

* Minor changes to application context

* BAEL-823 Iterating over enum values in Java

* Removed code committed for evaluation article
2017-05-22 21:58:17 -05:00
parthkaria 28adbeb53d BAEL-831 ClassNotFoundExceptions vs NoClassDefFoundError (#1899)
* Dependency Injection examples

Dependency Injection examples for evaluation article

* Junit test cases added for dependency injection

Junit test cases added for dependency injection

* ClassNotFoundException vs NoClassDefFoundError

Example to reproduce ClassNotFoundException & NoClassDefFoundError

* JUnit test cases for ClassNotFoundException & NoClassDefFoundError

test cases to reproduce ClassNotFoundException & NoClassDefFoundError

* Deleting exampls for evaluation article

* BAEL-831 Examples for ClassNotFoundException & NoClassDefFoundError

* deleting config file for evaluation article

deleting config file for evaluation article
2017-05-22 19:32:48 +02:00
slavisa-baeldung 3aae854ea2 BAEL-839 - minor test changes 2017-05-22 06:08:39 +01:00
buddhini81 abdc904426 Delete 2017-05-22 08:54:14 +05:30
buddhini81 ef1c191dfb Delete 2017-05-22 08:53:19 +05:30
buddhini81 156c8a3bdd Add EscapingCharsManualTest BAEL-839 2017-05-22 08:52:22 +05:30
buddhini81 338e74ae3f Create new folder BAEL-839 2017-05-22 08:51:30 +05:30
buddhini81 0a5526ea23 Add class EscapingChars
for BAEL-839
2017-05-22 08:49:36 +05:30
buddhini81 468c06ff19 Create new folder
for BAEL-839
2017-05-22 08:48:02 +05:30
Raúl Juárez 489e0e012f BAEL-886 How to add a single element to a Stream (#1887) 2017-05-21 21:06:05 -05:00
KevinGilmore e74de67c59 BAEL-827 README (#1890)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

* BAEL-870: Switched from TestNG to JUnit due to build errors

* BAEL-870: Update README

* BAEL-827: Updated README
2017-05-21 15:58:12 -05:00
adasioo e09ba8e3c2 BAEL-923 How to inject a value from properties to a class not managed by Spring? (#1878)
* adam.zawada@gmail.com - Different Types of Bean Injection in Spring

* adam.zawada@gmail.com - Different Types of Bean Injection in Spring
switch to Java based configuration

* BAEL-895 calculate the period/duration between two dates in Java 8

* clean old PR

* BAEL-923 How to inject a value from properties to a class not managed by Spring?

* clean PR
2017-05-19 09:10:21 +02:00
Raúl Juárez fdfbab9365 BAEL-939 Improve split to string article (#1875) 2017-05-18 22:09:41 +03:00
Vivek Kumar 3f22a70bb3 Add unit test for File path article - BAEL-827 (#1784)
* BAEL-827 Add unit test for file paths

* BAEL-827 - Update path IOException test to execute only on Windows

* BAELL-827 - Update unit test method name
2017-05-17 22:21:40 -05:00
slavisa-baeldung 9d6815284e Merge pull request #1854 from dhruba619/master
BAEL-839 added test cases and refactored code
2017-05-17 11:51:17 +02:00
iaforek 9e644af344 BAEL-838 Tiny change to keep code consistant. Return null or empty. (#1866)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names

* BAEL-838 Tiny change to keep code consistant. Return null or empty.

* BAEL-838 Removed unresolved conflict.
2017-05-16 17:05:38 +02:00
pivovarit 15fe1f0996 Fix JavaSortingUnitTest 2017-05-16 09:39:39 +03:00
pivovarit adb4b9bfdf Fix HexToAsciiUnitTest 2017-05-16 09:34:45 +03:00
pivovarit 924b960746 JavaInputStreamToXUnitTest refactor 2017-05-16 09:20:54 +03:00
lor6 bf71b3442b baos example (#1858) 2017-05-16 09:16:17 +03:00
pivovarit 286c25555a SplitUnitTest refactor 2017-05-16 09:12:29 +03:00
pivovarit a5cd330ab7 SplitUnitTest refactor 2017-05-16 09:07:41 +03:00
Zeger Hendrikse 4d53bdd90a Removed dead code 2017-05-15 20:40:36 +02:00
Zeger Hendrikse 514164a861 Removed dead code 2017-05-15 20:38:58 +02:00
Doha2012 48cd6f876f Fix test names (#1853)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom

* cleanup pom

* add missing parent

* fix logging issue

* fix test names
2017-05-15 11:35:14 -05:00
Abhinab Kanrar d46af17af4 HikariCP (#1851)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging

* adding hikariCP module

* try-with-resources

* adding employee use case

* moving HikariCP to libraries
2017-05-15 17:11:27 +02:00
dhruba619 fef139511d BAEL-839 added test cases and refactored code 2017-05-15 15:24:05 +05:30
pivovarit 00ecdb4a02 refactor executeThreads 2017-05-15 08:01:51 +02:00
yetanotherallisonf 7b93d18a2d Update README.md 2017-05-14 17:30:56 -05:00
Abhinab Kanrar 1cc1f703be hikaricp module (#1781)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging

* adding hikariCP module

* try-with-resources

* adding employee use case
2017-05-14 22:42:35 +02:00
Yasser Afifi 47a97d3177 serialization code (#1844)
* adds serialization code

* fixes serialization unit test

* adds code for custom serialization

* changed test case names

* fixes test names
2017-05-14 17:39:23 +02:00
buddhini81 b2828f59e1 Changes done in tests for BAEL-876 (#1843)
* Correction in first two tests

* Add new test

for RecursionWithCorrectTerminationCondition

* BAEL-876 Removed static method qualifier
2017-05-14 15:24:56 +02:00
pivovarit 98ec0ac0b3 Refactor comparator 2017-05-14 08:12:28 +02:00
yetanotherallisonf 73925c14dc Updating Readme for BAEL-882 DelayQueue 2017-05-13 22:51:40 -05:00
Tomasz Lelek ace7ccd55b Bael 882 delay queue (#1792)
* BAEL-882 Delay_queue article code

* BAEL-882 Removed println

* BAEL-882 formatting

* BAEL-882 test ordered
2017-05-13 22:48:42 -05:00
iaforek 075eeb1539 BAEL-838 Refactord code with Java8 examples. (#1833)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.

* BAEL-838 Renamed RemoveLastChar class to StringHelper and added Java8 examples. Refactord code.

* BAEL-838 Changed method names
2017-05-14 00:24:31 +02:00
Yasser Afifi d172d2d63d fixes serialization unit test (#1837)
* adds serialization code

* fixes serialization unit test
2017-05-13 23:49:33 +02:00
buddhini81 44b0f6b02c Removing try-catch from tests and minor formatting (#1840)
* BAEL-876 - Remove try-catch

* BAEL-876 - Remove try - catch

* formatting
2017-05-13 22:27:37 +02:00
pivovarit e5cccec42e FileOperations -> ManualTest 2017-05-13 17:55:45 +02:00
Mohd Farid 61385334a2 String split tests (#1762)
* String split tests

* Using collect to avoid iterations.
2017-05-13 15:58:04 +02:00
Doha2012 7c73abdede cleanup pom (#1836)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies

* cleanup pom
2017-05-12 13:32:54 -05:00
Tomasz Sobala 609ba4ab1d [BAEL-829] Number of occurrences of a char in a String (#1785)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* [BAEL-829] number of occurences of a char in a String.

* [BAEL-829] printlns changed to assertions.

* [BAEL-829] improved names of the tests.
2017-05-12 16:43:28 +02:00
Doha2012 35231d0c19 cleanup parent dependencies (#1828)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom

* cleanup parent dependencies
2017-05-11 11:02:04 -05:00
iaforek 9fd2a911b1 BAEL-838 Re-adding last changes with regexp and new line strings. (#1825)
* Code for Dependency Injection Article.

* Added Java based configuration. Downloaded formatter.xml and reformatted
all changed files. Manually changed tab into 4 spaces in XML
configuration files.

* BAEL-434 - Spring Roo project files generated by Spring Roo. No
formatting applied. Added POM, java and resources folders.

* Moved project from roo to spring-roo folder.

* BAEL-838 Initial code showing how to remove last char - helper class and tests.

* BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.

* BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.

* BAEL-838 - Added regex method and updated tests.

* BAEL-838 Added new line examples.
2017-05-11 12:22:34 +02:00
buddhini81 e8e3234647 Add renamed tests for BAEL-876 (#1822)
* Deleting file AccountHolderUnitTest

* Deleting file CyclicDependancyUnitTest

* Delete

InfiniteRecursionWithTerminationConditionUnitTest

* Delete file UnintendedInfiniteRecursionUnitTest

* Create .test

* Add renamed tests for BAEL-876

* Delete file
2017-05-11 10:30:32 +02:00
iaforek c53095a3d7 BAEL-838 Refromatted code using formatter.xml. Added Assert.assertEquals import. Renamed test to follow convention. Reordered tests.
(cherry picked from commit d9d35f8)
2017-05-11 00:45:24 +02:00
iaforek b29cb580a6 BAEL-838 Corrected Helper class and associated empty string test case. Added StringUtils.substing tests.
(cherry picked from commit 124966a)
2017-05-11 00:45:16 +02:00
iaforek 6e589636ed BAEL-838 Initial code showing how to remove last char - helper class and tests.
(cherry picked from commit d889dba)
2017-05-11 00:45:04 +02:00
Doha2012 9692ae36fb add parent to pom (#1816)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix

* fix dependency issues

* Revert "fix dependency issues"

This reverts commit 83bf1f9fd2e1a9a55f9cacb085669568b06b49ec.

* fix dependency issues

* minor fix

* minor fix

* minor fix

* cleanup generated files

* fix commons-logging issue

* add parent to pom
2017-05-09 23:37:43 +03:00
buddhini81 1c1885d37a Code for BAEL-876 (#1800)
* Create new folder stackoverflowerror

* Committing code for BAEL-876

* Delete the file

* Feature/beal 642 classtoinstancemap (#1801)

* BAEL-642 ClassToInstanceMap example added

* BAEL-642 Improved example for ClassToInstanceMap

* Reverted change in pom.xml

* BAEL-642 Move the ClassToInstanceMap examples to guava module as unit tests

* BAEL-642 changed test names to given_when

* Fix tests

* Fix tests

* BAEL-521 (#1799)

* refactor: Moved JHipster Monolithic to a subfolder

* feat: Add JHipster Microservice modules

closes BAEL-521

* BAEL-926 Upgrade Junit 5 dependencies to use M4 (#1802)

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* BAEL-905 Improvement task for spring boot testing

* BAEL-905 Improvement task for spring boot testing

* BAEL-926 Upgrade Junit 5 dependencies to use M4

* BAEL-252 A Java Client to Consume a WebSockets API (#1805)

* @BAEL-252 - Initial checkin

* BAEL-252 : Added junit tests

* @BAEL-252(A Java Client to consume a WebSockets API) : Fixed the junit name

* BAEL-252 A Java Client to Consume a WebSockets API
Fixed junit test name as per the standard

* Double brace (#1798)

* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.

* BAEL-729 Expose additional information programmatically in /info
endpoint of actuator.

* BAEL-824 Usage of Double braces in Java.

* Deleted sample project

* updated test and names.

* BAEL-870 How to Call a Method During Runtime Using Reflection (#1806)

* small fix (#1809)

* BAEL-870 README (#1810)

* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

* BAEL-870: Switched from TestNG to JUnit due to build errors

* BAEL-870: Update README

* DoubleBraceTest refactor

* Bael 883 phaser (#1794)

* BAEL-883 Code for the Phaser

* BAEL-883 remove comments

* Refactoring code for BAEL-876

* Refactoring code for BAEL-876

* Refactoring code for BAEL-876

* Delete the class

* Refactor code for BAEL-876

* Refactor code for BAEL-876

* Refactor code for BAEL-876

* Create new folder

* Unit tests for BAEL-876

* Delete .test

* BAEL-876 Formatting
2017-05-09 13:58:29 +02:00
Tomasz Lelek 13035331e3 Bael 883 phaser (#1794)
* BAEL-883 Code for the Phaser

* BAEL-883 remove comments
2017-05-09 04:28:12 +02:00
pivovarit b5f816ae2d DoubleBraceTest refactor 2017-05-08 19:45:28 +02:00
KevinGilmore f8d14b711a BAEL-870 README (#1810)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

* BAEL-870: Switched from TestNG to JUnit due to build errors

* BAEL-870: Update README
2017-05-08 09:26:11 -05:00
Raúl Juárez dcc4045371 BAEL-870 How to Call a Method During Runtime Using Reflection (#1806) 2017-05-07 19:54:23 -05:00
Muhammed Almas 46d9022879 Double brace (#1798)
* BAL-36 File size api in java and apache commons IO

* BAEL-282 grep in java - fixes after code review

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor library

* BAEL-519 Added support for disruptor

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved all supporting classes to main source

* BAEL-519 Moved asserts and test classes in test folder.

* BAEL-519 moved test related producer and consumer to src.

* BAEL-586 Guide to Guava BiMap.

* BAEL-587 formatted code.

* BAEL-519 LMAX Disruptor

* BAEL-587 resolved merge

* BAEL-587 Resolved merge

* BAEL-519 Removed disruptor link.

* BAEL-519 Reverted Guava changes

* RFQ-587 Added disruptor as a separate module.

* BAEL-519 Disruptor changes.

* BAEL-519 Removed disruptor from core-java module.

* BAEL-729 Expose additional information programmatically in /info
endpoint of actuator.

* BAEL-824 Usage of Double braces in Java.

* Deleted sample project

* updated test and names.
2017-05-07 21:04:35 +02:00
pivovarit 2c790c40cb Refactor LOG 2017-05-06 21:24:55 +02:00
lor6 1e691b3a75 period and duration test (#1795) 2017-05-06 21:21:15 +02:00
pivovarit 6bda038a28 Fix tests 2017-05-06 20:57:50 +02:00
Raúl Juárez 934fc3ff39 BAEL-870 How to Call a Method During Runtime Using Reflection (#1789)
* BAEL-870 How to Call a Method During Runtime Using Reflection

* Update OperationsUnitTest.java

Rename Test Name
2017-05-06 13:00:40 -05:00
KevinGilmore e2555c2210 BAEL-870: Switch from TestNG to JUnit to fix broken build (#1787)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

* BAEL-870: Switched from TestNG to JUnit due to build errors
2017-05-05 07:40:24 -05:00
Raúl Juárez 9d9d0cc427 BAEL-870 How to call a method during runtime using reflection? (#1769)
* BAEL 870 How to call method during runtime using reflection?

* BAEL-870 How to call a method during runtime using reflection?
2017-05-04 22:27:05 -05:00
Jesus Boadas 3e50b39fed uncomment classes in core-java (#1777)
* uncomment classes in core-java

* Add content to guide to JDO
2017-05-04 12:22:25 +02:00
Alexandre Lombard 223cc5357f BAEL-874 - How to convert stacktrace to String in Java? (#1771) 2017-05-04 12:20:03 +02:00
Grzegorz Piwowarek 05807aebed Hibernate5 fix (#1774)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java

* Fix hibernate tests

* Exclude hibernate5

* Fix settest

* XStream refactor

* Refactor

* Refactor
2017-05-03 18:38:08 +02:00
lor6 bb1ab4a775 BAEL-863 jdbc test (#1764)
* BAEL-863 jdbc test

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java
2017-05-03 11:36:17 +02:00
Grzegorz Piwowarek 6e86dc27ff Optimize build and reduce logging (#1772)
* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java
2017-05-03 09:29:10 +02:00
Jesus Boadas a2b327cc9d Move JDO from core-java to libraries (#1758) 2017-04-30 19:26:23 +02:00
Tomasz Lelek b9484b244b BAEL-881 copyOnWriteArrayList tests (#1750) 2017-04-30 08:21:11 +02:00
slavisa-baeldung 68a58253d2 Merge pull request #1747 from mfarid/string-split
String split tests
2017-04-30 07:05:11 +02:00
Danil Kornishev 772002f3ad Dynamic Proxy (#1702) 2017-04-29 20:36:53 +02:00
KevinGilmore 594920af9b BAEL-828 README (#1751)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README
2017-04-29 20:36:05 +02:00
Grzegorz Piwowarek 0f300ece2e JDO -> Integration (#1752)
* JDOIntegration

* JDOIntegration
2017-04-29 20:10:52 +02:00
Tomasz Lelek 9a3df1fe76 Bael 856 long adder (#1748)
* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting

* BAEL-850 accumulator accumulates values

* BAEL-881 use Long::sum
2017-04-28 19:33:06 +02:00
Tomasz Lelek 01cad343f7 Bael 851 mapped byte buffer (#1742)
* BAEL-851 code for the MappedByteBuffer

* BAEL-851 formatting

* SetTest refactor (#1724)

* Bael 850 (#1744)

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

* BAEL-850 no need to casting

* Build optimization (#1746)

* Build optimization

* Build optimization

* [BAEL-820] Difference between wait() and sleep() in Java (#1708)

* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.

* remove utility classes (#1733)

* remove utility classes

* remove httpclient, extend http

* move code to core-java
2017-04-28 17:02:08 +02:00
lor6 e83002ce99 remove utility classes (#1733)
* remove utility classes

* remove httpclient, extend http

* move code to core-java
2017-04-28 06:37:51 -05:00
Mohd Farid 14f518107e String split tests 2017-04-28 16:46:07 +05:30
Tomasz Sobala 1c24e0a2cf [BAEL-820] Difference between wait() and sleep() in Java (#1708)
* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

* Revert of evaluation task "XML-based configuration replaced with Java Config."

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

* [BAEL-431] fix to the tests in TestRestTemplateBasicLiveTest.

* [BAEL-431] added more meaningful user and password for auth.

* [BAEL-820] examples of wait() and sleep() methods.

* [BAEL-820] wait() and sleep() examples.
2017-04-28 10:34:28 +02:00
Grzegorz Piwowarek 5b5003b391 Build optimization (#1746)
* Build optimization

* Build optimization
2017-04-28 09:34:39 +02:00
Tomasz Lelek ac8700ff65 Bael 850 (#1744)
* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

* BAEL-850 no need to casting
2017-04-27 19:35:22 +02:00
Grzegorz Piwowarek 2bebf73db2 SetTest refactor (#1724) 2017-04-27 16:58:13 +02:00
Tomasz Lelek 966d2ea30f Bael 850 (#1732)
* BAEL-786 Updated custom test reports

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-856 code for long adder and accumulator (#1723)

* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting

* BAEL-742 Create README for Stripe API article (#1731)

* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* Merge aspectj -> spring-aop (#1737)

* BAEL-88 Integration tests fixed. (#1739)

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* Merge assertj -> testing (#1738)

* Guide to JDO (#1736)

* Guide to JDO

* Guide to JDO

* Guide to JDO

* Guide To JDO

* BAEL-86: Corrected URL in README.md (#1740)

* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates

* BAEL-666: Updated README

* BAEL-415: Custom Scope

* BAEL-415: Custom Scope - renamed classes to reflect TenantScope

* README file updates for BAEL-723, BAEL-763, and BAEL-415

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-850 Formatting
2017-04-27 13:26:42 +02:00
Jesus Boadas bf02497b7c Guide to JDO (#1736)
* Guide to JDO

* Guide to JDO

* Guide to JDO

* Guide To JDO
2017-04-26 21:30:04 +02:00
Tomasz Lelek f979a4075d BAEL-856 code for long adder and accumulator (#1723)
* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting
2017-04-26 12:57:16 +02:00
Jesus Boadas b0e15fcca0 Guide to JDO (#1730)
* Guide to JDO

* Guide to JDO

* Guide to JDO
2017-04-25 20:54:32 +02:00
Tomasz Lelek 1c53e62641 Bael 845 transfer queue (#1727)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

* BAEL-845 robust test

* BAEL-856 invert logic
2017-04-25 09:44:59 +02:00
maibin 4eb3f44b14 HashSet and TreeSet comparison (#1698) 2017-04-24 20:29:26 -05:00
pedja4 b0df0937f2 BAEL-845 TransferQueueTest.java (#1719) 2017-04-24 16:16:05 +02:00
madven s a8b633701d minor java8 update (#1684)
Anonymous new Consumer<String>() replaced with method reference.
2017-04-23 13:27:12 +02:00
Tomasz Lelek c70ee03a24 BAEL-846 code for a syncrhonous queue article (#1699)
* code for the unsafe article

* more descriptive example

* proper eng

* better test name

* free memory call

* java 8 style

* BAEL-814 Added call to freeMemory() in off-heap test

* BAEL-846 code for a syncrhonous queue article

* BAEL-814 Switched from Random to ThreadLocalRandom
2017-04-21 00:31:35 +02:00
Tomasz Lelek 2648a4ec25 Bael 845 transfer queue (#1697)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

* BAEL-845 robust test
2017-04-20 23:05:44 +02:00
Tomasz Lelek e37ab29a42 BAEL-845 transfer queue (#1676)
* BAEL-845 tranferqueue article

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic
2017-04-20 02:25:42 +02:00
Doha2012 5e1e320cee exclude commons-logging dependency (#1686)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

* minor fix
2017-04-19 16:14:10 +02:00
Doha2012 74688cf30e remove log4j dependencies (#1675)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies
2017-04-18 22:39:13 +02:00
mariiakulik a5f4ae927d Readme files update (#1680)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README

* Rename README to README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2017-04-18 22:20:20 +02:00
Doha2012 7525544e09 use standard logback.xml (#1666)
* upgrade to spring boot 1.5.2

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml
2017-04-17 18:41:23 +02:00
yetanotherallisonf cdab6acdbf Update README.md (#1657) 2017-04-16 20:01:32 +02:00
Abhinab Kanrar c313256e8e log forging (#1659)
* jvm log forging

* jvm log forging

* jvm log forging

* log forging
2017-04-16 10:44:56 +02:00
pedja4 99a0b6e2f1 Update UnsafeTest.java (#1655) 2017-04-15 18:32:41 +02:00
Tomasz Lelek 5e0d1e88ef BAEL-814 unsafe (#1645)
* code for the unsafe article

* more descriptive example

* proper eng

* better test name

* free memory call

* java 8 style
2017-04-15 17:34:56 +02:00
Tomasz Lelek a5879bf8b7 Bael 822 thread local (#1625)
* code for thread local article

* userNameSecret

* better to string

* fix typo
2017-04-13 21:16:53 -05:00
Abhinab Kanrar 782c5565fe jvm log forging (#1643)
* jvm log forging

* jvm log forging

* jvm log forging
2017-04-13 10:08:00 +02:00
João Melo 1a288b5911 Code for Avoiding ConcurrentModificationException when iterating and removing (#1617) 2017-04-10 12:44:16 +02:00
Walter Gómez a78a4dc544 Update on README (#1619)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update master

* Add articles to README
2017-04-10 07:21:44 +02:00
Grzegorz Piwowarek 60c2edaaeb StringTokenizerTest refactor (#1611)
* TokenizerRefactor

* TokenizerRefactor

* TokenizerRefactor
2017-04-08 13:49:01 +02:00
Grzegorz Piwowarek 196ea6b5f7 Refactor Tokenizer (#1605) 2017-04-07 18:15:19 +02:00
Abhinab Kanrar 7ab1e37356 cusstom token (#1588)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~

* token customization

* Update Application.java

* adding csv test

* adding csv test

* Update Application.java

* adding collection module
2017-04-07 16:33:10 +02:00
Walter Gómez 22dda8c2be Fix/readme update (#1602)
* Add project for hibernate immutable article
Add Event entity
Add hibernate configuration file
Add hibernateutil for configuration
Add test to match snippets from article

* Update Readme for core-java and spring-hibernate4

* Updating repo
2017-04-07 08:09:53 +02:00
gitterjim-I 57fe1fce37 Change test names once more (#1596)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

* modify test method names
2017-04-05 21:40:09 +02:00
Abhinab Kanrar 50ff1d18c4 quick-guide-to-the-java-stringtokenizer (#1587)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

* adding following modules with updated testcase : DB, Filter, Json

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

* quick-guide-to-the-java-stringtokenizer

* Update Application.java

* Delete MovieCrudService.java~
2017-04-04 12:32:55 +02:00
gitterjim-I 2a76b9c656 change test names, bael-667 (#1581)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

* modify test method names
2017-04-04 00:30:45 +02:00
dhruba619 c817aec2dc BAEL-716 Junit vs testng improvement updated formatting 2017-04-02 21:20:31 +05:30
dhruba619 d85f1640d7 BAEL-716 Junit vs testng improvement 2017-04-02 16:35:58 +05:30
Mohamed Sanaulla 0b17547d20 code for BAEL-747 after incorporating review comments (#1560) 2017-04-01 21:51:12 +02:00
gitterjim-I aaf5a3e7b8 Latest review changes: more concise code and suggested refactoring. (#1549)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.
2017-03-31 22:05:23 +02:00
azrairshad 4c84fabd1a Updated ArrayCopy assert statements. (#1540) 2017-03-31 19:54:11 +02:00
KevinGilmore c73c252924 BAEL-680 and BAEL-756 README files (#1539)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

* BAEL-680 and BAEL-756 README.md updates
2017-03-31 06:54:17 -05:00
gitterjim-I ea345fa246 Integrate forEach and stream changes to test, removing non-test class. (#1529)
* article Bael-667 initial commit.

* Switch to use logging framework for output.
2017-03-29 23:18:20 +02:00
Grzegorz Piwowarek 6e2dcfcf59 Refactor PizzaUnitTest (#1527) 2017-03-28 22:45:46 +02:00
Chandravadan S 17042f0420 BAEL-732: String to enum (#1526) 2017-03-28 17:31:25 +02:00
Parth Joshi 70d8fecc54 Comparator comparing (#1515)
* Initial commit for Comparator.comparing article.

* Changes in the code as per suggestions in review.

* Change in test names as per suggestions...

* Changes in tests names for nullFirst and nullLast cases

* clean up.
2017-03-28 07:59:33 -05:00
azrairshad 0c8aa7e46d Added an example for array copy via stream (#1510) 2017-03-27 23:17:58 +02:00
Mohamed Sanaulla e6836c01c7 sample for BAEL-747 Check if a number is prime in Java (#1508) 2017-03-26 22:57:36 +02:00
Yasin 2aca6e085b BAEL-745 Quick Math.pow example (#1482)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

* BAEL-745 Quick Math.pow example
2017-03-24 21:27:45 +01:00
azrairshad 44f5742f16 (BAEL-746) How to Copy an Array in Java (#1474) 2017-03-24 17:55:02 +01:00
pivovarit d0b0debd06 Exclude integration tests 2017-03-24 16:17:34 +01:00
KevinGilmore d66703b5d9 BAEL-680: rename test methods (#1470)
* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

* BAEL-554: Add and update README.md files

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

* BAEL-393: Adding guide-intro module to root pom

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

* BAEL-393: renamed module guice-intro to guice in root pom.xml

* BAEL-393 and BAEL-541 README.md files

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods
2017-03-21 17:46:06 -05:00
Grzegorz Piwowarek e71367b3f3 Assembly plugin fix (#1449)
* Assembly plugin fix

* Fix java opts

* Fix java opts 2

* Fix java opts 3

* Add sudo: required

* Remove sudo: required

* Enable incremental builder

* Disable incremental builder

* Update

* Update
2017-03-19 20:03:23 +01:00
Yasin 9d0cb1e2aa BAEL-722 Intro to JSONassert (#1437)
* yasin.bhojawala@gmail.com

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

* Introduction to Java9 StackWalking API - yasin.bhojawala@gmail.com

Code examples for the article "Introduction to Java9 StackWalking API"

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert
2017-03-19 09:51:25 +01:00
mariiakulik 8981008cba Update README.md (#1432) 2017-03-18 22:38:31 +01:00
mariiakulik 6300112fc6 README files update (#1435)
* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.MD

* Create README.md
2017-03-18 20:25:06 +01:00
Grzegorz Piwowarek 99bebe806c Refactor flattening lists example (#1372) 2017-03-18 07:05:02 +01:00
Parth Joshi b7e74ce721 Initial commit for Comparator.comparing article. (#1271)
* Initial commit for Comparator.comparing article.

* Changes in the code as per suggestions in review.
2017-03-12 22:03:21 -05:00
gitterjim-I ea26d4209e Bael-667 Flatten Nested Collections (#1330)
* article Bael-667 initial commit.

* Switch to use logging framework for output.
2017-03-10 23:19:26 +01:00
slavisa-baeldung 2cc336e0cb ESG-606 - refining tests 2017-03-09 11:32:17 +01:00
Abhinab Kanrar 6ea120d67f Updating dependency and removing credentials (#1342)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

* Update twitter4j.properties

* Update pom.xml

* Update Application.java
2017-03-09 08:33:30 +01:00
maibin 3abb98e9e8 Final fixes on ACO (#1339)
* Ant Colony Optimization

* Updated code for Ant Colony
2017-03-08 21:21:47 -06:00
pivovarit 9758e2ce3c ACO refactor 2017-03-08 14:23:56 +01:00
pivovarit 4f51b3634f Refactor Money and Currency API examples 2017-03-06 18:25:12 +01:00
Grzegorz Piwowarek 9f94f9f789 Remove unnecessary files and update .gitignore (#1313) 2017-03-06 14:06:00 +01:00
Abhinab Kanrar 57259c4a06 Twitter4J (#1300)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

* Update twitter4j.properties
2017-03-05 22:03:15 +01:00
maibin f0c4486cb1 Ant Colony Optimization updates (#1306)
* Ant Colony Optimization

* Updated code for Ant Colony
2017-03-05 19:21:35 +01:00
maibin 492b21caa0 Merge pull request #1304 from paulomotta/master
Create PrimitiveConversionsJUnitTest.java
2017-03-05 17:06:01 +01:00
Paulo Motta b9314b142c Create PrimitiveConversionsJUnitTest.java
Tests for the possible conversions for primitive data types
2017-03-05 08:48:22 -03:00
eugenp 15eb03d212 minor cleanup 2017-03-04 17:52:50 +02:00
slavisa-baeldung 10a648dfbc BAEL - 606 - Test improvements 2017-03-04 11:05:43 +01:00
slavisa-baeldung 2665636c96 Merge remote-tracking branch 'origin/master' into sla-pr/1284-jesus 2017-03-03 06:57:17 +01:00
slavisa-baeldung 8ffc21e8cf BAEL - 606 - Tests for JSR 354 Money implementation 2017-03-03 06:57:03 +01:00
root 1df0503b20 Java Money & Currency 2017-03-02 12:06:22 -04:00
Muhammet Oğuz ÖZCAN 52a3565f39 Seems no conflict (#1274)
* Bean Injection Project is added

Different Types of Bean Injection article codes are added.

* Java-based configuration added

Java-based configuration and tests are added. Coding styles are fixed.

* List of Lists Article Codes added.

List of Lists Article Codes added.

* Most popular use case of grouping elements together added

Most popular use case of grouping elements together added
2017-03-01 21:41:28 +01:00
root bb1b9c4ca4 Java Money & Currency 2017-02-27 15:13:19 -04:00
maibin 29882a1f06 Ant Colony Optimization (#1237) 2017-02-27 12:59:20 -06:00
Muhammet Oğuz ÖZCAN 325466a782 Master (#1250)
* Bean Injection Project is added

Different Types of Bean Injection article codes are added.

* Java-based configuration added

Java-based configuration and tests are added. Coding styles are fixed.

* List of Lists Article Codes added.

List of Lists Article Codes added.
2017-02-26 18:53:32 +01:00
baljeet20 db5dc24fdb BAEL-700 Guide to Java Lock API (#1239)
* BAEL-604 Introduction to apache velocity

* BAEL-604 Introduction to apache velocity

* BAEL-700 Guide to Java Lock APIs

* BAEL-700 Guide to Java Lock APIs
2017-02-26 09:21:59 +01:00
root fc570b9e2e JSR-354 Java Money & Currency 2017-02-22 11:59:50 -04:00
mariiakulik e5ecd86f27 README files update (#1195)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Delete README.md
2017-02-19 22:22:43 +01:00
slavisa-baeldung 333953b204 BAEL-183 - refactoring and moving testng to dedicated module 2017-02-18 22:56:41 +01:00
slavisa-baeldung 6c282a742c BAEL-639: Fixing failing test 2017-02-18 07:31:10 +01:00
Abhinab Kanrar 6b0e59afac Guide to the Spring WebUtils and ServletRequestUtils (#1184)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils
2017-02-16 17:15:08 +01:00
pivovarit 498230ff89 Refactor MinMaxTest 2017-02-15 20:48:55 +01:00
Mohd Farid cc089e5297 BAEL-668 find min/max from a list/collection (#1134)
* BAEL-668 find min/max from a list/collection

* BAEL-668 using mapToInt instead of Compare

* BAEL-668 using direct assertion with the method call
2017-02-15 07:36:04 +01:00
Danil Kornishev dd40ed7025 Neo4j moved (#1152)
* Neo4j cleanup

* Neo4j cleanup

* Neo4j cleanup x2
2017-02-14 21:44:45 +01:00
maibin 7f4c7157eb Struts2 refactoring (#1176)
* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Simple Genetic Algorithm improvements

* Struts2 refactoring
2017-02-14 17:49:10 +01:00
Abhinab Kanrar 5ef3b149f1 Update JoinerSplitterTest.java (#1172) 2017-02-13 19:19:58 +01:00
slavisa-baeldung e5597d87ce BAEL-183 - removing obsolete class 2017-02-13 01:33:02 +01:00
slavisa-baeldung 04a87a9df5 Merge branch 'master' into sla-pr/1108-junit 2017-02-13 01:21:45 +01:00
KevinGilmore c6c3b71ba1 Update README.md 2017-02-12 07:32:40 -06:00
Tomasz Lelek f772286896 BAEL-669 test of an infinite stream (#1126)
* BAEL-669 test of an infinite stream

* BAEL-699 example of custom type infinite stream

* BAEL-699 do..while stream way

* BAEL-669 generate stream of random uuids
2017-02-12 11:22:25 +02:00
Abhinab Kanrar 4aaefd39df changing package structure (#1157)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change
2017-02-12 09:50:49 +01:00
Abhinab Kanrar 25dc6bc81c Delete JoinerSplitter.java (#1161) 2017-02-12 09:11:25 +01:00
Abhinab Kanrar 4b728ec65b Delete JoinerSplitterTest.java (#1160) 2017-02-12 09:10:00 +01:00
dhruba619 23696a24bd BAEL-183 Updated after review 2017-02-11 23:57:50 +05:30
pivovarit 5218116a80 Reformat JoinerSplitter 2017-02-11 18:40:14 +01:00
Abhinab Kanrar c670ac9166 adding more functionality in split/join, added chars() usage (#1155)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality
2017-02-11 16:29:57 +01:00
maibin c95097e294 Simple Genetic Algorithms improvements (#1146)
* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Simple Genetic Algorithm improvements
2017-02-09 18:25:40 -06:00
Abhinab Kanrar 7aa774352d Joining/Splitting Strings with Java and Stream API (#1130)
* rest with spark java

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API
2017-02-08 16:46:10 +01:00
Predrag Maric 77d4da5cd0 Merge remote-tracking branch 'origin/master' 2017-02-08 02:55:48 +01:00
Predrag Maric ec19a20ee0 Merge branch 'HEXA-672' of https://github.com/tomekl007/tutorials into tomekl007-HEXA-672 2017-02-08 02:52:37 +01:00
Andrew Morgan 5c8acbac57 Added stream removal from collection (#1131) 2017-02-07 22:12:14 +01:00
Danil Kornishev a9d8c5f3a3 Introduction to Neo4j (#1098)
* Nashorn

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test

* Added Neo4j section

* Revert NashornTest
2017-02-07 20:34:10 +01:00
pivovarit 92ad8123f1 Refactor Java8GroupingByCollectorUnitTest 2017-02-07 19:32:09 +01:00
Tomasz Lelek 69bfaa557a BAEL-672 test case when one object is still referenced 2017-02-07 17:50:11 +01:00
Pedja 66065b6110 Merge remote-tracking branch 'origin/master' 2017-02-07 11:57:02 +01:00
Pedja 3559789573 BAEL-677 Small refactoring 2017-02-07 11:54:48 +01:00
Sunil Mogadati fc233b4be7 Formatting change using Baeldung formatter 2017-02-07 03:44:17 -07:00
Pedja 4ba5e3fab3 Merge branch 'foo' of https://github.com/mogronalol/tutorials into mogronalol-foo 2017-02-07 11:44:12 +01:00
Tryfon c13453d772 Java 8 grouping by collector pull request (#1102)
* Char array to string and string to char array test cases added

* Minor code renames

* Added groupingBy collector unit tests

* Added test case for int summary calculation on grouped results

* Added the grouping by classes to the main source path

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class
2017-02-07 03:36:06 -07:00
Predrag Maric 7a77a032d0 Merge branch 'HEXA-672' of https://github.com/tomekl007/tutorials into tomekl007-HEXA-672 2017-02-07 02:25:01 +01:00
Andrew Morgan 0a444d32cf Renamed unit tests for ConcurrentModificationUnit 2017-02-06 21:55:24 +00:00
Andrew Morgan c40d6962dd Added ConcurrentModificationException test 2017-02-06 21:48:45 +00:00
pivovarit 071790b1d8 Rename ConcurrentMap tests 2017-02-06 14:05:09 +01:00
pivovarit 13f2eef879 Fix Discounter examples 2017-02-06 09:08:13 +01:00
pivovarit 77f1a97e8f Refactor Discounter examples 2017-02-06 08:11:02 +01:00
Andrew Morgan daf7af813c Implemented strategy pattern tutorial (#1110) 2017-02-06 07:51:56 +01:00
Tomasz Lelek 0f59b0d533 BAEL-672 proper image id 2017-02-05 14:13:45 +01:00
Tomasz Lelek c791bdf1dc BAEL-672 test for weakHashMap 2017-02-05 12:56:09 +01:00
pivovarit 14bee159bd Fix JavaRandomUnitTest 2017-02-05 08:55:35 +01:00
eugenp 791142c67e cleanup and testing work 2017-02-04 21:56:11 +02:00
dhruba619 1bf70b8f08 BAEL-183 JUnit vs TestNG 2017-02-05 00:46:21 +05:30
maibin ffd17c1b21 Fix the Hibernate4 issues (#1106)
* Binary genetic algorithm

* Fix the junit tests conflict
2017-02-04 18:47:30 +01:00
pivovarit 02245b75a8 Refactor PriorityBlockingQueue examples 2017-02-04 17:02:46 +01:00
adamd1985 896a193fb0 Pr/1089 (#1100)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long

* Added "Test" suffix to test class name.
2017-02-04 00:25:07 +01:00
Predrag Maric 318aeb7aa3 BAEL-616 Renamed tests 2017-02-03 23:59:34 +01:00
Andrew Morgan 75860a063e Added a test class which shows the PriorityBlockingQueue being used 2017-02-02 23:16:52 +01:00
Dotun Kola-Olaleye a1312e9ce0 Custom Thread Pools In Java 8 Parallel Streams (#1088)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-02 18:30:05 +01:00
pivovarit a312ce5e11 Refactor ThreadPoolInParallelStream 2017-02-02 07:47:06 +01:00
pedja4 5c85259243 Update README.md
Added several relevant articles
2017-02-01 09:42:32 +01:00
Dotun Kola-Olaleye e385c7409b String to char array and char array to String (#1002)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-01 00:16:55 +01:00
Tian Baoqiang 7a10236334 add ConcurrentNavigableMap tests (#1083)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades

* add ConcurrentNavigableMap tests
2017-01-31 16:54:22 +01:00
Felipe Reis 8f7559df5e BAEL-612: used lambda instead of anonymous class 2017-01-30 15:14:50 -02:00
eugenp 034cde6e20 formatting work 2017-01-29 16:03:33 +02:00
Tian Baoqiang c565173601 fix ConcurrentMapTests failed test (#1070)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades
2017-01-29 14:32:10 +01:00
Predrag Maric d38930100d BAEL-614 Fixed compilation error in NumbersProducer 2017-01-29 11:55:53 +01:00
Tomasz Lelek afa9292544 Merge branch 'master' into BAEL-614 2017-01-29 11:43:17 +01:00
Tomasz Lelek 0639b2cd6f BAEL-614 thread local random 2017-01-28 10:49:35 +01:00
Tomasz Lelek 2c0494dd03 BAEL-614 introduced poison pill message to stop our producers form run indefinitely 2017-01-28 10:45:57 +01:00
pedja4 a722a46373 Merge pull request #1061 from felipe-gdr/master
BAEL-612: Guide to java.util.concurrent.Future
2017-01-28 08:39:34 +01:00
Felipe Reis c0756273ca BAEL-612: Example usage of ForkJoinTask 2017-01-27 18:23:23 -02:00
Felipe Reis f36d7f1ac2 BAEL-612: Single and multi threaded Future usage. 2017-01-27 18:23:11 -02:00
pivovarit 5f89c098bd Merge remote-tracking branch 'origin/master' 2017-01-27 17:48:31 +01:00
pivovarit abb541bfba Fix Worker.java 2017-01-27 17:48:22 +01:00
Tian Baoqiang 5d2abc9031 add concurrentmap tests (#1051) 2017-01-27 14:10:49 +01:00
Pedja fb61d1b187 BAEL-614 Changed to use ThreadLocalRandom instead of Random 2017-01-27 12:24:31 +01:00
Pedja 4ff894095c BAEL-614 Added "public" to class definitions; Formatted code 2017-01-27 11:52:17 +01:00
Tomasz Lelek c9a1fb1b39 BAEL-614 move to proper package, move inner classes to separate classes 2017-01-26 18:41:29 +01:00
Tomasz Lelek 350765edfc Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-614 2017-01-26 18:39:25 +01:00
Egima profile 663951d8eb refactored Comparator code in TreeMap test (#1036)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map

* added javaslang project

* javaslang project

* added pattern matcher code

* refactored comparator code for TreeMap

* refactored Comparator code
2017-01-25 20:22:00 +01:00
Tomasz Lelek ea7e3db154 BAEL-614 remove println 2017-01-25 19:10:49 +01:00
Tomasz Lelek 5013f7be99 BAEL-614 without a fibonacci 2017-01-25 19:07:48 +01:00
pedja4 3793b32dee Merge pull request #1012 from mogronalol/master
BAEL-613 CountDownLatch
2017-01-25 11:46:22 +01:00
Andrew Morgan 21649ab375 BAEL-613 - Added workers which wait for all other workers to start 2017-01-21 20:51:50 +00:00