Commit Graph

1296 Commits

Author SHA1 Message Date
amitabhmandal 1487b9195b BAEL-1896. Fixed Junits 2018-07-03 14:52:42 +05:30
Kevin Wittek c0aaed7474 [BAEL-1930] Encryption and decryption of files using JDK 2018-07-01 21:05:28 +02:00
Loredana Crusoveanu 2d6136b475
Merge pull request #4568 from gangadkho/master
Java Custom Exception
2018-07-01 18:52:24 +03:00
KevinGilmore 111c39d4c9
Update README files (#4589)
* BAEL-1766: Update README

* BAEL-1853: add link to article

* BAEL-1801: add link to article

* Added links back to articles
2018-06-30 08:28:44 -05:00
amitabhmandal 2191bb639d BAEL-1896 Added test cases 2018-06-30 14:37:38 +05:30
Loredana Crusoveanu 76317f8052
Merge branch 'master' into master 2018-06-30 11:26:37 +03:00
IvanLjubicic 4e785fdc15 BAEL-1760 Console I/O in Java (#4379)
* ivan.ljubicic.app.developer@gmail.com

* Added unit tests, configuration class and minor adjustments

* primefaces intro module added

* deleted primefaces old module

* deleted different bean injection types sample project

* deleted addition different bean injection types file

* Renaming archetype in web.xml

* Added primefaces in jsf module

* Primefaces improvements

* Added commandButton and dialog

* Added PFM

* Code formatting

* Update pom.xml

* Formatting changes

* ConsoleDemo initial version

* Added new classes, renamed ConsoleDemo class

* Removed System.in class, renamed Scanner class and reorganized

* Added more method examples
2018-06-29 22:27:36 -05:00
amitabhmandal 0d84a49456 BAEL-1896: Guide to GregorianCalendar 2018-06-28 15:42:30 +05:30
Amit Pandey e3978a5f95 Bael 4461 3 (#4557)
* [BAEL-4462] - Fixed integration tests

* [BAEL-7055] - Fix JUNIT in core java module
2018-06-27 09:15:09 +02:00
Loredana Crusoveanu 07f3ab60fd
Merge pull request #4517 from asturcon/tutorials/titleCase
BAEL-1928 - Convert a string to title case
2018-06-26 22:30:30 +03:00
Loredana Crusoveanu 36dd4888f4
Merge pull request #4538 from asturcon/tutorials/dateWithoutTime
BAEL-1894 - Date without time
2018-06-26 21:14:15 +03:00
Dhawal Kapil 08b589e8f6 BAEL-1892 Get Integer Values from Date
-Added classes to show case how to extract values from classes Date and Calendar, and LocalDate, LocalDateTime, ZonedDateTime and OffSetDateTime
-Added unit test cases for all classes
2018-06-26 18:39:32 +01:00
gangadkho a0b0e1c705 Java Custom Exception 2018-06-26 14:48:41 +08:00
Marcos Lopez Gonzalez 6f125f2fe2 tests date without time 2018-06-24 20:23:43 +02:00
enpy 1024102d9a BAEL-1733 (#4417)
* BAEL-1733

* naming conventions settled

* createManifestFile method added

* remove accidentally created MANIFEST.MF file from the project root flder
2018-06-24 11:57:24 -05:00
Marcos Lopez Gonzalez 914859d629 Date without time 2018-06-24 12:15:09 +02:00
Sanjay Patel f7953fd65d BAEL-6506: Added IntTest to pmd and poms (#4525) 2018-06-22 13:09:57 +02:00
Rajat Garg 1848c25f49 Bael 1734 get file extension in java (#4522)
* change method to return Optionals

* add check for empty Optional

* replace ifPresent() with get()

* remove extra check
2018-06-21 20:03:53 +01:00
Pablo Castelnovo 6d56fc5438 BAEL-1848 final and immutable objects in Java (#4515)
* Strange git issue with README.MD, wouldn't revert the file

* final and immutable objects in Java

* Move tests to src/test/

* BAEL-1848 renamed test class
2018-06-21 01:42:37 +02:00
Marcos Lopez Gonzalez dfbd91a678 renamed test class 2018-06-20 23:12:30 +02:00
Marcos Lopez Gonzalez 5d589d37d4 convert string to tiltle case 2018-06-20 22:57:14 +02:00
Rajat Garg 974637a273 change method to return Optionals (#4464)
* change method to return Optionals

* add check for empty Optional
2018-06-17 20:41:40 +01:00
Predrag Maric 122a43a5d6
Bael 1773 refactor (#4498)
* Strange git issue with README.MD, wouldn't revert the file

* BAEL-1773 Coe moved to algorithm module
2018-06-17 12:56:31 +02:00
iaforek 2cb8d357f4 BAEL-1737, BAEL-1667 (#4251)
* BAEL-1737 - Access Modifiers examples

* BAEL-1737 - Corrected constructors

* BAEL-1737 - Smaller formatting fixes

* BAEL-1737 - Updated comments

* BAEL-1667 - Select and Option examples.

* BAEL-1667 - Corrected typo - closing select tag - that actually made the code to work. COrrected solution works well too and produces valid HTML
2018-06-15 08:03:09 +02:00
charlesgonzales 2fe0dee64e Update 13 README.md and create 2 README.md (#4468)
* 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

* Create README.md
2018-06-13 20:50:33 +03:00
Marcos Lopez Gonzalez 2a07b03b69 BAEL-1773 Find the middle element of a Linked List (#4463)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review

* find middle element in linked list

* typo

* changes from CR

* BAEL-1773 formatting
2018-06-12 03:12:07 +02:00
smokeyrobot b5dc7fa1af Bael 1765 (#4342)
Guide to java.util.Arrays

Issue: BAEL-1765
2018-06-11 08:10:38 -06:00
Amit Pandey a54c9e0c9e Bael 4461 2 (#4444)
* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* [BAEL-4462] - Fixed integration tests

* Fix verification times
2018-06-11 10:18:30 +02:00
charlesgonzales ce4b42926f Add back-links and created new readme.md for the relevant articles (#4428)
* Update README.md

* Create README.MD

add relevant article

* 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
2018-06-10 08:41:07 +02:00
Tom Hombergs ff967a62b7 added link (#4357) 2018-06-08 18:24:54 +02:00
Marcos Lopez Gonzalez 0a3d212a2a BAEL-1773 Find the middle element of a Linked List. (#4425)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review

* find middle element in linked list

* typo
2018-06-08 07:35:46 +02:00
pivovarit 11fa0cf492 Disable PMD aggregate 2018-06-05 10:03:20 +02:00
Shubhra 642bff3077 BAEL-1761 Jagged Arrays In Java 2018-06-03 17:59:24 +05:30
Seun Matt 3f9cf77272 Example Code for BAEL-1425 (#4394)
* added example code for Java mail

* added examp code for BAEL-1425

* updated example code for BAEL-1425
2018-06-02 22:13:07 -07:00
Rokon Uddin Ahmed 50f5cba9da BAEL-6634 (#4376)
* Update README.md

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

* Create README.md

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

* 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
2018-06-01 14:04:12 +02:00
Amit Pandey 7206e64bef Bael 6556 3 (#4382)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases

* [BAEL-6556] - Next set of renames of testcases
2018-06-01 13:12:51 +02:00
Eric Martin 523fbf433c
Merge pull request #4265 from MherBaghinyan/BAEL-1788
Bael 1788
2018-05-29 22:35:11 -05:00
Amit Pandey dfcc0cab05 Bael 6556 2 (#4365)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6556] - Next set of testcase renamed
2018-05-29 22:14:19 +02:00
Marcos Lopez Gonzalez 260e805b69 BAEL-1773 Find the middle element of a Linked List. (#4350)
* BAEL-1773 - find middle element of linked list

* changes from review

* changes from review
2018-05-28 21:20:37 +02:00
cdjole 89d1127fb2 BAEL-1798 test example added (#4347) 2018-05-27 10:08:21 -07:00
mherbaghinyan bc4690ee54 ThisKeyword -> KeywordTest 2018-05-27 10:22:30 +04:00
cdjole 67616cdda3 BAEL-1798 (#4322) 2018-05-23 19:06:07 -07:00
collaboratewithakash c022781ced Back-link added (#4303)
* Back-link added

* Back-link added

* Back-link added

* Back-link name corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added
2018-05-23 16:55:32 +02:00
Rajat Garg 4c333aeeb3 BAEL-1734 add different methods to find file extension (#4122)
* BAEL-1734 add different methods to find file extension

* fix camel case formatting for variables

* fix variable name

Remove camel casing for variable name as it is a single word.
2018-05-23 09:14:17 +01:00
Tom Hombergs 7bba73c6eb
Merge pull request #4279 from psysane/master
[BAEL-1796] Infinite loop using Java
2018-05-21 09:52:04 +02:00
Loredana Crusoveanu 8820ebb00f
Merge pull request #4282 from chandra1123/NAN
Nan in Java
2018-05-19 23:12:16 +03:00
chandra aa83b3324c Nan in Java
Example usage of NaN in Java
2018-05-18 16:57:28 -04:00
psysane cd84ca06ac Infinite loop using Java 2018-05-18 23:42:08 +05:30
mherbaghinyan 969f40da6e class name refactor 2018-05-17 21:03:00 +04:00
mherbaghinyan 027f011e67 super keyword 2018-05-16 17:03:42 +04:00
mherbaghinyan 477bb63e21 this keyword 2018-05-14 18:59:29 +04:00
mherbaghinyan 6adc92c451 hiding test 2018-05-14 11:49:03 +04:00
mherbaghinyan 5b7c29e7bf renaming the variable 2018-05-14 11:21:52 +04:00
mherbaghinyan ca78752618 Merge remote-tracking branch 'upstream/master' into BAEL-1754 2018-05-13 19:39:37 +04:00
mherbaghinyan 333168fce1 Merge remote-tracking branch 'upstream/master' into BAEL-1754 2018-05-12 11:11:39 +04:00
Loredana Crusoveanu 777e10776c
Merge branch 'master' into lor6-patch-3 2018-05-12 10:04:44 +03:00
mherbaghinyan 35c5016dac method hiding 2018-05-12 10:56:27 +04:00
Loredana Crusoveanu 85f8404b40 fix logger import 2018-05-12 01:27:49 +03:00
Loredana Crusoveanu 196223da51
Merge pull request #4172 from eugenp/thombergs-patch-5
added article link
2018-05-12 00:51:26 +03:00
Loredana Crusoveanu a61bdbcc59
Update README.md 2018-05-12 00:39:53 +03:00
Loredana Crusoveanu cfdf48ac93
Update README.md 2018-05-12 00:34:53 +03:00
Loredana Crusoveanu 537c1d1150 move design patterns to new module (#4206)
* move design patterns to new module

* fix logger import
2018-05-11 09:11:13 +02:00
ramansahasi 07838a2d25 BAEL-1739 - Check If a String is Numeric in Java (#4209)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* First commit consisting only of test cases

* First commit with test cases

* Introduced JMH Michrobenchmarking

* Minor corrections
2018-05-10 13:41:33 -07:00
Loredana Crusoveanu afd7079968
Merge pull request #4177 from MherBaghinyan/BAEL-1744
Bael 1744
2018-05-08 22:08:23 +03:00
mherbaghinyan 2a92926cad remove stream 2018-05-08 09:15:51 +04:00
mherbaghinyan 0ee2e1adfc parent/child variable classes 2018-05-07 16:17:56 +04:00
mherbaghinyan 0128224acc add instance variable hiding class 2018-05-06 22:44:11 +04:00
amit2103 05b7e933bd Bael 5247 (#4175)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Added new parent pom

* initial clean up of child poms

* Added new parent pom

* [BAEL-5247] - New Parents in the tutorials repo
2018-05-05 22:30:00 +02:00
mherbaghinyan 4ad8042522 test the results 2018-05-05 10:26:51 +04:00
Tom Hombergs 88e49ebda5
added article link 2018-05-04 20:53:53 +02:00
KevinGilmore 86498b66d8
Update README files (#4170)
* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1679: Update README
2018-05-04 07:44:28 -05:00
Tom Hombergs 997c2a4ddf added article link (#4093) 2018-05-03 15:45:16 +02:00
Rokon Uddin Ahmed f00a66af69 03.05.2018 (#4161)
* 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
2018-05-03 15:44:44 +02:00
mherbaghinyan 9a496e0d25 Composite design pattern 2018-05-03 12:13:12 +04:00
collaboratewithakash fad99fe44b Back-links added (#4119)
* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected

* Back-link correct

* Back-link corrected

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link added

* Back-link corrected

* Back-link added

* Back-link corrected

* Back-link corrected

* Back-link corrected
2018-05-02 09:41:08 +02:00
Grzegorz Piwowarek e7672c79f0
Update README.md (#4156) 2018-05-02 09:20:16 +02:00
Grzegorz Piwowarek 2ff50cca98
Update README.md (#4153) 2018-05-02 07:26:40 +02:00
Loredana Crusoveanu 65144a76e2
Update README.md 2018-04-30 13:34:04 +03:00
amit2103 cfd98d2fe3 [Bael 6056] - Move collection-related logic from core-java to core-java-collections (#4114)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections

* [BAEL-6056] - Move collection-related logic from core-java to core-java-collections
2018-04-29 08:38:59 +02:00
chrisoberle 12cdd5357d BAEL-1706 move code to guest module (#4123) 2018-04-28 13:50:47 -05:00
amit2103 f2128ad054 Bael 5249 cleanup (#4108)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* [BAEL-5249] - 21.02 - pom cleanup - formatted pom.xml
2018-04-26 14:37:47 +02:00
amit2103 ba1ba8455d Bael 5249 (#4052)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Defined the integration profile in the parent

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* Spring-dependency injection

* BAEL-1683-Guide to Java Clock class

* BAEL-1683-Guide to Java Clock class

* added article link

* added article link

* fixed link

* refactoring packages and using generics

* BAEL-717: Singleton Session Bean. (#4046)

* BAEL-717: Singleton EJB Bean

Files for BAEL-717:Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Changed artifactId value.

* BAEL-717: Singleton EJB Bean.

Added module for Singleton EJB Bean.

* BAEL-717: Singleton EJB Bean. 

Removed Singleton EJB Bean Module.

* BAEL-717: Singleton EJB Bean

Changed the JNDI Lookup name.

* BAEL-717: Singleton EJB Bean. 

Added the "singleton-ejb-bean" module.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717:Singleton EJB Bean.

Corrected Indentation.

* BAEL-717: Singleton Session Bean.

Added class for Bean-Managed concurrrency.
Changed class name from CountryStateCacheBean to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Changing the name of the class to CountryStateContainerManagedBean.

* BAEL-717: Singleton Session Bean.

Added method to test Bean-Managed concurrency.

* Get Latest.

* deleting CountryStateBeanManagedBean for new file.

* deleting CountryStateCacheBean for new file.

* deleting CountryStateContainerManagedBean for new file.

* BAEL-717: Singleton Session Bean.

Adding file for Bean with Bean-Managed concurrency.
Changing file name for original file to CountryStateContainerManagedBean with Container-Managed concurrency.

* Deleting file for new checkin.

* BAEL-717: Singleton Session Bean.

Added test case for Bean-Manged concurrency.
Change in JNDI names.

* BAEL-717: Singleton Session Bean.

Changed the assert method parameter order and null check in test cases.

* BAEL-717:Singleton Session Bean

Removed volatile keyword for the variable countryStatesMap. Marking it as final.

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum (#3890)

* [BAEL-1641] Find all pairs of numbers in an array that add up to a given sum

* Commiting editor's suggested changes

* Commiting article Spring Data Reactive Mongo DB microservice in Kotlin

* Revert commit for BAEL 1687 - Moving those files to a new branch

* Use AssertJ and BDD-style on unit testing

* BAEL 1639: added singleton examples and test. (#3977)

* BAEL-1701 (#4012)

* BAEL-1701: Create SQSApplication, add most functionality (still need to format, and add queue monitoring)

* BAEL-1701: Complete examples

* added article links

* removed folder "SpringDependencyInjection"
e Please enter the commit message for your changes. Lines starting

* BAEL-1706 - optional parameters in java (#4050)

* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting

* working with booleans in thymeleaf (#4061)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)

* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases

* Update README.md

* Demonstration of Java assert

* BAEL-1679 (#3959)

* BAEL-1412 add java 8 spring data features

* BAEL-21 new HTTP API overview

* BAEL-21 fix executor

* BAEL-1432 add custom gradle task

* BAEL-1567 add samples of cookie and session in serlvet

* BAEL-1567 use stream api

* BAEL-1567 fix optional

* BAEL-1679 add query annotation jpa spring data

* BAEL-1679 added new junits

* BAEL-1679 use assertJ, use givenWhenThen naming convention

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* spring-data final

* service locator pattern

* service locator pattern

* variable name changes

* Spring MVC @PathVariable dot (.) get truncated

* testing changes

* Update README files (#4065)

* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README

* BAEL-1369

* BAEL-1369

* BAEL-1369

* remove comments

* Back-link corrected (#4071)

* Back-link corrected (#4073)

* Back-link added (#4074)

* Back-link added (#4075)

* Back-link added (#4076)

* Back-link added (#4077)

* Back-link added (#4078)

* Back-link added (#4080)

* Back-link added (#4081)

* Back-link added (#4083)

* Back-link corrected (#4086)

* Back-link added (#4087)

* Back-link added (#4091)

* Back-link added (#4089)

* added example code for Java mail (#4101)

* Back-link added (#4099)

* Back-link added (#4088)

* Back-link added (#4082)

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup

* 21.02 - pom cleanup
2018-04-26 08:50:35 +02:00
Loredana Crusoveanu 594ebafdff
Merge pull request #4060 from MherBaghinyan/BAEL-1718
Bael 1718
2018-04-26 00:18:47 +03:00
collaboratewithakash 18daff3586 Back-link added (#4088) 2018-04-25 17:55:11 +02:00
Seun Matt 4ff02d4213 added example code for Java mail (#4101) 2018-04-25 07:52:05 -07:00
KevinGilmore a529a53c5f
Update README files (#4065)
* BAEL-1612: Update README

* BAEL-1562: Update README

* BAEL-1562: Update README
2018-04-24 21:50:57 -05:00
mherbaghinyan 313186ceb7 testing changes 2018-04-24 09:22:20 +04:00
Michael Pratt 79fa4592e0 Demonstration of Java assert 2018-04-23 22:14:53 +00:00
ramansahasi 5f1b1b0b0d BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit (#4058)
* BAEL-1725 Java Pass-by-reference vs Pass-by-value - First commit

* updated test cases
2018-04-23 07:57:02 -07:00
chrisoberle 57a4f160aa BAEL-1706 - optional parameters in java (#4050)
* BAEL-1706 - optional parameters in java

* minor adjustments per review

* add tests
* fix formatting
* fix constructor issue with MultiVitaminOverloading

* BAEL-1706 Test name change, formatting
2018-04-22 23:55:00 +02:00
Tom Hombergs 80f8fee3c2
Merge pull request #4056 from eugenp/BAEL-1683
Bael 1683
2018-04-22 23:22:09 +02:00
mherbaghinyan e269f7e599 variable name changes 2018-04-22 17:13:38 +04:00
Donato Rimenti 5f83980363 BAEL 1639: added singleton examples and test. (#3977) 2018-04-21 18:51:14 +02:00
mherbaghinyan 81b9a8971e service locator pattern 2018-04-20 21:38:28 +04:00
mherbaghinyan 78a6c223eb service locator pattern 2018-04-20 10:11:59 +04:00
Adrian Precub 263009fb32 BAEL-1202: java keystore (#4011) 2018-04-18 13:21:51 +02:00
amit2103 86cebe51d7 Bael 5926 (#4023)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module

* Aligned and Defined the common plugins in the parents

* Removed dependency-reduced-pom.xml from undertow module

* Reverting test fail modules with surefire testFailureIgnore ture

* Reverted wrong push with org.hsqldb
2018-04-18 08:04:50 +02:00
Loredana Crusoveanu d10437c7ab ignore clear properties test 2018-04-15 14:19:50 +03:00
Loredana Crusoveanu 90e6ec20e7 add txt files 2018-04-15 10:11:45 +03:00
Loredana Crusoveanu f8e6940155 add in mem db 2018-04-15 09:35:00 +03:00
Loredana Crusoveanu 78912c3d3b replace hsql with h2 2018-04-15 09:21:07 +03:00
amit2103 0466d4613d Added parent module on poms that have no parent defined (#3997)
* Added parent module on poms that have no parent defined

* Removed dependency reduced pom from undertow module
2018-04-14 10:00:05 +02:00
Senthil Kumar Subramanian b9d21e3210 BAEL-1683-Guide to Java Clock class 2018-04-12 07:42:42 +05:30
Felipe Santiago Corro d3c292a093 Array to List tests (#3960) 2018-04-11 12:50:08 -07:00
Rokon Uddin Ahmed 5da2ea995c 08.04.2018 (#3954)
* 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

* 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

* 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

* Update README.md
2018-04-11 07:33:18 +02:00
KevinGilmore c2034ca7cc
Update README (#3953)
* 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

* BAEL-1510: Updated README

* BAEL-1169 README

* BAEL-1598: README update
2018-04-10 09:16:10 -05:00
Loredana Crusoveanu dca0a7c474
Merge pull request #3958 from MherBaghinyan/BAEL-1638
BAEL-1638
2018-04-09 13:17:03 +03:00
mherbaghinyan 5d636bac03 move javafx code to a separate module 2018-04-08 23:20:59 +04:00
Senthil Kumar Subramanian b2dfcd9469 BAEL-1683-Guide to Java Clock class 2018-04-08 16:39:10 +05:30
Kashif Masood 13bedabb99 BAEL-1530 - Guide to java.lang.System (#3616)
* Different types of bean injection in Spring - eval

* Different types of bean injection in Spring - eval - changed to java config

* Different types of bean injection in Spring - eval - unit tests and fixes

* BAEL-1530 - Guide to java.lang.System

* removed eval article stuff

* updated unit tests: removed sysouts and unrelated stuff

* updated examples for easiness. refactoring.

* fixed typos, identified by unit tests

* broken into multiple unit tests
2018-04-07 17:35:45 +02:00
Loredana Crusoveanu a81bd92cef
Merge pull request #3894 from MherBaghinyan/BAEL-1638
Bael 1638
2018-04-04 01:04:27 +03:00
mherbaghinyan 90e6d2e19b minor changes 2018-04-04 00:05:36 +04:00
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