Commit Graph

1135 Commits

Author SHA1 Message Date
Alejandro Gervasio 65fa376887 BAEL #4987 - Java Constructors vs Static Factory Methods (#4987)
* Initial Commit

* Update User.java

* Update UserUnitTest.java

* Update User.java - UserUnitTest.java

* Update User.java
2018-08-17 17:50:13 -05:00
Alejandro Gervasio 880bd891b9 BAEL-2066 - Java Constructors vs Static Factory Methods (#4934)
* Initial Commit

* Update User.java

* Update UserUnitTest.java

* Update User.java - UserUnitTest.java
2018-08-16 21:00:43 -05:00
Loredana Crusoveanu 59d82006c5
Merge pull request #4974 from amit2103/BAEL-8217
Moved core persisatnce codes from core java to core java persistence
2018-08-15 22:26:34 +03:00
amit2103 4bd162e5a5 Moved core persisatnce codes from core java to core java persistence 2018-08-16 00:05:58 +05:30
Dhawal Kapil 3b64d8ef4e BAEL-8219 Fix tests for core-java, maven and core-java-io projects
-Test fixes
2018-08-15 14:14:50 +05:30
Felipe Santiago Corro f55e3796d9 optimizing regex expressions (#4961) 2018-08-14 12:24:28 +02:00
Vizsoro ce8d193f47 simplifying exception test (#4962)
* simplifying exception test

* simplifying subclass initialization
2018-08-14 08:43:43 +01:00
François Dupire 0b9bb44781 [BAEL-2020] Differences between final, finally and finalize in Java (#4848)
* [BAEL-2020] Examples code

* [BAEL-2020] Moving classes into 'keywords' package
2018-08-14 07:26:57 +01:00
yuugen 99676b1a9e Bael 2019 static vs dynamic binding (#4807)
* adding the required classes for binding example

* completed test class for AnimalActivityUnitTest static functions

* changes to example so that they don't seem to be a replica of https://stackoverflow.com/questions/19017258/static-vs-dynamic-binding-in-java

* refactoring and removing unnecessary file

* revert changes to RegexUnitTest
2018-08-12 00:02:05 +01:00
Dhawal Kapil e7485a1813 Task/bael 8020 (#4919)
* BAEL-8020 Fix surefire configs of spring-5 projects

-Removed surefire configurations from spring-5 projects

* BAEL-8020 Fix surefire configs of spring-5 projects

-Fixed surefire and junit configuration of spring-5-** projects
-Fixed mavensurefire plugin to execute JUnit5 tests BAEL-8125

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit-5

* BAEL-8020 Fix sure fire configs in spring5 project

-Fixed dependency for junit5-migration

* BAEL-8020 Fix surefire configs

-Updated maven war plugin to 3.0.0

* BAEL-8020 Fix surefire configs

-Upgraded surefire custom logger api version to 2.21.0 for all child projects

* BAEL-8020

-Deleted empty test SpringBootMvcApplicationTests.java in spring-boot-mvc.
-Renamed SpringBootMvcApplicationTests.java correct in spring-boot-vue

* BAEL-8020 Fix surfire configs

-Added junit vintage dependency to run junit4 tests
2018-08-09 19:13:44 +03:00
RanjeetKaur17 bf0c538bc9 Removing unused file. 2018-08-07 00:38:02 -07:00
RanjeetKaur17 840b0e1f9c Moving file parser inside the core-java module.
Adding Test cases for reading files.
2018-08-07 00:38:02 -07:00
Rokon Uddin Ahmed 943df6917e BAEL-7708 04.08.2016 (#4893)
* 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

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md
2018-08-06 14:04:56 +02:00
charlesgonzales 671bf20fe8 add/fix links - team BAEL-7962 (#4891)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* 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

* Create README.md

* Create README.md
2018-08-05 20:30:25 +02:00
Vizsoro 7dbca34ba4 BAEL-1986 List initialization in one line (#4696)
* list initializations in one line

* Enhance after review

* formatting and naming

* Formatting and renaming 2
2018-08-02 20:48:38 +01:00
Kevin Wittek 0cafd3004d Example for removing first element of array (BAEL-2029) (#4836)
* Example for removing first element of array (BAEL-2029)

* Use AssertJ assertions
2018-08-02 07:48:42 -05:00
Predrag Maric 46cf3c3997
BAEL-1958 Moved the example to logging-modules (#4886) 2018-08-02 11:34:53 +02:00
DavidLandup 0b642f91e0 Adding files for Exception Handling article (#4507)
* Adding files for Exception Handling article

* Updating files

* Test folder

* testing renaming

* Formatting and Naming Conventions

This commit reworks the code for the Intro to Exception Handling
article, ensuring that packages and classes are formatted and named
according to site standards.
2018-08-01 11:59:16 -06:00
cdjole 62c6f3434c BAEL-1865 - Java Objects Sizes (#4584)
* BAEL-1865 - Java Objects Sizes

* BAEL-1865 - PR fix
2018-07-31 22:00:44 +02:00
Saikat fb7b7c3ec5 BAEL-1958 Log using SLF4J (#4790)
* Log using SLF4J
Jira Ticket: BAEL-1958

* Incorporate first review comments
2018-07-31 10:03:04 +02:00
Alejandro Gervasio fc02400f5f BAEL-1818 A Simple Guide to Connection Pooling in Java (#4823)
* Initial Commit

* Update parent pom.xml

* Update BasicConnectionPool class

* Update BasicConnectionPool class

* BAEL-1818 removed code from core-java module, cleaned up a little pom files

* BAEL-1818 moved the code from connectionpool.connectionpools package to connectionpool
2018-07-28 08:44:51 +02:00
charlesgonzales f431a4c3ff add links (#4804)
* 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

* Update README.md

* Update README.md

* Update README.md
2018-07-24 19:21:55 +02:00
Predrag Maric e14abbfb58
BAEL-1818 lamdba instead of loop; isEmpty() instead of == 0 (#4791) 2018-07-23 07:41:59 +02:00
Adi ecb14dd834 BAEL-1728: add java instrumentation 2018-07-22 22:53:59 +01:00
the-java-guy c78bf78957 BAEL-1934 (#4768)
* Bean Object, server side and client side example for event streaming
example

* BAEL-1628

Access a File from the Classpath in a Spring Application

* inputstream retrieval added

* Removed files related to evaluation article

* + Aligning code to the article. Removed Utility methods and classes

* BAEL - 1628

* PMD fixes

* Code Review changes
Refactored : whenResourceUtils_thenReadSuccessful

* BAEL-1934

* +indentation correction in pom.xml

* synced with master

* indentation correction
2018-07-21 17:52:23 +02:00
Alejandro Gervasio ac801b4319 BAEL-1818 - A Guide to Connection Pools in Java (#4735)
* Strange git issue with README.MD, wouldn't revert the file

* Initial Commit

* Initial Commit

* Update pom.xml

* Update pom.xml

* Initial Commit

* Update pom.xml

* Update source files

* Update source files

* Update source files

* Update source files

* Update Application.java

* Update pom.xml

* Update HikariCPDataSourceUnitTest class

* Update HikariCPDataSourceUnitTest.java

* Update pom.xml

* Update unit test classes

* Update BasicConnectionPoolUnitTest.java

* Fix indentation in DBCDDataSource class

* Update DBCPDataSource.java

* Update BasicConnectionPool class

* Update BasicConnectionPool class

* Update BasicConnectionPool.java

* Update BasicConnectionPool.java

* Update pom.xml

* Update pom.xml

* BAEL-1818 Refactored getConnection(), added shutdown(), cleaned up pom.xml

* BAEL-1818 Removed getConnectionPool(), upgraded c3po version

* BAEL-1818 Deleted obsolete connectionpool module

* BAEL-1818 Deleted obsolete connectionpool module
2018-07-21 01:28:01 +02:00
Jonathan Cook b44883b364 BAEL-1889 - Let's move the Java Number articles into a new module (#4619)
* BAEL-1849 - Convert from String to Date in Java

* BAEL-1863 - Calling Callbacks with Mockito

* BAEL-1889 - Let's move the Java Number articles into a new module

* BAEL-1889 - Let's move the Java Number articles into a new module
2018-07-14 15:00:37 +02:00
charlesgonzales 7e16275bd7 BAEL-7390 - add/fix links (#4697)
* Create 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

* Create README.md

* Update README.md

* Update README.md
2018-07-13 06:57:45 +02:00
Sanjay Patel cddf858c05 BAEL-5246: pom cleanup (#4620)
* BAEL-5246: round 1 of pom cleanup - upto "jersey" project

* BAEL-5246: Initial pass for pom cleanup - upto spring-cloud

* BAEL-5246: pom cleanup upto testing-modules/junit5

* BAEL-5246: pom cleanup - upto xstream

* BAEL-5246: pom cleanup - last round (before review)
2018-07-12 09:04:54 +02:00
Tom Hombergs 455385d66e
Merge pull request #4579 from amitabhmandal/BAEL-1896
BAEL-1896: Guide to GregorianCalendar
2018-07-08 20:41:35 +02:00
amitabhmandal 9c8973f83f Refactored Junits 2018-07-08 22:02:45 +05:30
KevinGilmore e5f2714ff8
Update and add README files (#4657)
* BAEL-1766: Update README

* BAEL-1853: add link to article

* BAEL-1801: add link to article

* Added links back to articles

* Add links back to articles
2018-07-08 10:12:13 -05:00
Mrudav Shukla 30b439458e BAEL-1921 - added example code and unit test for GlobalExceptionHandler (#4646)
* added example code and unit test for GlobalExceptionHandler

* Code for common exceptions
2018-07-08 14:11:29 +02:00
Loredana Crusoveanu e78ca7c830
Merge pull request #4606 from kiview/bael-1930-encrypt
[BAEL-1930] Encryption and decryption of files using JDK
2018-07-07 17:45:50 +03:00
Loredana Crusoveanu da1db70aad
Update FileEncrypterDecrypterIntegrationTest.java 2018-07-07 15:40:12 +03:00
Rokon Uddin Ahmed f086ae7814 BAEL-7217 (#4637)
* 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

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md
2018-07-06 09:25:49 +02:00
Kevin Wittek 4615e1653b Use BufferedReader when decrypting 2018-07-04 13:50:06 +02:00
chandra 463d159f59 Added unit test for Thread.join method 2018-07-04 01:39:17 -04:00
amitabhmandal 6d60eabea8 BAEL-1896: Refactored names 2018-07-04 07:42:37 +05:30
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