Commit Graph

1234 Commits

Author SHA1 Message Date
Antonio David Perez Morales ad40040852 BAEL-1531 Add class to connect to secured server (#3919) 2018-04-03 12:43:24 +02:00
Alejandro Gervasio 2ed8ad2e00 Inheritance and Composition (Is-a vs Has-a relationship) in Java - BAEL-1598 (#3871)
* Initial Commit

* Fix package names
2018-04-01 20:50:12 -05:00
raghav-jha 1de8475a99 BAEL-1576 Added implementation for finding sum in a boxed integer array (#3901) 2018-03-28 17:37:33 +01:00
KevinGilmore e0a9e4faf4
BAEL-1612 README (#3898)
* 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

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update

* BAEL-1612: README update
2018-03-27 19:58:38 -05:00
mherbaghinyan 5f90412f7c JavaFX UI 2018-03-27 10:11:05 +04:00
raghav-jha 8441d41fdc BAEL-1586 Modified logic to use forEach loop (#3879)
* BAEL-1586 Modified logic to use forEach loop

* BAEL-1586 Added Unit Test For Finding Average Given an Empty Array
2018-03-25 21:07:31 +01:00
Loredana Crusoveanu 7a77e32fe6 ignore long test 2018-03-24 21:34:44 +02:00
Loredana Crusoveanu 017dc92d50 Merge branch 'BAEL-1599-v2' of https://github.com/eugenp/tutorials into BAEL-1599-v2 2018-03-24 21:33:32 +02:00
Loredana Crusoveanu 98010d02e4 set default timezone 2018-03-24 21:27:02 +02:00
Loredana Crusoveanu 8182d49cf2
Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 20:16:49 +02:00
Loredana Crusoveanu 72b2e5e984
Update DaylightSavingTimeJavaTimeExamplesTest.java 2018-03-24 17:30:49 +02:00
Loredana Crusoveanu 8e4094b84b
Update DaylightSavingTimeExamplesTest.java 2018-03-24 15:09:36 +02:00
Loredana Crusoveanu d12be45fe1 formatting 2018-03-24 10:22:40 +02:00
Loredana Crusoveanu 068a21f32a formatting, dst error 2018-03-24 10:17:26 +02:00
Loredana Crusoveanu 86e8493bbf
Merge pull request #3872 from andrea-ligios/master
BAEL-1599
2018-03-23 19:10:32 +02:00
myluckagain 2840347d60 BAEL-1612 (#3811)
* bael-1612

* line
2018-03-23 08:36:49 -05:00
andrea b07e50f46f BAEL-1599 2018-03-23 01:21:24 +01:00
mherbaghinyan c454749544 javafx main application 2018-03-22 09:20:32 +04:00
Loredana Crusoveanu e965ee4af9
Update README.md 2018-03-18 18:16:04 +02:00
Loredana Crusoveanu 747bec1208
Update README.md 2018-03-18 15:49:32 +02:00
KevinGilmore d602f66cd9
BAEL-1491 README (#3832)
* 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

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update

* BAEL-1178 README updated

* BAEL-1462 README

* BAEL-1491 README update
2018-03-17 15:24:22 -05:00
Fatos Morina 4c0a39a342 Add data structures as a separate module (#3518)
* Remove data structures from core-java

* Add data-structures

* Update README with links to articles

* Add parent module reference
2018-03-17 09:41:50 +01:00
Loredana Crusoveanu b40108d91e move plugin file 2018-03-16 22:13:31 +02:00
Mher Baghinyan 24acf35bce Bael 1611 (#3799)
* Externalizable test

* Guide to Externalizable interface +tests

* serialize Community
2018-03-15 10:08:37 +01:00
Andrea b832ed0af8 Merge remote-tracking branch 'upstream/master' 2018-03-11 21:54:59 +01:00
andrea c5ac4b4bba BAEL-1599 2018-03-11 21:35:00 +01:00
Jonathan f50d111c5e BAEL-1068 (#3456)
* BAEL-1068 - Javadoc example classes

* BAEL-1068 - Formatting change for pom.xml

* Updated javadoc comments to reflect article example

* Added javadoc tags for throws, deprecated, and version and a clause to throw an exception
2018-03-11 19:18:35 +01:00
Tarang Bhalodia 00c022388f BAEL-1524: Chain of Responsibility Design Pattern in Java (#3780)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: moved chain of responsibility example from core-java module to patterns module
2018-03-08 07:45:48 -07:00
raghav-jha 4526bb6add BAEL-1586 Sum and Average in Java Array (#3718)
* Evaluation Article

* CR comments resolved

* BAEL-1586 Find Sum and Average in Java Array

* Revert "CR comments resolved"

This reverts commit c9bf88fcd58773d3df34e2a6cb4db44c3b54777d.

* Revert "Evaluation Article"

This reverts commit 41ad30313ab2c454350b5accdee531dba80e7ea9.

* BAEL-1586 Removed Author Description

* BAEL-1586 Find Sum And Avergae In Array

* remove excess whitespace
2018-03-07 15:59:50 +00:00
myluckagain 103e6b69fa Bael-1604 (#3765)
* BAEL-1604

* BAEL-1604
2018-03-05 14:21:48 +01:00
Tom Hombergs 029e160156 added link to article (#3768) 2018-03-04 20:34:17 +01:00
Eugen Paraschiv 7cc57756e1 testing work 2018-03-04 17:28:06 +02:00
Eugen Paraschiv 535656eeb5 testing work 2018-03-04 17:17:57 +02:00
ocheja 25a118deb3 Implement examples for ASCII Art in Java (#3753) 2018-03-03 08:42:05 -08:00
Rokon Uddin Ahmed c10cb80823 02.03 (#3747)
* 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

* Update README.md

* Update README.md

* Update README.md
2018-03-02 18:40:04 +02:00
Tom Hombergs 5c181c4b72
Merge pull request #3739 from nguyennamthai/BAEL-1537
Second commit for TDD List implementation
2018-02-28 19:59:17 +01:00
Nguyen Nam Thai c7e0852449 Second commit for TDD List implementation 2018-02-27 08:55:16 +07:00
KevinGilmore 30285c1c18
BAEL-1507 README (#3735)
* 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

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md

* BAEL-1278: Update README

* BAEL-1326: Update README

* BAEL-399: Update README

* BAEL-1297: Update README

* BAEL-1218: README

* BAEL-1148 README update

* BAEL-113 README

* BAEL-1158 README

* BAEL-1539: Update README

* BAEL-1507 README update
2018-02-26 19:39:11 -06:00
Shouvik Bhattacharya 1f27c9ded7 BAEL-1534: Detect the OS from Java (#3636)
* BAEL-1534: Mini-article completed.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.

* BAEL-1534: Changes incorporated.
2018-02-26 07:13:27 +01:00
MalaguptaBaeldung e789eaa9ae
Source code (test) - Guide to Inheritance in Java 2018-02-25 08:08:12 -08:00
MalaguptaBaeldung dffe5cb81d
Source code - Guide to inheritance in Java 2018-02-25 08:06:50 -08:00
José Carlos Valero Sánchez 83d5f6a485
Merge pull request #3589 from raksha-rao/BAEL-1540-classloader
Bael 1540 classloader
2018-02-24 13:50:01 +01:00
Donato Rimenti 9371794370 Bael 1496 flyweight (#3598)
* Added flyweight pattern example.

* Refactored VehicleFactory to use computeIfAbsent method.
2018-02-24 08:21:36 +01:00
Tom Hombergs bfdc1713a7 added article link (#3586) 2018-02-24 08:19:12 +01:00
linhvovn 058525f68b [tlinh2110@gmail.com] BAEL1377 - Recursion in Java (#3130)
* [tlinh2110@gmail.com] BAEL1377 - Recursion in Java

* [BAEL1377] Remove unused method

* [tlinh2110@gmail.com] Add sum method

* [tlinh2110@gmail.com] Add example for iterative approach
2018-02-24 08:11:23 +01:00
xenteros 327719e1bb Add complete codes for an article about deep copy (#3610)
* Add complete codes for an article about deep copy

* Add missing gson dependency

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments

* Apply changes suggested in PR comments
2018-02-22 21:07:12 -06:00
Patryk 378cae0821 [BAEL-1536] A Guide to the Resource Bundle (#3602)
* [BAEL-1536] A Guide to the Resource Bundle

The essential code for the article

* [BAEL-1536] A Guide to the Resource Bundle #2

The essential code for the article after the first article review.

* [BAEL-1536] A Guide to the Resource Bundle #3

Essential changes after the second review.

* [BAEL-1536] A Guide to the Resource Bundle #4

Essential changes after the second review:
- Doubles to BigDecimals
2018-02-22 20:45:27 +00:00
Tarang Bhalodia a243d8494d BAEL-1524: Chain of Responsibility Design Pattern in Java (#3573)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)

* BAEL-1282: added TDD type junit tests for geospatial queries elasticsearch

* BAEL-1524: added example for chain of responsibility design pattern

* BAEL-1524: added BDD style jUnit test to test unknown handler in ChainOfResponsibility design pattern

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: refactored ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example

* BAEL-1524: updated ChainOfResponsibility design pattern example
2018-02-19 17:49:48 +01:00
myluckagain fe97d98c30 BAEL-1553 (#3679) 2018-02-19 01:30:31 +01:00
Tom Hombergs 62c1a46b01
Merge pull request #3663 from nguyennamthai/BAEL-1537
Initial commit for List TDD
2018-02-18 22:29:40 +01:00
Raksha Rao 12a311083c Custom class loader example 2018-02-19 01:50:24 +05:30
Loredana Crusoveanu 476ed301f6 rename vars 2018-02-18 13:59:42 +02:00
Loredana Crusoveanu 544cd5253c
Merge pull request #3688 from harshjain25/BAEL-1526-string-comparison
BAEL-1526 : Comparing strings in Java
2018-02-18 13:50:41 +02:00
Harsh Jain 5aa81d9be3 BAEL-1526 : added exmaple unit test cases for string comparison 2018-02-18 12:19:44 +05:30
Nguyen Nam Thai 7debccf695 Fix a test 2018-02-18 11:08:00 +07:00
Nguyen Nam Thai c1787cc07a Change the test method names 2018-02-18 11:05:00 +07:00
Andrea Ligios 2a127b3df3 . (#3687) 2018-02-17 12:40:01 -08:00
andrea b63caab397 . 2018-02-17 18:30:36 +01:00
Nam Thai Nguyen 08d53a2cbb Change the names of test methods 2018-02-17 11:45:03 +07:00
Nam Thai Nguyen a67d99a09a Initial commit for List TDD 2018-02-14 17:10:18 +07:00
Alejandro Gervasio 4f6988b134 Method Overloading and Overriding in Java - BAEL-1507 (#3621)
* Initial Commit

* Update Multiplier.java

* Refactored MethodOverridingUnitTest class

* Update Car.java

* Update Vehicle.java

* Update MethodOverridingUnitTest.java

* Update MethodOverridingUnitTest.java

* Fix package names
2018-02-13 21:08:31 -06:00
Shouvik Bhattacharya 4d64a12271 BAEL-1525: Review comments incorporated. (#3639) 2018-02-12 05:58:06 +01:00
Loredana Crusoveanu 7c6a4b0b4d
Update Palindrome.java 2018-02-10 18:48:41 +02:00
Loredana Crusoveanu 4c044fcaee remove imports 2018-02-10 17:45:01 +02:00
Loredana Crusoveanu 50deec5b5c refactor streams ex 2018-02-10 17:42:52 +02:00
shouvikbhattacharya 9d9045f130 BAEL-1525: New changes added. 2018-02-08 21:04:46 +05:30
shouvikbhattacharya 6887bc10d1 BAEL-1525: More changes. 2018-02-07 20:29:35 +05:30
shouvikbhattacharya 604f5b1535 Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-1525-Check-if-a-String-is-a-palindrome 2018-02-06 20:15:32 +05:30
Raksha Rao 20b8dbffc4 sample class loader 2018-02-05 15:45:51 +05:30
Raksha Rao 2f31b4a8cc classloader example 2018-02-05 11:09:34 +05:30
shouvikbhattacharya 581e8592ae BAEL-1525: Article code completed. 2018-02-04 18:22:17 +05:30
Nam Thai Nguyen 53bb927610 Modifies the Data class 2018-02-03 20:21:46 +07:00
myluckagain 55660e7702 BAEL-1497 (#3568) 2018-02-01 23:17:53 +01:00
Nam Thai Nguyen be90e9870c Initial commit for BAEL-1500 2018-01-29 17:02:48 +07:00
Tom Hombergs 211c8a0c30
added link to finalize article 2018-01-25 22:06:00 +01:00
Nam Thai Nguyen 7e6cb22c7d Merge branch 'master' into BAEL-1479 2018-01-21 23:39:47 +07:00
Nam Thai Nguyen 30321eb801 initial commit for the BAEL-1479 2018-01-21 23:37:11 +07:00
Grzegorz Piwowarek 7bd1fbf734
Refactor Trie (#3469) 2018-01-20 15:05:41 +01:00
Grzegorz Piwowarek 0293c65f77
Trie Examples (#3466)
* Implement Trie

* Implement TrieTest

* Delete testDelete method

* Refactorings

* Refactor Trie

* Refactor TrieNode

* Refactor Trie
2018-01-20 11:54:24 +01:00
Rokon Uddin Ahmed c3e8ba4a70 Pull request 17.01 (#3442)
* 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

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-01-17 21:53:17 +01:00
Doha2012 bff36974cd create core-java-io module (#3397)
* make sure modules using java8

* move url matching code

* upgrade boot parent

* minor cleanup

* fix blocking tests

* add core-java-io module
2018-01-12 15:30:30 +01:00
Sirish Renukumar f7edd9b594 Static class example (review comments addressed) 2018-01-10 19:27:36 +05:30
daoire 92d256c7fd
Update README 2018-01-08 17:27:04 +00:00
Igor Kugaudo fd9d956be3 BAEL-1351 RegEx for matching Date Pattern in Java (#3217)
* kugaudo/igor@kugaudo.com

* BAEL-1351 RegEx for matching Date Pattern in Java

* BAEL-1351 RegEx for matching Date Pattern in Java

* BAEL-1351 RegEx for matching Date Pattern in Java

* Fixed names of test methods

* Refactored class names, split unit tests by classes

* Reordered test cases in Gregorian date matcher unit test, formatted code

* Added override annotation

* Renamed mather main method for better semantics

* Fixed names of test methods

* Split Gregorian date matcher to separate branches

* Fixed test cases according to the article

* Revert "Merge branch 'master' into datepattern"

This reverts commit 0d57456140bc9e1f36d32b3e707acd2729b2c60f, reversing
changes made to c768132dcd24d4312567298f34c67cb31dcde9f8.
2018-01-08 17:24:28 +00:00
hugosama1 92789f9ae6 Guidetoiterator (#3368)
* Added code for iterator

* missing imports..
2018-01-08 17:22:36 +01:00
Jonathan 8108875723 BAEL-1068 (#3070)
* BAEL-1068 - Javadoc example classes

* BAEL-1068 - Formatting change for pom.xml

* Updated javadoc comments to reflect article example
2018-01-06 18:01:49 +01:00
Loredana Crusoveanu bcae968f99
Update README.md 2018-01-06 18:43:48 +02:00
Loredana Crusoveanu ce005f70f0
Merge branch 'master' into lor6-patch-8 2018-01-06 12:01:51 +02:00
Loredana Crusoveanu 7674ec43be
Update README.md 2018-01-06 11:35:44 +02:00
Loredana Crusoveanu 93273366dc
Update README.md 2018-01-06 11:28:35 +02:00
Loredana Crusoveanu 749533e14d fix start instead of run (#3353) 2018-01-05 19:18:24 +01:00
Tarang Bhalodia e039960365 BAEL-1422: Guide to ThreadLocalRandom [tarangbhalodia@gmail.com] (#3347)
* BAEL-1422: measure performance of Random and ThreadLocalRandom using JMH

* BAEL-1422: updated benchmarking examples of Random and ThreadLocalRandom to use newWorkStealingPool that leverages ForkJoinPool

* BAEL-1422: refactored benchmarking examples for comparing performance of ThreadLocalRandom and Random
- initialised the collection of Callable before running benchmarking
- removed for loop for submitting task and instead used executor.invokeAll(collection_of_callable)
2018-01-04 21:58:04 +02:00
Tarang Bhalodia 12a1924cb3 BAEL-1422: added BDD style test for asserting UnsupportedOperationException while setting seed for ThreadLocalRandom 2018-01-02 23:47:39 +05:30
Tarang Bhalodia 036fabc9f7 BAEL-1422: added BDD style tests for generating random values using ThreadLocalRandom 2018-01-02 22:38:50 +05:30
Loredana Crusoveanu 5374dbb96c
Merge pull request #3314 from eugenp/pivovarit-patch-3
Update BinaryTree.java
2017-12-28 16:33:24 +02:00
Doha2012 962dfd228f make sure modules using java8 (#3313) 2017-12-28 15:30:01 +01:00
Grzegorz Piwowarek 7b797ff97a
Update BinaryTree.java 2017-12-28 13:45:03 +01:00
Marcos Lopez Gonzalez 5e25e2c3ea BAEL -1339 Implement a binary tree in Java (#3301)
* edge cases binary tree

* code cleanup
2017-12-28 13:16:38 +01:00
Loredana Crusoveanu ef97c8aa0b
Update README.md 2017-12-28 01:11:30 +02:00
KevinGilmore 546cc0742e
1371 README (#3297)
* 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

* BAEL-1196: Update README

* BAEL-1328: Updated README

* BAEL-1371: Update README.md

* BAEL-1371: Update README.md
2017-12-25 22:13:39 -06:00
Loredana Crusoveanu 5be2f5c28f
Merge branch 'master' into lor6-patch-6 2017-12-24 20:29:22 +02:00
KevinGilmore 79125b1f20
BAEL-1328 README (#3290)
* 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

* BAEL-1196: Update README

* BAEL-1328: Updated README
2017-12-24 11:50:17 -06:00
Loredana Crusoveanu a1afa983d3
Update README.md 2017-12-24 19:50:07 +02:00
Loredana Crusoveanu b18c4deb3f remove extra serialization ex 2017-12-23 22:36:56 +02:00
Loredana Crusoveanu cc39f18d21
Merge pull request #3208 from Ahmad-alsanie/master
BAEL-1329 A Guide to Java Initialization
2017-12-23 22:28:30 +02:00
Victor Ikoro 52edd46c0a BAEL-1371 - Guide to Cipher class (#3150)
* Bean Injection Types

* Bean Injection Types

* Bean Injection Types

* Bean Injection Types -  Added / Fixed tests

* BAEL-1371 Encryptor class

* BAEL-1371 Modified Encryptor class, added encryptor test

* BAEL-1371 Modified Encryptor class, added encryptor test

* BAEL-1371 removed spring core files

* BAEL-1371 Update test, new line for "when" and "then" logic

* BAEL-1371 Fixed tests

* BAEL-1371 cleanup and assertj assertions
2017-12-21 21:39:55 -06:00
Shouvik Bhattacharya d14cc42306 BAEL-1438: TreeMap vs HashMap (#3265)
* BAEL-1438: Final code.

* BAEL-1438: Temporary commit.

* BAEL-1438: New Changes.

* BAEL-1438: New test case to support Java 8 features.
2017-12-21 08:44:27 -08:00
André Thiago 2bff7a623e BAEL-1328 Solving conflcts and applying code formatter. (#3273)
* BAEL-1328 How to Invert an Array in Java

* Removing code from evaluation article.

* BAEL-1328
Adjusting spaces and implement inversion with commons lang3 and guava.

* BAEL-1328 Renaming unit test class; using AssertJ.

* BAEL-1328 Change to use rangeClosed.

* BAEL-1326 Solving conflicts and apply code formatting.
2017-12-21 09:06:58 -06:00
daoire 2cbd44df83
Update README.md 2017-12-19 19:03:15 +00:00
Binesh Narayanan 94ace2eda8 BAEL-1348 | BatchProcessing example using jdbc (#3216)
* BAEL-EVAL | Adding an example to demo Bean Injection

### Changes done
A Spring boot app to demo bean injection

* Adding @Autowired for Constructor Injection

* BAEL-EVAL | Correcting the method name

* BAEL-EVAL

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added one example using statement
- Added one example using preparedstatement

* Removing evaluation article

* BAEL-1348 | Adding example of Batch Processing in JDBC

### Changes done
- Added an example using statement
- Added an example using preparedstatement

* BAEL-1348 | BatchProcessing example using jdbc

### Changes done
- Add example using statement
- Add example using PreparedStatement
- Add Unit Tests

* BAEL-1348 | Changes to pom.xml and refactoring UnitTest

* BAEL-1348 | Removing the example using spring-boot
2017-12-19 07:37:35 +01:00
Carsten Gräf 617c2ffdba
Merge pull request #3257 from shouvikbhattacharya/BAEL-1433
BAEL-1433: Guide to TreeSet in Java
2017-12-18 06:50:12 +01:00
Loredana Crusoveanu 925297c60f
Merge pull request #3253 from asturcon/tutorials/binaryTreeJava
BAEL-1339 - Implementing a binary tree in Java
2017-12-16 20:21:01 +02:00
shouvikbhattacharya 6b323c45cc BAEL-1433: Minor changes. 2017-12-16 21:28:03 +05:30
Pazis a5f78cf7d5 BAEL-1308 - Copy a File with Java (#3000)
* Create Student.java

* Create ApplicationContextTestBeanInjection.java

* Update Student.java

* added tests

added tests

* BAEL-1308

part 1

* Create test_stream.txt

* Create test_files.txt

* Create test_channel.txt

* Create test_apache.txt

* Create test.txt

* Delete test.txt

* Create readme.txt

* Delete Student.java

* Delete StudentInjectionTest.java

* Delete ApplicationContextTestBeanInjection.java
2017-12-16 13:18:09 +01:00
Carsten Gräf 1d73d59d93
Merge pull request #3243 from shouvikbhattacharya/BAEL-1433
Bael 1433: Guide to TreeSet in Java
2017-12-16 12:47:39 +01:00
Marcos 959845621f refactor 2017-12-16 12:37:30 +01:00
Marcos 7acbc7902d recursived deletion binary tree 2017-12-16 12:33:50 +01:00
Loredana Crusoveanu 4ae33ebdf8
Merge pull request #3254 from egoebelbecker/master
BAEL-1374 -reuse search array
2017-12-16 08:13:55 +02:00
ericgoebelbecker e20d477733 BAEL-1374 - reuse array 2017-12-15 18:58:37 -05:00
Marcos 9ead70be1b var renamed 2017-12-15 20:42:56 +01:00
Marcos 1fa5e1a8e3 Merge remote-tracking branch 'upstream/master' into tutorials/binaryTreeJava 2017-12-15 20:27:41 +01:00
Marcos 15bc324430 binary tree changed to follow a recursive approach 2017-12-15 20:26:16 +01:00
ericgoebelbecker 6809155a91 BAEL-1374 - same search in each loop. 2017-12-15 13:19:43 -05:00
ocheja 171d28a9d1 Remove verbose file info content (#3238)
* 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.

* Replace string concatenations with String.format

* Replace string concatenations with String.format

* Remove verbose file info descriptor and replace with simpler one
2017-12-14 23:06:41 +01:00
shouvikbhattacharya ef4b560965 BAEL-1433: Article complete pushing final code. 2017-12-14 22:14:58 +05:30
shouvikbhattacharya 0d07e421ff BAEL-1433: Commit changes for treeset article. 2017-12-14 20:15:00 +05:30
Loredana Crusoveanu 647d83cb24
Merge pull request #3218 from egoebelbecker/master
BAEL-1374 - move JMH settings to class-level annotations.
2017-12-12 10:01:36 +02:00
Rokon Uddin Ahmed b59226a68c 12.12 (#3219)
* 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

* 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

* Create README.md

* Update readme.md

* Update README.md

* Update README.md

* Update README.md
2017-12-12 07:32:35 +01:00
ericgoebelbecker c787414dd9 BAEL-1374 - move JMH settings to class-level annotations. 2017-12-11 22:27:04 -05:00
bahti b2ea831d83 inner interface examples added (#3151) 2017-12-11 18:31:52 +01:00
Marcos a91c6659d6 Merge remote-tracking branch 'upstream/master' into tutorials/binaryTreeJava 2017-12-10 19:29:33 +01:00
Marcos 72d162ddc9 tests refactoring 2017-12-10 19:27:45 +01:00
Loredana Crusoveanu 763f0d59c5
Merge pull request #3210 from egoebelbecker/master
BAEL-1374 - use JMH. Move out of test area.
2017-12-09 20:19:58 +02:00
Marcos 7c82545377 tests renaming 2017-12-09 11:20:14 +01:00
ericgoebelbecker b49844c3d8 BAEL-1374 - use JMH. Move out of test area. 2017-12-08 23:11:50 -05:00
Ahmad Alsanie 4b0a98f6b0 init commit - a guide to java initialization classes and resources 2017-12-08 15:50:47 +02:00
Marcos 9f3ce63cd9 Merge remote-tracking branch 'upstream/master' into tutorials/binaryTreeJava 2017-12-07 23:38:58 +01:00
Marcos a391ecf04f BAEL-1339 - Implementing a binary tree in Java 2017-12-07 23:37:09 +01:00
ocheja c0a730a3ac Replace string concatenations with String.format (#3201)
* 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.

* Replace string concatenations with String.format

* Replace string concatenations with String.format
2017-12-07 10:24:49 +01:00
André Thiago 5477f80a1c BAEL-1328 (#3099)
* BAEL-1328 How to Invert an Array in Java

* Removing code from evaluation article.

* BAEL-1328
Adjusting spaces and implement inversion with commons lang3 and guava.

* BAEL-1328 Renaming unit test class; using AssertJ.
2017-12-05 20:43:23 -06:00
Ahmed Tawila 224c964801 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-12-04 00:10:44 +02:00
Shouvik Bhattacharya 4e39bfb945 Bael-1305: A Guide to Java Loops (#3181)
* BAEL-1305: A Simple Guide to Java Loops.

* BAEL-1305: Updated article to add few more examples.
2017-12-02 21:54:36 +01:00
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
Ahmed Tawila c728e9d4a8 cleanup 2017-12-01 14:50:22 +02:00
Ahmed Tawila 956ad7cccb Merge branch 'master' of https://github.com/ahmedtawila/tutorials 2017-12-01 14:46:17 +02:00
Ahmed Tawila ea2c91871e merge with base repo 2017-12-01 14:46:05 +02: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
Ahmed Tawila 11863ab2c3 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-11-29 15:28:21 +02:00
Ahmed Tawila 339552010e enhance nested classes 2017-11-29 15:28:08 +02: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
Ahmed Tawila 138633863c Nested Classes in Java 2017-11-24 21:01:47 +02: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
Ahmed Tawila 79a4d133c3 Merge branch 'master' of https://github.com/ahmedtawila/tutorials 2017-11-23 23:24:59 +02:00
Ahmed Tawila f13048b63e Merge branch 'master' of https://github.com/eugenp/tutorials 2017-11-23 23:24:40 +02:00
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
Ahmed Tawila 1a368ca9f3 fix test failures 2017-11-16 12:22:12 +02:00
Ahmed Tawila 53074cd7f0 fix test failure 2017-11-16 12:07:48 +02:00
Ahmed Tawila 31a26aca25 fix all test failures 2017-11-16 12:01:08 +02:00
Ahmed Tawila f6ca36fa21 fix test failure 2017-11-16 11:38:58 +02:00
Ahmed Tawila df3aa78d57 fix test failure 2017-11-16 11:31:05 +02:00
Ahmed Tawila 0ffa8c6c8c revert sneaky runnable fix attempt 2017-11-16 11:08:27 +02:00
Ahmed Tawila afd142caa0 fix Sneaky Runnable test 2017-11-16 10:50:25 +02:00
Ahmed Tawila 1bbe9196ee cleanup 2017-11-16 10:42:59 +02:00
Ahmed Tawila c901cb5fad fix build failures 2017-11-16 10:39:51 +02:00
Ahmed Tawila 10fe3d060f fix test error 2017-11-16 10:32:06 +02:00
Ahmed Tawila 2d3ea1ba24 fix build fails 2017-11-16 10:21:08 +02:00
Ahmed Tawila 960d8e004c BAEL-1309 Append Data to a File with Java 2017-11-16 06:44:34 +02:00
Ahmed Tawila 0568de3d94 merge with base repo 2017-11-15 23:04:11 +02: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
adamd1985 a6485c4326
Revert "Initial Commit (#2896)" (#2920)
This reverts commit 00faa99afc.
2017-10-31 08:36:31 +01:00
Alejandro Gervasio 00faa99afc Initial Commit (#2896) 2017-10-30 23:15:07 +01:00
Ahmed Tawila dbeb5f8ba4 BAEL-1171 java.lang.String API (#2874)
* 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

* BAEL-1263 Daemon Threads in Java
2017-10-29 22:17:41 +01:00
Ahmed Tawila 5a23a69081 merge with fork 2017-10-27 10:17:01 +02:00
Ahmed Tawila e6058445d9 merge with fork 2017-10-27 10:16:18 +02:00
Ahmed Tawila ead7528c9c BAEL-1171 java.lang.String API 2017-10-26 10:17:25 +02:00
Ahmed Tawila a636f754b0 BAEL-1250 Initializing Arrays in Java (#2862)
* 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
2017-10-25 19:17:15 +02:00
Ahmed Tawila 9ce32992a7 small fix 2017-10-25 15:53:15 +02:00
Ahmed Tawila 376206389f Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-25 15:34:54 +02:00
Ahmed Tawila 26f495afa7 BAEL-1250 Initializing Arrays in Java 2017-10-25 15:34:13 +02:00
Grzegorz Piwowarek 1757625dba Refactor Arrays (#2857) 2017-10-25 12:08:34 +02:00
Ahmed Tawila a5e2357033 BAEL-1250 Initializing Arrays in Java (#2811)
* 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
2017-10-24 18:47:40 +02:00
Ahmed Tawila c768592435 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-23 10:58:32 +02:00
Ahmed Tawila d14411e2b4 BAEL-1250 Initializing Arrays in Java 2017-10-23 10:58:07 +02:00
Grzegorz Piwowarek e7252f61aa Update URIvsURLUnitTest.java (#2808) 2017-10-22 14:17:57 +02:00
Ahmed Tawila 7120a2f1e3 Merge branch 'master' of https://github.com/eugenp/tutorials 2017-10-22 10:49:08 +02:00
Ahmed Tawila fdd485ddd9 BAEL-1250 Initializing Arrays in Java 2017-10-22 10:48:39 +02:00
ramansahasi 1d5b17ad6c BAEL-1210 Guide to the Static Keyword in Java (#2767)
* Adding Source Files

* Guide to the Static Keyword in Java - Test files
2017-10-20 11:49:48 -07:00
Grzegorz Piwowarek 0b5fbdc53e Cody756 master (#2740)
* 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

* Update 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

* 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

* 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

* 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

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Merge fix
2017-10-15 13:55:42 +02:00
Ahmed Tawila c3a45d072a BAEL-1171 String.lang.String API (#2742)
* 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
2017-10-15 13:37:47 +02:00
Ahmed Tawila b85bb1ae1e BAEL-1171 java.lang.String API (#2732)
* 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
2017-10-15 10:31:46 +02:00
Ahmed Tawila 9e273b1474 BAEL-1171 java.lang.String API (#2693)
* 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
2017-10-08 11:55:55 +02:00
eugenp c9a754f0e4 cleanup resources 2017-09-26 01:00:09 +03:00
KevinGilmore 771ded6b03 BAEL-1069 update README (#2648)
* BAEL-973: updated README

* BAEL-1069: Updated README
2017-09-20 07:03:20 -05:00
ramansahasi 3a9654370a BAEL-1072 Difference between Proxy, Decorator, Adapter, and Bridge Patterns (#2635)
* Changes as per last review. Changed method names so that they look more idiomatic.

* Updated pattern, changed method names and test cases
2017-09-17 16:59:23 -07:00
Rokon Uddin Ahmed f3557dec41 16.09 (#2628)
* 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

* Update 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

* 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

* 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

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2017-09-16 12:26:29 +03:00
Nikhil Khatwani 231500bbf6 Chnages for BAEL-527 (#2621) 2017-09-15 09:02:28 +03:00
Jose Carvajal 113294324e BAEL-1069: Guide to diamond operator in Java (#2587)
* Matchers is now deprecated in Mockito 2, it's now replaced by ArgumentMatchers

* BAEL-1069: Guide to diamond operator in Java

* Changes after review
2017-09-14 21:54:28 -05:00
Grzegorz Piwowarek 63678ff149 Fix int tests (#2608)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename Integration tests to Live tests

* Turn off benchmarks

* BroadcastIntegratonTest -> BroadcastLiveTest
2017-09-11 18:18:28 +02: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 19f39c141e Fix int tests (#2604)
* Rename JdbcIntegrationTest to JdbcLiveTest

* Rename JdbcIntegrationTest to JdbcLiveTest
2017-09-11 09:56:37 +02:00
Grzegorz Piwowarek f95f0da640 Rename JdbcIntegrationTest to JdbcLiveTest (#2600) 2017-09-11 08:33:34 +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
Grzegorz Piwowarek 7916882668 Refactor stream with indices (#2565)
* Refactor RxJava

* Refactor Stream with indices
2017-09-05 23:55:15 +02:00
ramansahasi 133bbe1aca Introduced jmh benchmarking (#2549) 2017-09-04 07:22:28 -07:00
alincojanu 01529c3202 sneaky throws (#2505)
* alin.cojanu25@gmail.com

* add junit tests

* core-java - sneaky throws

* delete project spring_sample_annotations and spring_sample_xml ->not intended for this article
2017-09-02 19:38:04 +02:00
Fatos Morina 94d02ed1f6 BAEL-1078 How to iterate over a stream with indices (#2544)
* Add the example with EntryStream

* Add the example with EntryStream

* Add vavr

* Implement the method getOddIndexedStringsVersionTwo

* Implement the method givenArray_whenGetIndexedStrings_thenReturnListOfOddStringsVersionTwo

* BAEL-1078 Code formatting

* Extract tuples using map

* Fix merge conflicts
2017-09-02 11:42:24 +03: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
Doha2012 9c03b45c23 move java8 code (#2535)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup

* fix conflict

* java 8

* clean up

* add core-java-8 to main pom
2017-08-31 09:43:28 +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
ramansahasi 5945d5ceb3 BAEL-1072 - Difference between Proxy, Decorator, Adapter, and Bridge (Update) (#2518)
* Removing old code

* Removing old code

* Removing old code

* Removing old code

* Updated design for Adapter pattern

* Updated test cases for new design
2017-08-29 14:25:11 -07: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 c5d77f424d BAEL-1074 Separate difference on date and datetime (#2511)
* 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
2017-08-27 21:55:59 -07:00
Doha2012 25263f1d6f java concurrency (#2502)
* fix spring config

* fix spring config

* fix spring config

* minor fix

* fix spring-boot module

* fix pom

* upgrade jackson

* minor fix

* java concurrency

* cleanup
2017-08-27 12:14:26 +02:00
ramansahasi 09d10ac85f BAEL-1076 How to get a number of digits in an int? (#2457)
* BAEL-1076 How to get a number of digits in an int?

Six different ways to find the number of digits in an integer.

* BAEL-1076 How to get a number of digits in an int?

* Update NumberOfDigits.java
2017-08-25 12:24:43 -07: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
ahmetcetin39 c12ba8618e BAEL-1070 CharSequence vs String in Java (Test case fixed) (#2500)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!

* Corrected test case.
2017-08-25 14:12:21 +02:00
ahmetcetin39 c31fc8d662 BAEL-1070 - CharSequence vs String in Java (Fixed Test Method) (#2499)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.

* Chaned assertEquals() to assertNotEquals(). We expected the result to be not equal!
2017-08-25 11:42:34 +02:00
eugenp 1cba1b043c minor formatting cleanup 2017-08-24 13:11:52 +03:00
Yasin 621d0d2c62 BAEL-1073 Converting a List to String in Java (#2489) 2017-08-23 11:00:25 -07:00
ahmetcetin39 b6674f68dc BAEL-1070 - CharSequence vs String in Java (#2451)
* Different types of bean injection classes are added.

* JUnit Tests for Zoo and Forest Class

* Necessary dependency is added to pom.xml

* Updated pom.xml

Carried dependency to into another dependency tag.

* dependency added.

* dependency is carried.

* dependency is added.

* A test dependency is added.

* dependency is changed.

* Dependency is changed.

* Test classes are changed and moved.

* test correction

* correction

* String vs CharSequence

* unnecesseray files are deleted.

* correction

* Assert statemenet is changed from java to junit

* Assert is changed.

* changed the name of the test methods.
2017-08-23 15:37:50 +02:00
Grzegorz Piwowarek 6db067d2c9 Refactor volatile (#2444) 2017-08-15 15:17:24 +02:00
deep20jain 00e3483531 Bael 1053 - Removing java from package name (#2443)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting

* Removing java from package name

* Deleting duplicate files

* Removing unused imports
2017-08-15 13:42:33 +02:00
Raúl Juárez 58469d79bf BAEL-864 Difference between URL and URI (#2438) 2017-08-14 19:45:30 +02:00
baljeet20 99eee4df2c BAEL-1077 Guide to volatile keyword (#2433)
* review changes

* BAEL-1024 Removed the proxy reference

* BAEL-1024 Renamed methods

* BAEL-1077 Guide to volatile keyword
2017-08-14 10:08:01 -07:00
deep20jain 290e759d4a BAEL1053 - deep20jain@gmail.com - Broadcasting and Multicasting in Java (#2368)
* Adding code for java broadcasting and multicasting

* Changing multicast ip

* Adding code to iterate thorugh all network interfaces

* Formatting again and fixing bug

* Applying formatting rules on all classes

* Fixing formatting
2017-08-14 04:11:49 +02: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
cleversonzanon 1824320f95 [BAEL-1066] Implementing Singleton pattern in Java (#2361)
* 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

* Implementing Singleton pattern in Java

* [BAEL-1066] Implementing Singleton pattern in Java

* Singleton Implementation changes.
2017-08-07 23:14:57 +02:00
Grzegorz Piwowarek b6e59c2ae7 Refactor bootique (#2380) 2017-08-06 13:23:19 +02:00
Grzegorz Piwowarek ae827f3122 Refactor hashcode() samples (#2377) 2017-08-05 22:07:50 +02:00
eugenp 4d8f92e587 formatting cleanup 2017-08-05 16:14:20 +03:00
eugenp f913859c6f package fixes 2017-08-05 16:13:22 +03:00
Yasin f02d117223 BAEL-887 How to collect a Java Stream to an immutable collection? (#2356)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API

* BAEL-887 How to collect a Java Stream to an immutable collection?

* BAEL-887 How to collect a Java Stream to an immutable collection?
2017-08-02 08:27:25 -07:00
Alejandro Gervasio 752086e80c Initial Commit (#2349) 2017-07-31 13:36:15 +02:00
Yasin deb79bbd83 BAEL-887 How to collect a Java Stream to an immutable collection? (#2339)
* BAEL-900 Guide to dynamic tests in Junit 5

* BAEL-900 Guide to Dynamic Tests in Junit 5

* Revert "BAEL-900 Guide to Dynamic Tests in Junit 5"

This reverts commit d0d45c9067223347da20d0f2c80de391fcade38e.

* BAEL-900 Guide to Dynamic Tests in Junit 5

* BAEL-900 Guide to dynamic tests in Junit 5

* removed unnecessary annotation

* BAEL-900 unused imports removed

* BAEL-900 simplified input generator code

* BAEL-252 A Java Client to consume a WebSockets API

* BAEL-887 How to collect a Java Stream to an immutable collection?
2017-07-30 09:33:51 -07:00
Ahmed Tawila 36608b78cc BAEL-1033 Introduction to StreamUtils (#2337)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems

* BAEL-1033 Introduction to StreamUtils

* BAEL-1033 Introduction to StreamUtils
2017-07-30 09:57:10 +02:00
Grzegorz Piwowarek 34a793a0fc Manual money tests (#2338) 2017-07-30 07:42:16 +02:00
Jose Carvajal f445a4d11b BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2 (#2311)
* BAEL-373: Improve/Upgrade existing Mockito articles to Mockito 2

* Fix formatting issue with LoginControllerIntegrationTest
2017-07-29 17:29:25 -05:00
Abhinab Kanrar 244a678b46 jooby project (#2330)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression

* jooby project

* jooby project
2017-07-29 16:56:24 +02:00
Grzegorz Piwowarek 9b143b820c Refactor core-java (#2324) 2017-07-28 18:15:37 +02:00
Alejandro Gervasio 34dc899c9b Custom Efficient hashCode() Implementations - Alejandro Gervasio - alejandro.gervasio@gmail.com (#2301)
* Initial Commit

* Updated pom.xml

* Updated User class

* Updated pom.xml

* Updated Application class
2017-07-24 23:15:09 +02:00
Abhinab Kanrar 1be49ebc7f introducing lambda (#2305)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java

* introducing lambda expression
2017-07-24 09:28:10 +02:00
Grzegorz Piwowarek 9c4042eb88 Add missing "volatile"s (#2307)
* Add volatile keywords

* Update SafeCounterWithoutLock.java
2017-07-24 08:49:36 +02:00
deep20jain 64212862bf BAEL-1029 - deep20jain@gmail.com - Addressing review comment (#2294)
* Adding test classes for java atomic variables

* Updating counter with atomic integer

* Adding reason for ignoring test

* Removing ignore annotation and moving test to manual test

* Removing counter test
2017-07-21 00:43:49 +02:00
Nikhil Khatwani b558adec06 Changes for BAEL-1050: Added new field (#2282) 2017-07-19 21:54:43 -05:00
Abhinab Kanrar 14456eb92d concurrent package description (#2265)
* moving jmh into libraries module

* refactoring jmh

* Update pom.xml

* manual algorightm

* with BM result

* fix for space issue

* Fixed indentation

* change as per suggestion

* vavr either

* adding unit test and othe rutilities

* adding concurrent module

* concurrent package description

* concurrent package description

* Update EitherUnitTest.java
2017-07-19 11:16:22 +03:00
deep20jain afa82c0d28 BAEL-1029 - deep20jain@gmail.com - An Introduction to Atomic Variables in Java (#2269)
* Adding test classes for java atomic variables

* Updating counter with atomic integer

* Adding reason for ignoring test
2017-07-18 06:08:19 +02:00
Grzegorz Piwowarek 3e2d766f37 Refactor TemporalAdjusters (#2266) 2017-07-15 17:08:56 +02:00
Rokon Uddin Ahmed 8ca38e15da Github11.07 (#2254)
* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2017-07-13 15:43:43 +02:00
Ahmed Tawila 13eec7e57c BAEL-994 - TemporalAdjuster in Java (#2232)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java

* BAEL-994 - TemporalAdjuster in Java - fix problems
2017-07-09 09:15:22 +02:00
Devendra Tiwari 1957750382 How to zip two collections in Java? (#2176)
* How to zip two collections in Java?

How to zip two collections in Java? | http://jira.baeldung.com/browse/BAEL-780

* Updated pom to add jool dependency

* Added Unit Tests of Zip Collections

* Moved files to libraries folder

* Fixed Compilation Error

* Removed jool dependency as code has been moved to libraries

* Removed jool property attribute
2017-07-08 22:20:49 +02:00
Ahmed Tawila 647455b029 BAEL-994 - TemporalAdjuster in Java (#2227)
* Evaluation article: Different Types of Bean Injection in Spring

* added tests & changed configuration to Java-based config

* removed xml config files

* rename unit tests

* BAEL-972 - Apache Commons Text

* remove code from evaluation article

* remove code from evaluation article

* BAEL-972 - Apache Commons Text - added another example

* BAEL-972 - Apache Commons Text - just indentation

* BAEL-994 - TemporalAdjuster in Java
2017-07-08 07:59:59 +02:00