Commit Graph

100 Commits

Author SHA1 Message Date
Loredana Crusoveanu bc29683080 update guava versiob 2017-11-21 18:19:10 +02: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
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
Nikhil Khatwani 231500bbf6 Chnages for BAEL-527 (#2621) 2017-09-15 09:02:28 +03:00
Grzegorz Piwowarek bf515679fe Fix int tests (#2607)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

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

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 15:18:41 +02:00
Grzegorz Piwowarek 2b5a6c13f8 Build opt (#2593)
* Build optimization

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

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

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

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

* Moved project from roo to spring-roo folder.

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

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

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

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

* BAEL-838 Added new line examples.

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

* BAEL-838 Changed method names

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

* BAEL-838 Removed unresolved conflict.

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

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

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

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

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

* BAEL-837 - Couple of smaller changes

* BAEL-837 - Added jUnit test.

* BAEL-579 Updated Spring Cloud Version

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

* BAEL-579 Added actuator to Cloud Config Client.

* BAEL-579 Enabled cloud bus and updated dependencies.

* BAEL-579 Config Client using Spring Cloud Bus.

* BAEL-579 Recreated Basic Config Server.

* BAEL-579 Recreated Config Client.

* BAEL-579 Removed test Git URL.

* BAEL-579 Added Actuator to Config Client

* BAEL-579 Added Spring Cloud Bus to Client.

* BAEL-579 Server changes for Spring Cloud Bus

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

* BAEL-579 Removed Git URL.

* Revert "BAEL-579 Updated Spring Cloud Version"

This reverts commit f775bf91e5.

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

This reverts commit 1d96bc5761.

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

This reverts commit 7845da922d.

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

This reverts commit 076657a26a.

* BAEL-579 Added missing dependency versions.

* BAEL-579 Added missing dependency versions.

* Updated gitignore

* BAEL-1065 Simple performance check StringBuffer vs StringBuilder.

* BAEL-1065 Added JMH benchmarks
2017-09-06 08:31:52 +02:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
Predrag Maric 12ffbe027d BAEL-1078 Code formatting (#2539) 2017-08-31 18:42:03 +02:00
shekhar-s 2f3e36405a Moved article code to libraries, added a null check and reverted change to core-java pom.xml (#2530) 2017-08-31 10:10:37 +02:00
Dassi orleando 2aeef70d39 BAEL-1074 move difference between dates from core-java to libraries (#2533)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article

* Improve dates diff: for dates and datetimes

* Move difference between dates from core-java to libraries
2017-08-30 16:23:59 +02:00
shekhar-s 3c5ed71063 BAEL-1075 (#2497)
* Adding test cases for "how to delete a directory"

* Removing .gitignore from Empty folder

* Adding .gitignore to Empty folder

* Updated method names and removed unnecessary imports

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

* BAEL-1078 Stream indices
2017-08-29 07:36:55 +02:00
Dassi orleando 8180274da2 BAEL-1074 Difference between two dates in Java (#2493)
* Different types of bean injection in Spring

* Difference between two dates in java

* Update README.md

* Simple clean of difference between dates

* Clean my test article
2017-08-25 10:39:12 -07:00
ramansahasi 415b80d03f BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2390)
* Structural Design Patterns 

Difference between several types of structural design patterns

* Structural Design Pattern

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns

* Structural Design Patterns

Difference between several types of structural design patterns
2017-08-08 10:56:53 -07:00
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
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
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
slavisa-baeldung 342c356b89 BAEL-835 - code rerfactor 2017-06-30 15:29:37 +01: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
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
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
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
lor6 bf71b3442b baos example (#1858) 2017-05-16 09:16:17 +03: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
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
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
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
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
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
Jesus Boadas b0e15fcca0 Guide to JDO (#1730)
* Guide to JDO

* Guide to JDO

* Guide to JDO
2017-04-25 20:54:32 +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
Abhinab Kanrar 782c5565fe jvm log forging (#1643)
* jvm log forging

* jvm log forging

* jvm log forging
2017-04-13 10:08:00 +02:00
pivovarit d0b0debd06 Exclude integration tests 2017-03-24 16:17:34 +01: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
root fc570b9e2e JSR-354 Java Money & Currency 2017-02-22 11:59:50 -04:00
Danil Kornishev dd40ed7025 Neo4j moved (#1152)
* Neo4j cleanup

* Neo4j cleanup

* Neo4j cleanup x2
2017-02-14 21:44:45 +01:00
Predrag Maric 77d4da5cd0 Merge remote-tracking branch 'origin/master' 2017-02-08 02:55:48 +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
Tomasz Lelek c791bdf1dc BAEL-672 test for weakHashMap 2017-02-05 12:56:09 +01:00
Muhammed Almas f7236b301b BAEL-519 Disruptor in its own module. (#1017)
* 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.
2017-01-21 06:51:04 -06:00
Muhammed Almas d5acd709e1 BAEL-587 Guide to Bimap (#995)
* 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-587 Initial commit for BiMap support.

* BAEL-587 Added new tests

* BAEL-587 Added new tests.

* BAEL-519 Removed Disruptor link from readme file.

* BAEL-587 Reverted Disruptor changes

* BAEL-587 reverted changes
2017-01-15 21:45:46 +01:00