Commit Graph

811 Commits

Author SHA1 Message Date
Shouvik Bhattacharya 3d0e68b4a9 Guide to HashSet (#3165) 2017-12-02 15:27:28 +01:00
Loredana Crusoveanu 2c7481c35f
Update README.md 2017-12-02 11:55:12 +02:00
ericgoebelbecker 89ab473651 BAEL-1374 - search an array. Name changes. 2017-12-01 18:02:13 -05:00
ericgoebelbecker e4d301e81d BAEL-1374 - search an array 2017-12-01 15:08:19 -05:00
Michael C Good b7a86b1b56 BAEL-1341 JDBC RowSet Interface (#3175)
* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* michael.good703@gmail.com

michael.good703@gmail.com

* update

* michael.good703@gmail.com

Had to add @SpringBootApplication(exclude = MySQLAutoconfiguration.class)

* Updated for 3.3.0.Final

BAEL-1238

* Update pom.xml

* BAEL-1238

Added new module spring-boot-keycloak and removed Keycloak code from spring-boot module

* Minor changes to pom.xml

* Update CustomConverterTest.java

* Update StringToEmployeeConverter.java

* Update GenericBigDecimalConverter.java

* Update MyFeatures.java

* Update .gitignore

* Formatting changes

* "Resolving conflicts"

* Updated spring-boot to remove keycloak

* Updated to see

* Update

* Updated

* Found remnant file and deleted it

* Update pom.xml

Added spring-boot-keycloak module

* Added reference to parent-boot-5

I changed the parent from org.springframework.boot to parent-boot-5.

* Update GenericBigDecimalConverter.java

Copy current GenericBigDecimalConverter to resolve any conflicts

* Update StringToEmployeeConverter.java

Copy current version to resolve any conflicts

* Update pom.xml

* Update pom.xml

* Delete remnant files

* Updated pom.xml

* Update pom.xml

* BAEL-1341 JDBC RowSet Interface

This commit includes the main package and test package to accompany the tutorial JDBC RowSet Interface.

* Update pom.xml

* Changed from MySQL to h2

Changed MySQL to embedded database for ease of use.
2017-12-01 19:28:09 +01:00
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
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
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
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
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