Commit Graph

1356 Commits

Author SHA1 Message Date
Eugen 166534ce50
Update README.md 2018-10-05 22:11:46 +02:00
Divyum Rastogi b4f2f430bf remove duplicate and broken Java UUID tutorial link 2018-10-04 00:54:56 +05:30
Tom Hombergs 2784b3de4c removed unnecessary Mockito and refactored test method name 2018-10-01 21:06:19 +02:00
Tom Hombergs 0f18f2844d
Merge pull request #5307 from grigoriosdimopoulos/BAEL2150
[BAEL2150] Nth root in Java
2018-10-01 20:55:49 +02:00
dupirefr 8ca0e9a847 [BAEL-2183] Arrays manipulations 2018-10-01 19:30:04 +02:00
ramansahasi 317ed150a1 BAEL-2015 Memory leaks in Java (#5295)
* BAEL-2015_Memory_leaks_in_Java

* Ignored tests

* Update NonStaticFieldsDemo.java

* Corrected class name

* converted tabspaces to whitespaces
2018-09-30 20:59:53 -05:00
Shubhra Srivastava b4aa279eaa BALE-2224 Ternary Operator In Java (#5362) 2018-09-30 14:52:49 -07:00
charlesgonzales 4cbc8d0bac To add/fix links (Team Jira BAEL-9015) (#5332)
* 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

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-27 09:09:58 +02:00
myluckagain 5e8076dddd BAEL-2182 (#5257)
* BAEL-2182

* refactoring
2018-09-23 07:43:20 +02:00
Grigorios Dimopoulos 5b78803c1f [BAEL2150] Code for the related article, about nth root in java. 2018-09-22 17:37:09 +03:00
Akash Pandey 6995a96704 BAEL-2159: Mini Article on "Separate double into integer and decimal parts" (#5300) 2018-09-21 11:31:47 +02:00
Eric Martin fe3bf7487d
Merge pull request #5248 from asturcon/heapDump
BAEL-2171 - Different Ways to Capture Java Heap Dumps
2018-09-19 20:56:07 -05:00
José Carlos Valero Sánchez 8cf4000544
Merge pull request #5293 from RanjeetKaur17/develop.0.3.0
Changes to directly create ZoneOffset using offset value rather using…
2018-09-19 21:23:06 +02:00
Sam Millington 4d2780379d Password Hashing, PBKDF2 and SHA-512
Issue: BAEL-2164
2018-09-19 10:29:04 -06:00
RanjeetKaur17 4be74d00d1 Changes to directly create ZoneOffset using offset value rather using ZoneRules. 2018-09-19 10:38:11 +04:00
Marcos Lopez Gonzalez a48f385176 File creation for dump changed 2018-09-17 18:13:09 +02:00
José Carlos Valero Sánchez 096f17f30e
Merge pull request #5234 from RanjeetKaur17/develop.0.3.0
Adding Examples for ZonedDateTime, OffsetDateTime and OffsetTime
2018-09-16 23:37:07 +02:00
Marcos Lopez Gonzalez f83b1268cc Merge branch 'masterEugen' into heapDump 2018-09-13 22:38:12 +02:00
Marcos Lopez Gonzalez 597602a478 BAEL-2171 - java heap dumps 2018-09-13 22:37:40 +02:00
Josh Cummings 1a06dfb941
Floating-point Formatting (#5244)
These samples show some different approaches for formatting a
floating-point value into a String, while removing its decimal part.

Included is a benchmark to show how each approach performs.

Issue: BAEL-2152
2018-09-13 06:42:33 -06:00
daoire 6009c4f910 Updates to Double to string 2018-09-12 20:35:59 +01:00
RanjeetKaur17 e8a48fbad2 Removing unused file. 2018-09-12 20:11:40 +04:00
RanjeetKaur17 33e7ce89ce Adding Examples for ZonedDateTime, OffsetDateTime and OffsetTime 2018-09-12 20:09:27 +04:00
daoire d037c59c3c
Merge pull request #5197 from vaibs28/master
BAEL-2152
2018-09-09 20:17:56 +01:00
Vaibhav Sahay c98a0234ae
Delete DoubletoString.java 2018-09-08 10:04:07 +05:30
Vaibhav Sahay 6b5204cf47
BAEL-2152 Convert double to String
Code snippet for converting and formatting double to String
2018-09-08 09:59:28 +05:30
Vaibhav Sahay 9aa085292d
import NumberFormat 2018-09-08 00:27:15 +05:30
Vaibhav Sahay 37544c141b
added formatting using Locales 2018-09-08 00:25:25 +05:30
Rokon Uddin Ahmed fccf56fdc2 BAEL-8287 (#5180)
* 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

* 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

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-07 13:56:13 +03:00
daoire 1dab83863b
Update README.md 2018-09-07 07:41:52 +01:00
Vaibhav Sahay 0da07de99e
BAEL-2152
code snippet for converting double to String
2018-09-05 19:09:31 +05:30
Donato Rimenti 2a66773c7c [BAEL-1935] Synthetic Class in Java (#5122)
* BAEL-1935: Synthetic Class in Java

* Converted tabs to spaces
2018-09-03 19:05:41 +02:00
Predrag Maric a32904fc19
BAEL-2151 code moved to algorithms module (#5141) 2018-09-02 12:06:04 +02:00
Swapan Pramanick b7aa6a2caa BAEL-2140 (#5092) 2018-09-02 07:08:12 +02:00
myluckagain de84251d48 fix y-coord (#5124)
BAEL-2151 fix y-coord
2018-09-01 09:54:59 +02:00
myluckagain 3824590375 float to double (#5118) 2018-08-30 23:42:16 +02:00
myluckagain 2a12e9abd4 BAEL-2151 (#5087)
BAEL-2151
2018-08-30 00:56:21 +02:00
Kacper c4cb6eec73 Move optional to java-8-core (#5105) 2018-08-29 06:51:41 -07:00
Kacper 8ac53f70c4 Optional or else throw (#5088)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow

* fix test
2018-08-27 22:21:33 +02:00
amit2103 c5e1d6f0ef [BAEL-8456] - Moved more articles into 'java-dates' module 2018-08-26 00:49:30 +05:30
amit2103 3bd1ed4ece [BAEL-8456] - Moved Java Date articles into a new module - 'java-dates' 2018-08-25 17:44:06 +05:30
Kacper 9b343be45e BAEL-2122 Optional or else throw (#5047)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow
2018-08-24 13:18:30 +02:00
daoire 2779300352
Merge pull request #4898 from Kirti-Deo/master
BAEL-2024 : java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
2018-08-24 07:59:47 +01:00
Kirti Deo 7afb1b2dc8 BAEL-2024 : Fixed review comments by Darragh. 2018-08-22 20:17:33 +05:30
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
daoire cae45a3be6
Update README.md 2018-08-21 07:06:37 +01:00
Loredana Crusoveanu 32f2daa7f2
Merge pull request #4964 from dkapil/story/BAEL-7636
BAEL-7636 Add the missing plugin versions in the tutorial repo
2018-08-21 08:33:37 +03:00
Kirti Deo 8136464a6e BAEL-2024 : ClassCastException : Fixing review comments 2018-08-20 21:12:40 +05:30
Kacper 9156ec3736 Throw and throws in Java (#4990) 2018-08-19 22:02:27 +02:00
Dhawal Kapil 847c9e9edd Merge branch 'master' of https://github.com/eugenp/tutorials into story/BAEL-7636 2018-08-19 22:59:08 +05:30
Loredana Crusoveanu ec790a6a8c
delete duplicate test 2018-08-19 15:14:16 +03:00
Loredana Crusoveanu a6327bdcc2
Update PizzaUnitTest.java 2018-08-19 14:22:32 +03:00
Loredana Crusoveanu ab560b7580
remove string-related code 2018-08-19 07:33:37 +03:00
Loredana Crusoveanu a35c7789b9
Merge pull request #4997 from amit2103/BAEL-8232
[BAEL-8232] - Moved java string related code and github links into ne…
2018-08-19 07:28:48 +03:00
Kevin Wittek ba7efbcc43 Example for removing first element of array (BAEL-2029) (#4970)
* Example for removing first element of array (BAEL-2029)

* Use AssertJ assertions

* Move array test to collections module.

* Remove redundant test
2018-08-18 19:34:47 -05:00
KevinGilmore 65cd3b3bd5
BAEL-2066 Update README (#5000)
* 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

* BAEL-1795: Update README

* BAEL-1901 and BAEL-1555 add links back to article

* BAEL-2026 add link back to article
2018-08-18 19:29:20 -05:00
amit2103 b4036907b9 [BAEL-8232] - Moved non-string related code to core-java and copied PizzaStatusEnum class and PizzaUnitTest relavent TCs to java-strings module 2018-08-19 01:20:13 +05:30
amit2103 742c77a931 [BAEL-8232] - Moved code from core-java to java-strings module for 'Converting Strings to Enums in Java' article 2018-08-19 00:34:16 +05:30
amit2103 74bfeb18ad Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-8232 2018-08-19 00:04:04 +05:30
amit2103 ca9b13d705 [BAEL-8232] - Removed unwanted dependencies and moved CountCharsExampleUnitTest from core-java to java-strings module 2018-08-19 00:02:02 +05:30
Loredana Crusoveanu 9d1568c654
Merge pull request #4996 from lor6/fix-equals
fix equals method
2018-08-18 21:16:44 +03:00
amit2103 ab17b8e697 [BAEL-8232] - Moved java string related code and github links into new module java-strings 2018-08-18 23:24:10 +05:30
amit2103 bbc36e0daf [BAEL-8217] - Updated github links 2018-08-18 21:14:31 +05:30
Loredana Crusoveanu b4f0f403e2
Update User.java 2018-08-18 16:00:18 +03:00
Loredana Crusoveanu 955e78a306
Merge pull request #4991 from lor6/BAEL-8219
Bael 8219
2018-08-18 15:53:59 +03:00
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
Loredana Crusoveanu 79a8c80853 fix equals method 2018-08-17 15:39:55 +03: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
Dhawal Kapil 3b4c74874d Merge branch 'master' of https://github.com/eugenp/tutorials into story/BAEL-7636 2018-08-16 10:07:18 +05:30
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
Loredana Crusoveanu 854614166f fix exceptions tests 2018-08-15 22:19:02 +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 9a655ae609 BAEL-7636 Add the missing plugin versions in the tutorial
-Ignoring faulty test causing out of memory exception in travis
2018-08-15 17:31:45 +05:30
Dhawal Kapil 1212404897 BAEL-8219 Fix tests for core-java, maven and core-java-io projects
-Test fixes
2018-08-15 14:25:20 +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
Kirti Deo 8e0985f80a BAEL-2024 : java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList : Kirti Deo 2018-08-04 11:21:44 +05:30
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
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