Commit Graph

53 Commits

Author SHA1 Message Date
Graham Cox 6a9e13cc03 BAEL-892: Example of Sealed Classes (#2373) 2017-08-04 20:52:00 +02:00
Graham Cox 8137c20349 Delegated Properties in Kotlin (#2357)
This produces a fake Database representation - working in terms of
hardcoded data, a Delegate that loads values from this fake Database,
and then a class with fields delegated to the fake database.
2017-08-02 19:42:13 +02:00
cleversonzanon 7f22e3dc35 Destructuring Declarations in Kotlin - Cleverson Zanon | cleverson.ssantos1008@gmail.com (#2318)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

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

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.

* Destructuring Declarations in Kotlin

* Corrections on Destructuring Declarations in Kotlin
2017-07-28 22:51:16 +02:00
cleversonzanon 7ffd8ecb12 Cleverson Zanon | cleverson.ssantos1008@gmail.com (#2315)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

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

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.

* Destructuring Declarations in Kotlin
2017-07-27 08:20:04 +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
Tomasz Lelek 1b9353c83e Bael 806 lazy (#2248)
* BAEL-806 lazy article code

* BAEL-806 remove comment
2017-07-10 21:02:21 +02:00
Doha2012 2f3398beaf add more collection examples (#2243)
* 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

* fix configuration

* kotlin collection

* add more collection examples
2017-07-10 07:47:58 +02:00
Doha2012 fc33d62cc3 kotlin collection (#2241)
* 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

* fix configuration

* kotlin collection
2017-07-09 21:10:38 +02:00
Walter Gómez 2863d0c3e0 Feature/kotlin map examples (#2220)
* 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 Kotlin test to convert list to map

* Add additional associate methods on test for ListToMap file
2017-07-07 09:03:37 +02:00
cleversonzanon f3c99a7fcf BAEL-974 - Cleverson Santos | cleverson.ssantos1008@gmail.com (#2213)
* Different Types of Bean Injection in Spring code

* Dataclasses in Kotlin

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

This reverts commit 4b747726b93a9f6bf76d6518792fc77e0d5c2fc9.
2017-07-07 08:37:08 +02:00
Walter Gómez d6d5386613 Feature/kotlin list to map (#2216)
* 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 Kotlin test to convert list to map
2017-07-06 09:27:32 +02:00
Felipe Reis 6e994240f7 BAEL-809: Moved mockito-kotlin to existing mockito module (#2191)
* BAEL-809: Add Kotlin Mockito supporting code

* BAEL-809: Add references to kotlin-mockito library

* BAEL-809: Move kotlin-mockito to existing kotlin module

Some unused java classes that were in the kotlin-mockito
module were simply deleted instead of moved to the mockito
module.
2017-07-02 07:08:10 +02:00
Tomasz Lelek 69c330eb6c BAEL-867 coroutines tests (#2011)
* BAEL-867 coroutines tests

* BAEL-867 add two channels examples

* BAEL-867 fix example

* BAEL-867 remove channels

* BAEL-867 optimize imports

* BAEL-867 remove kotlin module
2017-06-30 11:42:22 +02:00
Grzegorz Piwowarek 7e014b0f40 Create README.md (#2080) 2017-06-15 16:10:18 +02:00
MMonik 1083fd41ed Update README.md (#1912) 2017-05-24 18:47:03 +02:00
Walter Gómez 63611daf7b Fix/kotlin equality (#1861)
* 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 simplet test to check Kotlin rerence vs strutural equality

* Update README

* Kotlin equality - fix
Add suite of tests for complex object and arrays
Add User class
2017-05-16 12:03:58 +03: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
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
Walter Gómez c5766f2bfe Feature/kotlin equality (#1831)
* 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 simplet test to check Kotlin rerence vs strutural equality

* Update README
2017-05-12 09:36:35 +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
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
Walter Gómez d6e58f6efd Feature/kotlin interop (#1709)
* 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 Kotlin Java Interoperability
Add kotlin-reflect dependency

* Fix test for customer
Remove unused imports
2017-04-25 09:50:02 +02:00
Tomasz Lelek f204b6167d Bael 779 kotlin generics (#1671)
* Kotlin Generics code

* wrote rest of the tests

* sorting impl

* proper val name

* fix typo

* better assert
2017-04-18 13:29:18 +02:00
Tomasz Lelek 576298dc7b Bael 779 kotlin generics (#1614)
* Kotlin Generics code

* wrote rest of the tests

* sorting impl

* proper val name

* fix typo
2017-04-17 20:32:03 +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
Tomasz Lelek 6f75ad86a6 Bael 756 (#1531)
* BAEL-756 code for kotlin null-safety article

* BAEL-756 fix typo

* BAEL-756 increment version of Kotlin

* BAEL-756 remove duplicate form pom

* BAEL-756 add also and run example
2017-03-29 13:41:37 +02:00
Tomasz Lelek 1a7ccb8248 Bael 756 (#1513)
* BAEL-756 code for kotlin null-safety article

* BAEL-756 fix typo

* BAEL-756 increment version of Kotlin

* BAEL-756 remove duplicate form pom
2017-03-28 21:14:32 -05: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
Tryfon 693f7b9689 Guide to "when" block in Kotlin pull request (#1296)
* Char array to string and string to char array test cases added

* Minor code renames

* Added groupingBy collector unit tests

* Added test case for int summary calculation on grouped results

* Added the grouping by classes to the main source path

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

* Unit test class for Kotlin when block + required types

* Minor changes to kotlin when block tests

* Minor change

* Minor change
2017-03-06 08:37:08 +01: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
Predrag Maric 28cbdeb4a9 Renamed one class in Kotlin module 2017-02-01 01:49:35 +01:00
pivovarit 19afd94177 Fix kotlin pom.xml 2017-01-29 15:30:06 +01:00
Pedja 4999547861 BAEL-382 Added java sources into pom.xml 2017-01-27 15:11:34 +01:00
Tomasz Lelek 31c65f649a BAEL-614 java/kotlin interop 2017-01-25 19:30:06 +01:00
Tomasz Lelek a269eba427 BAEL-382 kotlin/java interperability example 2017-01-18 19:37:12 +01:00
Tomasz Lelek faa3d322f8 BAEL-382 creating mutalbe and immutable list 2017-01-17 16:25:19 +01:00
Tomasz Lelek 7fdf20df6b BAEL-382 lambdas 2017-01-17 16:09:05 +01:00
Tomasz Lelek 2c0b55e4a3 BAEL-382 more examples 2017-01-17 15:44:28 +01:00
Tomasz Lelek 9512edb667 BAEL-586 moved code to com.baeldung.kotlin package, use version properties in pom.xml 2017-01-17 09:54:51 +01:00
Tomasz Lelek fde39503a3 BAEL-586 no need for else block 2017-01-14 19:27:43 +01:00
Tomasz Lelek 79d13928e5 BAEL-19 more condition blocks examples 2017-01-11 18:23:54 +01:00
Tomasz Lelek e428638078 BAEL-19 remove comments 2017-01-11 18:06:17 +01:00
Tomasz Lelek f5d8984ff5 BAEL-19 tempalte example 2017-01-07 12:29:40 +01:00
Tomasz Lelek dee7d1ab12 BAEL-19 iterate 2017-01-07 12:25:18 +01:00
Tomasz Lelek 160b9ae6c3 BAEL-19 example of override 2017-01-07 12:15:18 +01:00
Tomasz Lelek 7b8d1dc6b2 BAEL-19 break long line 2017-01-07 12:10:59 +01:00
Tomasz Lelek 792f464952 BAEL-19 add comments to repo links 2017-01-07 12:04:35 +01:00
Tomasz Lelek 8e89c9394b BAEL-19 introduce basic concstruct 2017-01-04 10:53:39 +01:00
Tomasz Lelek b167fc5315 BAEL-382 formatting 2017-01-02 16:37:59 +01:00
Tomasz Lelek 77fba546b3 BAEL-382 name of test 2017-01-02 16:32:04 +01:00