487 Commits

Author SHA1 Message Date
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
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
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
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
Tom Hombergs
455385d66e
Merge pull request #4579 from amitabhmandal/BAEL-1896
BAEL-1896: Guide to GregorianCalendar
2018-07-08 20:41:35 +02: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
Kevin Wittek
4615e1653b Use BufferedReader when decrypting 2018-07-04 13:50:06 +02:00
Kevin Wittek
c0aaed7474 [BAEL-1930] Encryption and decryption of files using JDK 2018-07-01 21:05:28 +02:00
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
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
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
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
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
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
Shubhra
642bff3077 BAEL-1761 Jagged Arrays In Java 2018-06-03 17:59:24 +05:30
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
mherbaghinyan
bc4690ee54 ThisKeyword -> KeywordTest 2018-05-27 10:22:30 +04: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