Commit Graph

607 Commits

Author SHA1 Message Date
Vikas Ramsingh Rajput
b2f369ef51 Merge branch 'BAEL-3504' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-19 11:53:14 +03:00
Vikas Rajput
b7ffef72fb BAEL-3504: Update core-java-modules/core-java-reflection/src/test/java/com/baeldung/reflection/exception/invocationtarget/InvocationTargetUnitTest.java
Co-Authored-By: KevinGilmore <kpg102@gmail.com>
2020-01-19 10:52:37 +03:00
Vikas Ramsingh Rajput
83bfe70444 Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-17 23:40:44 +03:00
Vikas Ramsingh Rajput
e19c356bf9 BAEL-3504: Added Unit test file and removed old class file 2020-01-17 23:38:53 +03:00
Vijay Palaniappan S
4899959adb Added Create Date class & Unit Tests for all the cases (#8499) 2020-01-09 09:58:12 -08:00
Vikas Ramsingh Rajput
b76640bfb6 Merge branch 'master' of https://github.com/vikasrajput6035/tutorials into BAEL-3504 2020-01-07 21:38:25 +03:00
Vikas Ramsingh Rajput
5259814b16 BAEL-3504: Article - what causes invocation-target-exception : done 2020-01-07 21:08:42 +03:00
kwoyke
dd9da8c07e BAEL-3693: Rename test methods (#8482) 2020-01-06 21:36:38 +01:00
mnafshin
3b3880a942 Powerset (#8475)
* PowerSet generation is Java and respective unit tests are added

* function name is adjusted to the actual ordering name (Reverse Lexicographical ordering)

* Guava example test function is changed

* LazyLoad powerSet (based on Guava implementation) is added

* set is used instead of map.keySet()

* Lexicographic Order and Gray Order are removed from function names. Unused function (rank and unrank), which are not used in the text, are removed
2020-01-05 13:31:27 -08:00
Krzysztof Woyke
ad90a21491 Merge remote-tracking branch 'upstream/master' into BAEL-20573 2020-01-03 09:21:03 +01:00
kwoyke
04a571ea02 BAEL-3732: Move core-java-security-manager into core-java-security (#8460)
* BAEL-3732: Move core-java-security-manager into core-java-security

* BAEL-3732: Teardown the security manager to not interfere with other tests
2020-01-03 08:59:33 +02:00
Krzysztof Woyke
c03a5d07bd Merge branch 'master' into BAEL-20573 2020-01-03 07:57:17 +01:00
kwoyke
8c77986e6a BAEL-3608: Add Map.merge() usage example (#8455) 2020-01-03 08:51:16 +02:00
Krzysiek
4eb413101a BAEL-20573: Update README.md files 2020-01-02 22:49:25 +01:00
Krzysiek
b057f952e7 BAEL-20573: Rename core-java-date-operations to core-java-date-operations-2 2020-01-02 22:45:18 +01:00
Krzysiek
94b4f79c4e BAEL-20573: Rename core-java-datetime-computations to core-java-date-operations-1 2020-01-02 22:38:40 +01:00
Donato Rimenti
d9dc2d8159 [BAEL-3524] A Guide to @Serial Annotation in Java 14 (#8433)
* BAEL-1935: Synthetic Class in Java

* Converted tabs to spaces

* [BAEL-3524] Created project core-java-14 with @Serial demo.
2020-01-01 10:38:39 -06:00
M-Abdelbaset
d507160b85 Bael 3510-method multiple return values (#8348)
* init

* first draft

* first review round changes

* second review round

* changing arg name
2020-01-01 13:19:04 +02:00
rahulgul8
11aa367292 Changes for "Guide to finally in Java" (BAEL-3526) (#8237)
* Adding files for finally keyword

* Adding returnFromCatch example.

* Adding empty braces instead of dangling ;

* Return from try, removing the catch block.

* moving to to core-java module

* moving to core-java-lang-2
2020-01-01 13:11:12 +02:00
rohitchaudhary2023
09fc76e57c BAEL-3380 (#8454)
* initial commit

* changes for articlesBAEL-3380

* Removed evaluation article files

* BAEL-3380

* adding test case BAEL-3380

* BAEL-3380

* BAEL-3380 - updated tests and removed main class

* BAEL-3380 - Updated Test class name

* BAEL-3380 - Updated Test class name

* BAEL-3380 - Updated testcase names as per BDD naming convention

* BAEL 3380 - Added JMH benchmark
2019-12-31 13:22:53 -08:00
mnafshin
6a09f4ac9b PowerSet generation is Java and respective unit tests are added (BAEL-3417) (#8284)
* PowerSet generation is Java and respective unit tests are added

* function name is adjusted to the actual ordering name (Reverse Lexicographical ordering)

* Guava example test function is changed

* LazyLoad powerSet (based on Guava implementation) is added

* set is used instead of map.keySet()
2019-12-30 09:39:05 -08:00
Erik Pragt
a08f136236 Merge pull request #8399 from AlNiyas/samedayimprovement
[BAEL-3632] Using Instant to check for same day
2019-12-30 00:45:13 +11:00
Loredana Crusoveanu
4e43d8313e Merge pull request #8434 from kwoyke/BAEL-3674
BAEL-3674: Remove the broken test
2019-12-29 12:23:20 +02:00
Krzysiek
61d60ae836 BAEL-3674: Remove two more unit tests 2019-12-28 23:13:39 +01:00
Graham Cox
f06c23c609 Examples for Branch Prediction article (#8426) 2019-12-28 20:20:11 +01:00
Krzysiek
40a414886c BAEL-3674: Remove the broken test 2019-12-26 22:36:10 +01:00
Loredana Crusoveanu
6afa8109d5 Merge pull request #8417 from Thabo08/catching-throwable-2
t.ntsoko@gmail.com - Moving CatchingThrowable.java to the core-java-exceptions-2 module
2019-12-25 10:34:47 +02:00
sumit-bhawsar
655c545805 Bael 3512-difference between logical and bitwise & (#8203)
* BAEL-3512 unit tests for Bitwise and Logical AND operators

* BAEL-3512 readme.md is updated and added new tests for bitwise & with booleans

* BAEL-3512 updated variables names to more meaningful names

* BAEL-3512 added example for short circuit
2019-12-24 17:03:31 +00:00
Loredana Crusoveanu
b537b851b6 Merge pull request #8425 from silvafabio/master
Loredana Crusoveanu suggestions: shorten the names of the test method…
2019-12-23 21:53:43 +02:00
Fabio Silva
b1e32aa3ed Loredana Crusoveanu suggestions: shorten the names of the test methods, as they're causing a horizontal scroll bar to appear. 2019-12-23 09:15:37 -03:00
rdevarakonda
bf37133f56 [BAEL-3152] - Examples for the article 'Using the Not Operator in If (#8368)
Conditions in Java'
2019-12-23 02:51:19 +02:00
Greg
0dc2ba8cc3 Merge pull request #8358 from sampada07/master
BAEL-3589 : Improvement: Java Generate Random String
2019-12-22 15:53:59 -05:00
Jonathan Cook
9b34837a24 Merge pull request #8290 from kertpjatkin/master
BAEL-3302: Fix package name & get rid of 3-letter time zone
2019-12-22 21:10:42 +01:00
Thabo Ntsoko
dca7d73547 Moving CatchingThrowable.java to the core-java-exceptions-2 module 2019-12-22 17:08:39 +02:00
Loredana Crusoveanu
17f2f86e1c Merge pull request #8403 from johnA1331/master
BAEL-19551
2019-12-20 23:05:44 +02:00
rpvilao
d3082ffe33 Merge pull request #8321 from silvafabio/master
Pre-compile the regex pattern into a Pattern object and reuse
2019-12-20 15:28:11 +01:00
rohitchaudhary2023
46ff752269 BAEL-3380 (#8335)
* initial commit

* changes for articlesBAEL-3380

* Removed evaluation article files

* BAEL-3380

* adding test case BAEL-3380

* BAEL-3380

* BAEL-3380 - updated tests and removed main class

* BAEL-3380 - Updated Test class name

* BAEL-3380 - Updated Test class name

* BAEL-3380 - Updated testcase names as per BDD naming convention
2019-12-19 08:36:50 -08:00
johnA1331
00c11f06b0 Update README.md 2019-12-19 18:50:32 +08:00
johnA1331
8de703a4d3 Update README.md 2019-12-19 18:44:35 +08:00
Fabio Silva
280bca8379 Josh Cummings suggestions: JMH documentation states that benchmark methods should return a value in order to defend against Dead Code Elimination 2019-12-19 07:28:51 -03:00
johnA1331
fc467e6190 Update README.md 2019-12-19 18:21:25 +08:00
johnA1331
e21de9f407 Update README.md 2019-12-19 18:20:46 +08:00
Al Niyas
505fda12ac BAEL-3632 Using Instant to check if Two Java Dates are On Same Day 2019-12-18 22:12:16 +03:00
Loredana Crusoveanu
24d9244c09 Merge pull request #8377 from kwoyke/BAEL-3442
BAEL-3442: Clean up java-dates module
2019-12-17 22:34:55 +02:00
Eugen
c5982112d0 Merge pull request #8379 from sjmillington/readme-description-edits
[BAEL-17476] - Final edits for Add README descriptions
2019-12-16 21:09:12 +02:00
sampada
11e6631b6a BAEL-3589 : removed unnecessary final modifiers 2019-12-16 22:50:51 +05:30
Vikas Rajput
5e8882a328 BAEL-3397: Added next link in core-java-exceptins module (#8380)
* Article: Quick and practical example of hexagonal architecture in java with Spring Project

* Removed server.port property from application.properties

* BAEL-3397: Difference between throw e and throw new Exception(e) in java

* BAEL-3397 : Removed links from readme file

* BAEL-3397: removed hexagonal module from the code

* BAEL-3397: renamed exceptions package name to rethrow

* BAEL-3397: Added next link in core-java-exceptions module and linked core-java-exceptions-2 module
2019-12-15 12:24:17 -08:00
Loredana Crusoveanu
8d3b50f57a Merge pull request #8383 from kwoyke/BAEL-3651
BAEL-3651: Fix failing test in core-java-io-apis
2019-12-15 22:17:15 +02:00
Maiklins
49774bde16 BAEL-3130 overflow and underflow in java (#8381)
* BAEL-3131 Guide to Java HashMap
http://jira.baeldung.com/browse/BAEL-3130

* Move test class to correct package
http://jira.baeldung.com/browse/BAEL-3130
2019-12-15 21:07:08 +01:00
Krzysiek
ec9a27a4e8 BAEL-3651: Make sure the directory is always initially empty 2019-12-15 20:09:01 +01:00