Commit Graph

904 Commits

Author SHA1 Message Date
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