Commit Graph

805 Commits

Author SHA1 Message Date
gitterjim-I 2a76b9c656 change test names, bael-667 (#1581)
* article Bael-667 initial commit.

* Switch to use logging framework for output.

* Make code more concise. Refactor as suggested.

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

* Switch to use logging framework for output.

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

* BAEL-680: renamed test methods

* BAEL-714: Updated README.md

* BAEL-737: Updated README.md

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

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

* Changes in the code as per suggestions in review.

* Change in test names as per suggestions...

* Changes in tests names for nullFirst and nullLast cases

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

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

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

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

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

* BAEL-722 Intro to JSONassert

* BAEL-722 Intro to JSONassert

Updated to 1.5.0

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

* Update pom.xml

* Update RunGuice.java

* Update Communication.java

* Update CommunicationMode.java

* Update DefaultCommunicator.java

* Update EmailCommunicationMode.java

* Update IMCommunicationMode.java

* Update SMSCommunicationMode.java

* Update MessageLogger.java

* Update MessageSentLoggable.java

* Update AOPModule.java

* Update BasicModule.java

* Update CommunicationModel.java

* Update Communicator.java

* Update BasicModule.java

* Update RunGuice.java

* Update MessageLogger.java

* Update Communicator.java

* Update pom.xml

* BAEL-278: Updated README.md

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

* Update pom.xml

* Update pom.xml

* Update pom.xml

* BAEL-345: fixed assertion

* BAEL-109: Updated README.md

* BAEL-345: Added README.md

* Reinstating reactor-core module in root-level pom

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

* BAEL-9: Updated README.md

* BAEL-157: README.md updated

* Changed project name

* Update RunGuice.java

Removed references to message logging and output

* Update Communication.java

Removed message logging-related code

* BAEL-566: Updated README.md

* New project name

* BAEL-393: removing guice-intro directory

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

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

* BAEL-731: Updated README.md

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

* Fix java opts

* Fix java opts 2

* Fix java opts 3

* Add sudo: required

* Remove sudo: required

* Enable incremental builder

* Disable incremental builder

* Update

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

Evaluation article on Different Types of Bean Injection in Spring

* Revert "yasin.bhojawala@gmail.com"

This reverts commit 963cc51a7a15b75b550108fe4e198cd65a274032.

* Fixing compilation error and removing unused import

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

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

* BAEL-608 Introduction to Java9 StackWalking API

* BAEL-608 Introduction to Java9 StackWalking API

changing the test names to BDD style

* BAEL-608 Introduction to Java9 StackWalking API

correcting the typo

* BAEL-608 Introduction to Java9 StackWalking API

improving method names

* BAEL-608 Introduction to Java9 StackWalking API

test method names improvements

* BAEL-718 Quick intro to javatuples

* merging pom from master

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

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.MD

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

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

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

* Update twitter4j.properties

* Update pom.xml

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

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

* adding webutils

* adding testcase for WebUtils and ServletRequestUtils

* adding testcase

* spring-security-stormpath

* Twitter4J

* Update Application.java

* Update ApplicationTest.java

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

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

Different Types of Bean Injection article codes are added.

* Java-based configuration added

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

* List of Lists Article Codes added.

List of Lists Article Codes added.

* Most popular use case of grouping elements together added

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

Different Types of Bean Injection article codes are added.

* Java-based configuration added

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

* List of Lists Article Codes added.

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

* BAEL-604 Introduction to apache velocity

* BAEL-700 Guide to Java Lock APIs

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

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

* testcase change

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

* BAEL-668 using mapToInt instead of Compare

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

* Neo4j cleanup

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

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

* Simple Genetic Algorithm improvements

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

* BAEL-699 example of custom type infinite stream

* BAEL-699 do..while stream way

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

* adding more join/split functionality

* changing package name

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

* Joining/Splitting Strings with Java and Stream API

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

* Modifications to model on Hibernate One to manyTutorial

* Modifications to model on Hibernate One to manyTutorial

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

* 4

* Update Application.java

* indentation changes

* spring @requestmapping shortcuts

* removing spring requestmapping and pushing spring-mvc-java

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

* Nashorn x2

* Nashorn added trailing newlines

* Cleanup

* Formatted script lines

* Change system outs to asserts

* Change Nashorn to be Junit tests

* Remove empty test

* Added Neo4j section

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

* Minor code renames

* Added groupingBy collector unit tests

* Added test case for int summary calculation on grouped results

* Added the grouping by classes to the main source path

* Reverting char array to string test class

* Reverting char array to string test class

* Reverting char array to string test class

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

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

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long

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

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-02 18:30:05 +01:00
pivovarit a312ce5e11 Refactor ThreadPoolInParallelStream 2017-02-02 07:47:06 +01:00
pedja4 5c85259243 Update README.md
Added several relevant articles
2017-02-01 09:42:32 +01:00
Dotun Kola-Olaleye e385c7409b String to char array and char array to String (#1002)
* String to char array and char array to String.

* Method change

* Custom ThreadPool In Java 8 Parallel Streams

* Implemented suggested edits from editor.

* Broke long method signature

* Changed primitive type int to long and formula.

* Update wrapper type to Long
2017-02-01 00:16:55 +01:00
Tian Baoqiang 7a10236334 add ConcurrentNavigableMap tests (#1083)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades

* add ConcurrentNavigableMap tests
2017-01-31 16:54:22 +01:00
Felipe Reis 8f7559df5e BAEL-612: used lambda instead of anonymous class 2017-01-30 15:14:50 -02:00
eugenp 034cde6e20 formatting work 2017-01-29 16:03:33 +02:00
Tian Baoqiang c565173601 fix ConcurrentMapTests failed test (#1070)
* add concurrentmap tests

* fix ConcurrentMapTests#givenConcurrentMap_whenKeyWithSameHashCode_thenPerformanceDegrades
2017-01-29 14:32:10 +01:00
Predrag Maric d38930100d BAEL-614 Fixed compilation error in NumbersProducer 2017-01-29 11:55:53 +01:00
Tomasz Lelek afa9292544 Merge branch 'master' into BAEL-614 2017-01-29 11:43:17 +01:00
Tomasz Lelek 0639b2cd6f BAEL-614 thread local random 2017-01-28 10:49:35 +01:00
Tomasz Lelek 2c0494dd03 BAEL-614 introduced poison pill message to stop our producers form run indefinitely 2017-01-28 10:45:57 +01:00
pedja4 a722a46373 Merge pull request #1061 from felipe-gdr/master
BAEL-612: Guide to java.util.concurrent.Future
2017-01-28 08:39:34 +01:00
Felipe Reis c0756273ca BAEL-612: Example usage of ForkJoinTask 2017-01-27 18:23:23 -02:00
Felipe Reis f36d7f1ac2 BAEL-612: Single and multi threaded Future usage. 2017-01-27 18:23:11 -02:00
pivovarit 5f89c098bd Merge remote-tracking branch 'origin/master' 2017-01-27 17:48:31 +01:00
pivovarit abb541bfba Fix Worker.java 2017-01-27 17:48:22 +01:00
Tian Baoqiang 5d2abc9031 add concurrentmap tests (#1051) 2017-01-27 14:10:49 +01:00
Pedja fb61d1b187 BAEL-614 Changed to use ThreadLocalRandom instead of Random 2017-01-27 12:24:31 +01:00
Pedja 4ff894095c BAEL-614 Added "public" to class definitions; Formatted code 2017-01-27 11:52:17 +01:00
Tomasz Lelek c9a1fb1b39 BAEL-614 move to proper package, move inner classes to separate classes 2017-01-26 18:41:29 +01:00
Tomasz Lelek 350765edfc Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-614 2017-01-26 18:39:25 +01:00
Egima profile 663951d8eb refactored Comparator code in TreeMap test (#1036)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map

* added javaslang project

* javaslang project

* added pattern matcher code

* refactored comparator code for TreeMap

* refactored Comparator code
2017-01-25 20:22:00 +01:00
Tomasz Lelek ea7e3db154 BAEL-614 remove println 2017-01-25 19:10:49 +01:00
Tomasz Lelek 5013f7be99 BAEL-614 without a fibonacci 2017-01-25 19:07:48 +01:00
pedja4 3793b32dee Merge pull request #1012 from mogronalol/master
BAEL-613 CountDownLatch
2017-01-25 11:46:22 +01:00
Andrew Morgan 21649ab375 BAEL-613 - Added workers which wait for all other workers to start 2017-01-21 20:51:50 +00: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
slavisa-baeldung d939853fe6 Merge branch 'pr/1014-stephen' 2017-01-21 08:06:57 +01:00
slavisa-baeldung 62c59c82ce BAEL-583 - minor changes 2017-01-21 08:06:30 +01:00
Andrew Morgan 65e7c7fa30 Updated test names 2017-01-20 20:48:48 +00:00
Muhammed Almas 1af04dbd85 BAEL-587 Bi map changes in test names (#1022)
* 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

* BAEL-587 Changed test names.

* BAEL-587 renamed tests.
2017-01-20 02:12:17 -06:00
slavisa-baeldung 444c475d7c Merge branch 'master' into pr/1014-stephen 2017-01-20 08:21:36 +01:00
Naoshadul Islam 117635f955 Added relevant articles (#1021)
* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Added relevant articles
2017-01-19 16:10:13 -06:00
Tomasz Lelek 49bcf8c967 BAEL-382 BlocknigQueue producer consumer program 2017-01-19 21:35:23 +01:00
Stephen Braimah 03902d2507 BAEL-583: Corrected naming for parallel stream test case 2017-01-19 09:53:56 +00:00
Stephen Braimah ff29b0ca05 BAEL-583: Added additional test case for parallel streams 2017-01-19 09:43:34 +00:00
Andrew Morgan c60c870506 BAEL-613 2017-01-18 22:53:34 +00:00
Zeger Hendrikse 056bbc02af Changed presidents for capitals in BiMap test 2017-01-17 21:26:25 +01:00
maibin 7b8bc69bae Merge pull request #1006 from sbmaggarwal/master
Added chainedexceptions in core-java
2017-01-17 18:36:42 +01:00
pivovarit 2c522ca047 Refactor IterableStreamConversionTest 2017-01-17 14:29:42 +01:00
slavisa-baeldung 543c6eeb29 BAEL-581 - reformatting 2017-01-17 11:31:13 +01:00
slavisa-baeldung a7c1fb3b72 BAEL-581 - Fixing assertions 2017-01-17 11:30:15 +01:00
slavisa-baeldung 67206a4a5c Merge pull request #1003 from dhruba619/master
BAEL-581 Convert Iterable to Stream
2017-01-17 10:45:33 +01:00
pivovarit 7f8ee6f118 Refactor LambdaExceptionWrappersTest 2017-01-17 09:04:42 +01:00
Vivek Kumar 0aa46996a6 BAEL-580 handling exceptions in lambda expressions (#1004) 2017-01-17 09:01:59 +01:00
Shubham Aggarwal b2a03d92aa Added chainedexceptions in core-java 2017-01-17 11:04:00 +05:30
dhruba619 348b3ca5ad BAEL-581 Convert Iterable to Stream 2017-01-16 22:04:47 +05:30
MMonik 142173dea1 Merge pull request #1000 from vaNaoshad/master
Added relevant articles
2017-01-16 09:28:26 +02: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
slavisa-baeldung 666803cf60 Merge remote-tracking branch 'origin/master' 2017-01-15 19:54:54 +01:00
Muhammed Almas a8d61e77dd BAEL-519 Introduction to LMAX Disruptor (#948)
* 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
2017-01-15 19:48:42 +01:00
Naoshadul Islam f528fbf7cf Added relevant articles 2017-01-15 21:05:01 +06:00
slavisa-baeldung d77ca20ff2 BAEL-583 - adding asserts to test 2017-01-15 15:15:11 +01:00
slavisa-baeldung dabdd5d397 Merge branch 'master' into pr/997-stephen 2017-01-15 15:08:31 +01:00
pivovarit 5a6eaeb1d2 Refactor InputStreamToFile examples 2017-01-15 09:27:07 +01:00
Stephen Braimah 4119fc9c23 BAEL-583: Removed print statements and added assertments to test class 2017-01-14 23:24:11 +00:00
Stephen Braimah 016d02ab17 BAEL-583: Added test class for Java 8 findFirst() and findAny() example 2017-01-11 22:10:56 +00:00
Stephen Braimah 3116a73d24 Revert: added to test class for string to char array char array to string conversion 2017-01-11 21:55:15 +00:00
Stephen Braimah de446f5443 Revert: added test class Java8FindAnyFindFirstTest 2017-01-11 21:54:53 +00:00
Stephen Braimah 2710fadcd5 added test class Java8FindAnyFindFirstTest 2017-01-11 18:58:44 +00:00
Naoshadul Islam 8dc3487b67 Added relevant articles (#962)
* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevnat articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md
2017-01-08 08:25:59 +01:00
pivovarit 638b6090f0 Refactor NashornTest 2017-01-06 16:43:46 +01:00
Danil Kornishev fbb4065024 Nashorn second Attempt (#923)
* 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
2017-01-06 15:20:47 +01:00
Stephen Braimah ac84f1b303 updated StringCharArrayConversionTest class method names to follow BDD naming conventions 2017-01-03 14:53:51 +00:00
Stephen Braimah b6bb1e18d4 added to test class for string to char array char array to string conversion 2017-01-03 09:02:30 +00:00
pivovarit 12966e0f08 Reformat Java8CollectorsUnitTest.java 2017-01-01 13:21:32 +01:00
Ravi-ronic 4a96076ecf BAEL-538 Basic introduction to JMX technology (#937)
wordpress link http://inprogress.baeldung.com/wp-admin/post.php?post=27628&action=edit
2016-12-29 03:00:03 -06:00
maibin ed89b85f18 Slope One refactoring (#926)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring

* SlopeOne refactoring
2016-12-26 21:21:17 +01:00
Saptarshi Basu 428bfcc8f2 WatchService vs. Apache Commons IO Mnitoring (#921)
* WatchService vs. Apache Commons IO Mnitoring

* Indentation fixed
2016-12-24 13:44:35 -06:00
maibin 1a17166d36 Slope One Algorithm (#917)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes

* Slope One plus package refactoring
2016-12-23 12:36:08 -06:00
Egima profile 3b6d709108 Code for Map (#909)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API

* added code for Map
2016-12-21 21:07:46 +01:00
maibin daa711d5a3 Simulated Annealing fix (#910)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase

* SA further fixes
2016-12-19 22:38:56 +01:00
Danil Kornishev c2f7711923 Nashorn (#896) 2016-12-19 22:16:49 +01:00
maibin 39cc3511ad Simulated Annnealing fixes (#907)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-19 19:13:52 +01:00
KevinGilmore ac6a6962a2 Update README.md 2016-12-18 18:03:11 -06:00
eugenp 73d82faf52 maven cleanup work 2016-12-18 17:31:20 +02:00
Eugen 5c8f44b2c6 Update README.md 2016-12-18 14:13:57 +02:00
Muhammed Almas 64b7412a9a BAEL-282 - Grep in Java after code review (#903)
* BAEL-242 Package refactoring after code review for article Grep in Java

* BAEL-282 Updated readme file
2016-12-18 04:34:15 -06:00
Naoshadul Islam 1b59823654 Created README.md and added relevant articles (#901)
* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Update README.md

* Added relevant articles

* Update README.md

* Created README.md and added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Added relevant articles

* Created README.md and added relevant articles

* Update README.md
2016-12-18 02:15:07 -06:00
Kevin Gilmore a1fe0749c0 BAEL-35: Added test methods using Apache Commons Collections4 2016-12-17 08:12:32 -06:00
eugenp d66d9fb2c0 maven fix and small formatting work 2016-12-17 15:24:36 +02:00
Muhammed Almas b4ac6c6ec5 BAEL-36 BAEL-282 Getting file size using Java and apache commons IO api. Also grep in Java (#890)
* BAL-36 File size api in java and apache commons IO

* BAEL-36 Getting file size using Java and commons IO api.

* BAEL-282 Added support for grep functionality.

* BAEL-282 Rename the text file extension.
2016-12-17 07:19:13 -06:00
maibin 7f45d8f9c9 Simulated Annealing algorithm (#900)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-16 21:10:54 +01:00
maibin 8844871e2b @Async and SecurityContext (#872)
* @Async and Spring Security

* @Async with SecurityContext propagated

* Spring and @Async

* Simulated Annealing algorithm

* Rebase

* Rebase
2016-12-16 10:14:48 +01:00
Naoshadul Islam 0e8f896695 Added relevant articles 2016-12-15 21:35:32 +01:00
Naoshadul Islam 804f7ebfa8 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
Naoshadul Islam b9a290fd7a Created README.md and added relevant articles: 2016-12-15 21:34:38 +01:00
Naoshadul Islam f53fe18755 Created README.md and added relevant articles 2016-12-15 21:34:38 +01:00
pivovarit 32ed4d622a Merge remote-tracking branch 'origin/master' 2016-12-14 16:20:17 +01:00
DOHA a3e61b9427 upgrade and cleanup 2016-12-13 22:02:58 +02:00
pivovarit c9bc20ecd3 Refactor Java8CollectionCleanupUnitTest 2016-12-12 22:13:53 +01:00
eugenp f73d5e917a marking some long running unit tests 2016-12-12 14:20:06 +02:00
Marek Lewandowski 3db2e80ab6 Unify, simply, format 2016-12-12 09:58:45 +01:00
slavisa-baeldung b7db6cef7f BAEL-276 - Refactoring encoding test 2016-12-09 23:51:00 +01:00
slavisa-baeldung 6882b767ce NOJIRA - updating README files 2016-12-09 22:40:29 +01:00
slavisa-baeldung d13f274bb3 Merge remote-tracking branch 'origin/master' 2016-12-08 22:07:49 +01:00
pivovarit d564cd3d8d Refactor Optional examples 2016-12-07 07:55:47 +01:00
pivovarit 55c2b3a338 Refactor Optional examples 2016-12-06 22:15:21 +01:00
slavisa-baeldung 9ae3a640a2 Merge branch 'master' into pr/837-sunil 2016-12-06 22:00:55 +01:00
Egima profile 8f9f3bdfee Added new code snippets to OptionalTest to further demo filter API (#881)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional

* fixed optional

* fixed asyncechotest

* shifted optional to own package

* made additional tests to demo filter API
2016-12-06 21:55:33 +01:00
slavisa-baeldung 4f4782255a BAEL-367 - Simplyfing code 2016-12-05 10:59:53 +01:00
eugenp 9621327040 minor formatting work 2016-12-05 11:50:57 +02:00
pivovarit dcb7221d29 Refactor Optional examples 2016-12-04 13:32:18 +01:00
pivovarit 7b6e09fb6a Reformat Optional 2016-12-04 12:43:30 +01:00
pivovarit efd1da83e3 Reformat Optional 2016-12-04 12:41:12 +01:00
Egima profile 11b1cd3edd fixed optional (#877)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core

* fixed optional
2016-12-04 12:30:28 +01:00
slavisa-baeldung 9d3b8dfb72 BAEL-376 - changing method signatures 2016-12-04 12:13:12 +01:00
pivovarit ec56e7f86c Fix AsyncEchoTest 2016-12-04 10:05:01 +01:00
slavisa-baeldung 1736f681ef Merge remote-tracking branch 'origin/master' 2016-12-04 10:00:06 +01:00
slavisa-baeldung 5925abc243 BAEL-376 - simplifying 2016-12-04 09:59:30 +01:00
pivovarit 3a00e57002 Fix AsyncEchoTest 2016-12-04 09:02:20 +01:00
pivovarit a6bdad2cb9 Refactor JoinSplitCollectionsUnitTest 2016-12-03 17:09:34 +01:00
Hector Romero 34e5a6475f BAEL-7: Fix formatting (#874) 2016-12-03 17:06:01 +01:00
slavisa-baeldung b4f05d4f6f Merge remote-tracking branch 'origin/master'
Conflicts:
	core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoClient.java
	core-java/src/test/java/com/baeldung/java/nio2/async/AsyncEchoTest.java
2016-12-03 11:11:16 +01:00
pivovarit 6304f2036f Fix AsyncEchoClient 2016-12-03 11:08:14 +01:00
pivovarit 1b63b9bf35 Fix AsyncEchoClient 2016-12-03 10:57:49 +01:00
slavisa-baeldung 1a7f172587 BAEL-376 - Adding more test code 2016-12-03 10:53:17 +01:00
slavisa-baeldung 287fbc3b10 Merge branch 'master' into pr/873-yassser
Conflicts:
	core-java/src/main/java/com/baeldung/generics/Generics.java
	core-java/src/test/java/com/baeldung/generics/GenericsTest.java
2016-12-03 10:20:26 +01:00
Yasser Afifi b18e801370 added more example 2016-12-02 23:31:10 +00:00
Marek Lewandowski 0df0d3325f Merge pull request #871 from tochoromero/master
BAEL-7: Join and Split Collections
2016-12-02 13:56:17 +01:00
Hector Romero f1043d3b52 BAEL-7: Small tweaks 2016-12-02 03:47:24 -06:00
Hector Romero de33c9ce0b BAEL-7: Use Collection interface 2016-12-01 08:16:25 -06:00
Egima profile aa68501341 merged formatting changes and removed while loops in asynchronous client (#870)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS

* merge conflicts

* merged changes to asyncfiletest with future get API

* removed while loops from async client and server

* added project for java8 optional

* fixed merge conflicts in spring-core
2016-12-01 09:55:20 +01:00
Sunil Gulabani bdeec43f42 BAEL-276: Added test case for path component 2016-12-01 11:42:59 +05:30
eugenp f354f9e305 minor formatting work 2016-11-30 09:05:38 +02:00
eugenp 7194d8b84a cleanup work 2016-11-30 09:05:06 +02:00
Eugen 5df4fa0181 Merge pull request #868 from joshiparthin/java-sorting-2-parth
Java Sorting BAEL-32
2016-11-29 12:51:25 -06:00
pivovarit 211d769942 Refactor FileSearchExample 2016-11-29 18:02:19 +01:00
maverick 751a3ca19f Changes for sorting article 2016-11-29 19:36:59 +05:30
maverick 3af165fb11 For Sorting Article 2016-11-29 19:32:12 +05:30
Hector Romero 73ac10fb96 BAEL-7: More examples for Join and Split Collections 2016-11-29 06:41:33 -06:00
pivovarit 602e98c6c3 Fix AsyncFileTest 2016-11-28 22:18:22 +01:00
pivovarit 333d3bc122 Refactor AsyncEchoServer2 2016-11-28 22:15:24 +01:00
pivovarit 88a8d5838f Revert .gitignore 2016-11-28 19:43:30 +01:00
pivovarit 13dbf6603b Fix tests 2016-11-28 19:43:15 +01:00
pivovarit d07891bfc8 Fix test 2016-11-28 19:33:43 +01:00
pivovarit 2ca24a31fd Refactor tests 2016-11-28 19:31:43 +01:00
pivovarit 6082ac9c9e Fix test 2016-11-28 19:12:29 +01:00
pivovarit 678e47dc1a Refactor CollectionsConcatenateUnitTest 2016-11-27 18:26:24 +01:00
Egima profile cdb6dfd79e asyncronous channel apis (#839)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names

* added project for asyncronous channel apis

* added project for NIO2 advanced filesystems APIS
2016-11-25 16:48:25 +01:00
seemamani 19b4155ef3 Added a Java file on combining collections (#849)
BAEL-35 Added a Java file on combining collections
2016-11-23 12:34:27 -06:00
slavisa-baeldung 2186f64126 BAEL-376 - java generics code 2016-11-20 22:35:17 +01:00
slavisa-baeldung 1f0065299f Merge branch 'master' into pr/850-yasser-generics 2016-11-20 22:10:22 +01:00
Yasser Afifi 6835625602 added generics example method and tests 2016-11-20 20:20:52 +00:00
Grzegorz Piwowarek a7e2e2d6b2 Fix JavaFileUnitTest 2016-11-20 17:39:28 +02:00
Grzegorz Piwowarek a8fb4e11cb Fix FileTest 2016-11-20 11:57:27 +02:00
Grzegorz Piwowarek 83615aadf0 Merge pull request #845 from sameira/master
Updated the dependency versions as properties
2016-11-17 22:06:27 +02:00
Sameera bc4fa86c23 Updated the dependency versions as properties 2016-11-17 20:48:06 +05:30
Grzegorz Piwowarek b14bae204d Remove PathTest 2016-11-16 17:27:15 +02:00
Grzegorz Piwowarek 024b3df483 Rename test 2016-11-16 17:26:39 +02:00
Grzegorz Piwowarek 697956e003 Remove duplicated file 2016-11-16 17:09:19 +02:00
Grzegorz Piwowarek d1a12c2f6c Merge pull request #831 from maibin/master
X to PDF conversions
2016-11-16 10:29:13 +01:00
Sunil Gulabani 41992976ec BAEL-276: Added different URL parts for encoding and decoding 2016-11-15 15:29:27 +05:30
Grzegorz Piwowarek dbe099fab3 Merge pull request #834 from sameira/master
Adding SHA-256 hashing impl and test classes
2016-11-14 21:54:08 +01:00
Sameera 8e2ad93233 Adding SHA-256 hashing impl and test classes 2016-11-14 22:31:50 +05:30
Grzegorz Piwowarek 315e1aa9cd Remove duplicate file 2016-11-14 16:26:41 +01:00
Nikhil Khatwani 2385fe04b1 Refactoring Code 2016-11-14 19:06:29 +05:30
Nikhil Khatwani 710a932f26 Refactoring Code 2016-11-14 18:53:14 +05:30
Nikhil Khatwani 2ffc247f9a BAEL-29 Review Comment - Remove Inlining Variables 2016-11-14 18:45:55 +05:30
maibin 2d34971fcc Junit5 (latest two commits) (#825)
* PDF to X

* PDF to X

* Remove created doc

* Code fixes and cleanup for PDF module

* Fix web.xml in spring-mvc-web-vs-initializer project

* Rollback web.xml

* Fixes to PDF article

* Merge with main eugen branch

* Junit 5

* Fix name of test and modifier
2016-11-14 09:45:01 +01:00
eugenp aeb8f7595c adding new module to the parent 2016-11-13 19:09:47 +02:00
Nikhil Khatwani 87ed454d64 Added entry for BAEL-29 - Java String Conversions 2016-11-13 13:10:28 +05:30
michal_aibin 94bfcd3b26 Merge with main eugen branch 2016-11-12 22:15:57 +01:00
Nikhil Khatwani b58c2341da Refactoring Code - Naming corrections 2016-11-12 16:01:53 +05:30
Nikhil Khatwani 633162a04b Refactoring Code - short and simple 2016-11-12 15:03:07 +05:30
Nikhil Khatwani c30bd6caa7 BAEL-29 Refactored Code to comeup with Unit Test 2016-11-12 13:52:26 +05:30
Marek Lewandowski 3d5227adbb Added BAEL-387 2016-11-10 16:13:42 +01:00
Jim Kerak 9399b42f9f Merge pull request #772 from khatwaniNikhil/BAEL-29-StringConversions
Bael 29 string conversions
2016-11-06 12:52:19 -05:00
Grzegorz Piwowarek 7185c54c2b Rename PathTest 2016-11-04 09:49:17 +00:00
Grzegorz Piwowarek 0fbf3945e0 Rename NetworkInterfaceTest 2016-11-04 09:47:48 +00:00
Egima profile 8848d98809 FileTest names fixed with phrase method/API changes (#801)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change

* made changes to NIO2 FileTest names
2016-11-04 07:41:57 +00:00
eugenp 8ce7e1f588 formatting work 2016-11-03 18:04:09 +02:00
eugenp 455df4e499 minor cleanup in the java project 2016-11-03 18:03:47 +02:00
slavisa-baeldung bde9a0032f NOJIRA - test and some minor fixes 2016-11-03 13:29:17 +01:00
eugenp 8628a63d95 test fixes 2016-11-03 12:47:43 +02:00
Eugen 5c56f09445 Merge pull request #783 from sbmaggarwal/master
Added HexToAscii example.
2016-11-03 02:42:38 -05:00
Nikhil Khatwani c48a5c2c79 Fixed Failing EchoTest (#782) 2016-11-03 07:19:18 +00:00
Shubham Aggarwal f1d7209198 Test case created for HexToAscii 2016-11-03 09:17:28 +05:30
Shubham Aggarwal 961f4f5b1e Test case created for HexToAscii 2016-11-03 09:13:21 +05:30
Egima profile e3b40e4556 fixed network interface tetst (#797)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps

* fixed network interface tests

* removed filetest change
2016-11-01 19:45:01 +00:00
Grzegorz Piwowarek 0532349b4e Refactor FileTest 2016-11-01 12:03:22 +00:00
Egima profile f7525b82fb network interfaces (#794)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files

* added network interface project

* used UUID other than timestamps
2016-11-01 13:01:33 +01:00
Alex Vargas ddf41d61a0 Test cases for examples in article "A guide to Java 8 forEach" (#769)
* An example of a test using a WebAppConfiguration annotation

* Giving the test the appropriate formatting

* A example of a test that uses WebAppConfiguration without the need of a MockMvc object

* Adding model class and test cases class to show the use of the forEach loop.
For article "A guide to Java 8 forEach"

* Examples used in article "Guide to Java 8 forEach"
2016-11-01 08:33:13 +01:00
Grzegorz Piwowarek 3e7e70eb33 Refactor FileTest 2016-11-01 07:26:04 +00:00
DOHA 2931b3114e minor cleanup 2016-10-31 16:26:05 +02:00
DOHA c0c8d8690e cleanup 2016-10-31 12:06:29 +02:00
eugenp f0c98472c0 minor comment to clarify the test 2016-10-31 09:33:00 +02:00
Egima profile 20873aad37 removed redundant files (#791)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests

* fixed exception based tests

* removed redundant files
2016-10-30 20:55:53 +01:00
Egima profile e88fe8b904 standardized exception based tests (#790)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2

* standardized exception based tests
2016-10-30 20:36:35 +01:00
DOHA b2ef95f78d cleanup 2016-10-30 18:12:39 +02:00
DOHA 2fcf097d88 cleanup 2016-10-30 13:12:08 +02:00
DOHA 1110c53d81 cleanup 2016-10-30 12:18:40 +02:00
Egima profile 585a88409f created project for nio2 (#785)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made

* added project for nio2
2016-10-29 19:41:01 +02:00
DOHA 5a6ab35333 minor fix 2016-10-29 16:56:13 +02:00
DOHA f164e58c7c minor fix 2016-10-29 13:49:35 +02:00
Shubham Aggarwal 06e7facc84 Added HexToAscii example. 2016-10-29 16:29:14 +05:30
DOHA ba093502a1 cleanup 2016-10-29 11:50:37 +02:00
DOHA d426ea75b4 minor fix 2016-10-29 11:50:37 +02:00
DOHA 5e46e9278c minor fix 2016-10-29 11:37:55 +02:00
DOHA cf044dda80 cleanup 2016-10-29 11:37:46 +02:00
DOHA 8690d029f0 minor fix 2016-10-29 11:28:21 +02:00
Grzegorz Piwowarek f81291006d Refactor EncoderDecoderTest 2016-10-29 08:40:21 +02:00
slavisa-baeldung 568a1d6f87 BAEL-276 - collectingAndThen 2016-10-29 08:28:29 +02:00
slavisa-baeldung 539e5fed63 BAEL-276 - renaming the variable 2016-10-29 07:55:36 +02:00
DOHA 7fb6cc7900 minor fix 2016-10-28 20:16:35 +02:00
DOHA 622da702d0 minor fix 2016-10-28 19:55:37 +02:00
Marek Lewandowski fe0d1c0b4a Remove Thread.sleep from how to make a screenshot example 2016-10-28 18:26:53 +02:00
eugenp bee18d779f core java cleanup 2016-10-28 15:32:04 +03:00
Grzegorz Piwowarek 4362aab2e1 Add missing files 2016-10-28 07:29:07 +02:00
Grzegorz Piwowarek 24ee4fb35c Refactor UDPTest 2016-10-26 07:09:21 +02:00
Nikhil Khatwani 6989041dc2 Changes for String Conversions 2016-10-25 22:34:25 +05:30
Nikhil Khatwani 0930c78ff7 BAEL-29-String Conversion changes 2016-10-25 22:21:51 +05:30
Grzegorz Piwowarek 93b4917672 Move UDPTest 2016-10-25 17:12:12 +02:00
Grzegorz Piwowarek c9f858ca32 Move UDPTest 2016-10-25 17:11:25 +02:00
Egima profile 89b50437be Java low level networking project (#770)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module

* requested changes made
2016-10-25 16:42:03 +02:00
eugenp 62ca74121f tuning tests 2016-10-25 11:18:24 +03:00
eugenp 5e676c855e testing work 2016-10-25 11:15:13 +03:00
eugenp 2ab201d639 cleanup work 2016-10-25 11:09:51 +03:00
Grzegorz Piwowarek 8190a9994b Reformat README.md 2016-10-23 22:56:53 +02:00
Grzegorz Piwowarek 0902c3d9e0 Collapse core-java-8 into core-java 2016-10-23 22:36:53 +02:00
Grzegorz Piwowarek d97ba21fb3 Move StringToInt examples 2016-10-23 21:24:20 +02:00
Grzegorz Piwowarek ce0cb0c375 Move Random List Element examples 2016-10-23 21:22:07 +02:00
Grzegorz Piwowarek d9c3a9d9cd Move CharToString examples 2016-10-23 21:20:01 +02:00
Grzegorz Piwowarek 6dc9bcf331 Move FunctionalInterfaces examples 2016-10-23 19:55:41 +02:00
Grzegorz Piwowarek 93256245ff Move CompletableFuture examples 2016-10-23 19:53:01 +02:00
Grzegorz Piwowarek 62c6abfb4a Move Java8 Collectors example 2016-10-23 19:49:03 +02:00
Grzegorz Piwowarek 65daa3aee2 Refactor examples 2016-10-23 11:57:11 +02:00
Grzegorz Piwowarek 8031458265 Refactor Socket tests 2016-10-23 11:53:43 +02:00
Grzegorz Piwowarek 4670b8dbda Sockets moved to core-java 2016-10-23 11:25:09 +02:00
Grzegorz Piwowarek 366914a25e Fix Screenshot Test 2016-10-22 20:23:01 +02:00
Jim Kerak a65bad7c1f Merge pull request #762 from khatwaniNikhil/BAEL-418-Changes
Fixed Failing EchoTest
2016-10-21 19:16:27 -04:00
Grzegorz Piwowarek 89754421a2 Refactor Screenshot examples 2 2016-10-20 23:14:05 +02:00
Grzegorz Piwowarek fd1a5796a9 Refactor Screenshot examples 2016-10-20 23:10:14 +02:00
Sameera 511d96614d PrintScreen code samples moved to core-java module 2016-10-20 23:10:17 +05:30
Nikhil Khatwani 4d54080b3e Fixed Failing EchoTest 2016-10-20 16:00:31 +05:30
maibin 04482ef902 Executable Jar Maven (#752)
* Expression-Based Access Control

PermitAll, hasRole, hasAnyRole etc.
I modified classes regards to Security

* Added test cases for Spring Security Expressions

* Handler Interceptor - logging example

* Test for logger interceptor

* Removed conflicted part

* UserInterceptor (adding user information to model)

* Spring Handler Interceptor - session timers

* Spring Security CSRF attack protection with Thymeleaf

* Fix and();

* Logger update

* Changed config for Thymeleaf

* Thymeleaf Natural Processing and Inlining

* Expression Utility Objects, Thymeleaf

* listOfStudents edited

* Thymeleaf layout decorators

* Executable Jar with Maven
2016-10-17 11:10:12 +03:00
Naoshadul Islam 298c5e3091 Created README.md and added relevant articles (#742)
* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Created README.md and added relevant articles

* Updated readme.md

* Updated readme.md

* Created README.md and added relevant articles

* Created README.md and added relevant articles
2016-10-16 13:25:05 +03:00
Naoshadul Islam 87fd44bc38 Updated README.md 2016-10-16 13:10:20 +03:00
Naoshadul Islam f22c306049 Updated README.md 2016-10-16 13:05:59 +03:00
Grzegorz Piwowarek 51729209ed Remove unnecessary field initialization 2016-10-12 08:41:04 +02:00
eugenp 2aa2f43c6e maven cleanup 2016-10-12 07:44:40 +03:00
Egima profile ea37b3e51a Added NIO Selector project under core-java (#738)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project

* refactored student store indexing to zero base

* added unit tests, removed bad names

* added NIO Selector project under core-java module
2016-10-11 09:33:14 +02:00
maverick 6df151a3f9 Removes Sorting changes for this PR 2016-10-10 08:32:51 +05:30
maverick 9f3c791d99 Added files missed in earlier PR 2016-10-10 08:30:54 +05:30
maverick b8161aca1a Java sorting. Adding required files. This is commit for starting from
new fork due to conflicts in PR.
2016-10-10 08:14:51 +05:30
Grzegorz Piwowarek 2ef8bc2a68 Remove souts 2016-10-04 18:12:08 +02:00
Grzegorz Piwowarek f12e6ee2d0 Refactor FileNotFoundException examples 2016-10-04 18:11:37 +02:00
Álvaro Fernández González ee3db42880 Add more examples (#712)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.

* Use correct encoding. Was having problems with buildings.

* Remove failing module.

* Create new module mocks and move mock-comparisons there.

* Add jmockit module.

* Add model class.

* Add collaborator class.

* Add performer class.

* Add performer test.

* Fix

* Add interface for tests.

* Test for any.

* Test for with.

* Test for null.

* Test for times.

* Test for arg that.

* Test for result and returns.

* Test for delegate.

* Add verifications to any tests.

* Add verifications to with test.

* Add verification examples to methods using null.

* Add verifications to methods using times.

* Formatting.

* Compress tests and fix one test.

* Adding new article to readme.

* [BAEL-178] Add collaborator for advanced article.

* [BAEL-178] Add link to readme.

* [BAEL-178] Add test for mockUp.

* [BAEL-178] Add test for invoke method.

* [BAEL-178] Add constructors and tests for mockup for constructors.

* [BAEL-178] Add private fields and more test for deencapsulation.

* [BAEL-178] Add inner class and test for instantiating inner classes.

* [BAEL-178] Multimocks.

* [BAEL-178] Add test for expectation reusing.

* [BAEL-178] Move test class to tests folders.

* Add postgresql dependency.

* Add test and config with properties.

* [BAEL-114] Add new project for JPA with JNDI.

* [BAEL-114] Config without xml.

* [BAEL-114] Bring part of Foo, FooServie and FooDao.

* [BAEL-114] Show all foos.

* [BAEL-114] Readme.

* [BAEL-114] Undo changes on main jpa project.

* [BAEL-114] Remove unnecesary dependencies.

* [BAEL-114] Add tomcat config.

* [BAEL-114] Fixes.

* Add tests for Optional streams.

* Add Java 9 version of the test.

* Rename and move to new core-java-9 module.

* Move contents from spring-jpa-jndi to spring-jpa and make necessary changes.

* Do not use try-catch on configuration.

* Add example for FileNotFoundException mini-article.

* Add more examples.

* Change examples to tests.
2016-10-04 07:53:52 +02:00
Egima profile 455c71ae71 3 major changes (#716)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java

* added project for routing in play

* made changes to regex project

* refactored code for REST API with Play project
2016-10-03 21:06:01 +02:00
Álvaro Fernández González c5fd46e5f2 Code for FileNotFoundException article. (#710)
* Add new module for mocks comparison.

* Add sources for testing.

* Changes on testCase.

* Enter some tests for mockito.

* More tests for Mockito.

* Even more tests.

* Add the rest of the mocking libraries.

* Javadoc on test.

* Test bare bones for EasyMock.

* Fist kind of test and setup.

* Add tests using EasyMock with a change on LoginService.

* Create LoginControllerTest.java

* Test setup

* [JMockit] No method called test.

* [JMockit] Two methods called test.

* [JMockit] One method called test.

* [JMockit] Exception mock test

* [JMockit] Mocked object to pass around test.

* [JMockit] Custom matcher test.

* [JMockit] Partial mocking test.

* [JMockit] Fix with IDE.

* Not stubs. Mocks. MOCKS!!!

* Remove unnecesary import.

* Use correct encoding. Was having problems with buildings.

* Remove failing module.

* Create new module mocks and move mock-comparisons there.

* Add jmockit module.

* Add model class.

* Add collaborator class.

* Add performer class.

* Add performer test.

* Fix

* Add interface for tests.

* Test for any.

* Test for with.

* Test for null.

* Test for times.

* Test for arg that.

* Test for result and returns.

* Test for delegate.

* Add verifications to any tests.

* Add verifications to with test.

* Add verification examples to methods using null.

* Add verifications to methods using times.

* Formatting.

* Compress tests and fix one test.

* Adding new article to readme.

* [BAEL-178] Add collaborator for advanced article.

* [BAEL-178] Add link to readme.

* [BAEL-178] Add test for mockUp.

* [BAEL-178] Add test for invoke method.

* [BAEL-178] Add constructors and tests for mockup for constructors.

* [BAEL-178] Add private fields and more test for deencapsulation.

* [BAEL-178] Add inner class and test for instantiating inner classes.

* [BAEL-178] Multimocks.

* [BAEL-178] Add test for expectation reusing.

* [BAEL-178] Move test class to tests folders.

* Add postgresql dependency.

* Add test and config with properties.

* [BAEL-114] Add new project for JPA with JNDI.

* [BAEL-114] Config without xml.

* [BAEL-114] Bring part of Foo, FooServie and FooDao.

* [BAEL-114] Show all foos.

* [BAEL-114] Readme.

* [BAEL-114] Undo changes on main jpa project.

* [BAEL-114] Remove unnecesary dependencies.

* [BAEL-114] Add tomcat config.

* [BAEL-114] Fixes.

* Add tests for Optional streams.

* Add Java 9 version of the test.

* Rename and move to new core-java-9 module.

* Move contents from spring-jpa-jndi to spring-jpa and make necessary changes.

* Do not use try-catch on configuration.

* Add example for FileNotFoundException mini-article.
2016-10-01 10:47:34 +02:00
Eugen 50990c622f Merge pull request #674 from joshiparthin/parth-md5
Parth md5
2016-09-29 14:20:32 +03:00
maverick 758c5f7319 Removed files not useful in this branch for MD5 article. 2016-09-29 15:06:45 +05:30
maverick e0d9cd41a2 Changes in pom.xml as suggested to remove formating changes in pom.xml
commit.
2016-09-29 14:57:30 +05:30
Egima profile f3b8bb0f14 Moved regex from own module to core-java (#707)
* made changes to java reflection

* removed redundant method makeSound in Animal abstract class

* added project for play-framework article

* added project for regex

* changed regex project from own model to core-java
2016-09-28 23:43:59 +02:00
Nancy Bosecker 7aaae1d143 Moved project to core-java from eclipse folder (#703) 2016-09-27 07:40:46 +02:00