Commit Graph

658 Commits

Author SHA1 Message Date
lor6 1e691b3a75 period and duration test (#1795) 2017-05-06 21:21:15 +02:00
pivovarit 6bda038a28 Fix tests 2017-05-06 20:57:50 +02:00
Raúl Juárez 934fc3ff39 BAEL-870 How to Call a Method During Runtime Using Reflection (#1789)
* BAEL-870 How to Call a Method During Runtime Using Reflection

* Update OperationsUnitTest.java

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

* BAEL-666: Updated README

* BAEL-415: Custom Scope

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

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

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

* BAEL-830: Updated README

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

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

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

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

* Remove testng from core-java

* Fix hibernate tests

* Exclude hibernate5

* Fix settest

* XStream refactor

* Refactor

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

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

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

* Reduce logging

* Reduce logging

* Reduce logging

* Reduce logging

* Optimize build

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

* BAEL-666: Updated README

* BAEL-415: Custom Scope

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

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

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

* BAEL-828: Updated README.md

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

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

* BAEL-856 rearange packages

* BAEL-856 Formatting

* BAEL-850 accumulator accumulates values

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

* BAEL-851 formatting

* SetTest refactor (#1724)

* Bael 850 (#1744)

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

* BAEL-850 no need to casting

* Build optimization (#1746)

* Build optimization

* Build optimization

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

* injecting beans

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

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

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

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

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

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

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

* remove utility classes (#1733)

* remove utility classes

* remove httpclient, extend http

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

* remove httpclient, extend http

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

* XML-based configuration replaced with Java Config.

* [BAEL-431] Exploring TestRestTemplate.

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

This reverts commit 66471cf0574c85f8ff514ec4caf5ba44ebba1a74.

* Revert of evaluation task "injecting beans"

This reverts commit d2ac20185e636245bc0ae0b4ccb952965de88e28.

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

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

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

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

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

* BAEL-850 formatting

* BAEL-850 Formatting

* spring 5 work

* SetTest refactor (#1724)

* BAEL-850 use lambda

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

* BAEL-850 ConcurentskipLIst

* BAEL-850 formatting

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

* BAEL-856 code for long adder and accumulator

* BAEL-856 rearange packages

* BAEL-856 Formatting

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

* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

* BAEL-666: Updated README

* BAEL-415: Custom Scope

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

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

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

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

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

* BAEL-88 Testing in Spring Boot

* BAEL-88 Integration tests fixed.

* Merge assertj -> testing (#1738)

* Guide to JDO (#1736)

* Guide to JDO

* Guide to JDO

* Guide to JDO

* Guide To JDO

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

* Add files via upload

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

* BAEL-666: Updated README

* BAEL-415: Custom Scope

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

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

* BAEL-735: README

* BAEL-567: README

* BAEL-736: README

* BAEL-766: Update README

* BAEL-555: README update

* BAEL-761: README update

* BAEL-742: Stripe API for Java README file

* BAEL-86: Correction to README file

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

* Guide to JDO

* Guide to JDO

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

* BAEL-856 rearange packages

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

* Guide to JDO

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

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

* BAEL-845 robust test

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

* more descriptive example

* proper eng

* better test name

* free memory call

* java 8 style

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

* BAEL-846 code for a syncrhonous queue article

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

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

* BAEL-845 proper if logic

* BAEL-845 proper test

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

* BAEL-845 m to m example

* BAEL-845 move code to test

* BAEL-845 use tryTransfer

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

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

* remove log4j dependencies

* remove commons-logging

* merge

* fix conflict

* exclude commons-logging dependency

* cleanup

* minor fix

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

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

* use standard logbook.xml

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

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README

* Rename README to README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

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

* add full update to REST API

* modify ratings controller

* upgrade herold

* fix integration test

* fix integration test

* minor fix

* fix integration test

* fix integration test

* minor cleanup

* minor cleanup

* remove log4j properties

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

* jvm log forging

* jvm log forging

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

* more descriptive example

* proper eng

* better test name

* free memory call

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

* userNameSecret

* better to string

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

* jvm log forging

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

* Update master

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

* TokenizerRefactor

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

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

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

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

* Update Application.java

* Delete MovieCrudService.java~

* token customization

* Update Application.java

* adding csv test

* adding csv test

* Update Application.java

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

* Update Readme for core-java and spring-hibernate4

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

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* adding ratpack module

* adding pom.xml

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

* adding spring-boot custom banner tutorial

* changing banner format in plain text

* Delete banner.txt~

* Delete b.txt~

* CORS in JAX-RS

* ratpack with google guice

* adding factory instance example

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

* Update Application.java

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

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

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

* Switch to use logging framework for output.

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

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

* Changes in the code as per suggestions in review.

* Change in test names as per suggestions...

* Changes in tests names for nullFirst and nullLast cases

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

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

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

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

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

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

* Fix java opts

* Fix java opts 2

* Fix java opts 3

* Add sudo: required

* Remove sudo: required

* Enable incremental builder

* Disable incremental builder

* Update

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

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

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

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

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

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

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.MD

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

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

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

* Update twitter4j.properties

* Update pom.xml

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

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

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

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

Different Types of Bean Injection article codes are added.

* Java-based configuration added

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

* List of Lists Article Codes added.

List of Lists Article Codes added.

* Most popular use case of grouping elements together added

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

Different Types of Bean Injection article codes are added.

* Java-based configuration added

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

* List of Lists Article Codes added.

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

* BAEL-604 Introduction to apache velocity

* BAEL-700 Guide to Java Lock APIs

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

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

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

* BAEL-668 using mapToInt instead of Compare

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

* Neo4j cleanup

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

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Simple Genetic Algorithm improvements

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

* BAEL-699 example of custom type infinite stream

* BAEL-699 do..while stream way

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

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

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

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

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test

* Added Neo4j section

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

* Minor code renames

* Added groupingBy collector unit tests

* Added test case for int summary calculation on grouped results

* Added the grouping by classes to the main source path

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

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

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

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long

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

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-02 18:30:05 +01:00
pivovarit a312ce5e11 Refactor ThreadPoolInParallelStream 2017-02-02 07:47:06 +01:00
pedja4 5c85259243 Update README.md
Added several relevant articles
2017-02-01 09:42:32 +01:00