Commit Graph

580 Commits

Author SHA1 Message Date
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
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
Krzysiek
61a972ec4a Revert "BAEL-3651: [Do Not Merge] Add diagnostic logging"
This reverts commit 445a8d1d7d.
2019-12-15 20:00:00 +01:00
Krzysiek
445a8d1d7d BAEL-3651: [Do Not Merge] Add diagnostic logging 2019-12-15 19:29:08 +01:00
Jonathan Cook
41f3de27ca Merge pull request #8367 from JonCook/master
BAEL-3224 - Checking if 2 Java Dates are in the same day
2019-12-15 16:06:03 +01:00
Krzysiek
84dabb9ad6 Merge branch 'master' into BAEL-3442 2019-12-15 12:15:54 +01:00
Sam Millington
001fd3b89c Merge branch 'master' into readme-description-edits 2019-12-15 09:54:49 +00:00
Sjmillington
b339c10eb8 [BAEL-17476] - Final edits for Add README descriptions 2019-12-15 09:50:35 +00:00
Josh Cummings
efda44401a Merge pull request #8327 from nickmelis/master
Code samples for Java Switch Statement
2019-12-14 21:11:49 -07:00
Jonathan Cook
d1ae80b9d6 BAEL-3224 - Checking if 2 Java Dates are in the same day
- update pom.xml to remove tabs.
2019-12-13 20:57:15 +00:00
Jonathan Cook
42bf75e45d BAEL-3224 - Checking if 2 Java Dates are in the same day 2019-12-13 20:38:44 +00:00
Krzysztof Woyke
56d0f1b9d1 BAEL-3442: Move java files from java-dates to core-java-datetime-java8 2019-12-13 14:38:57 +01:00
sampada
1e33cd6df4 BAEL-3589 : Java random strings 2019-12-13 15:44:59 +05:30
johnA1331
7315e69e5a Update README.md 2019-12-13 14:26:09 +08:00
sampada
7d469b9daa BAEL-3589 : Improvement: Java Generate Random String 2019-12-12 19:49:29 +05:30
Fabio Silva
897eecbf5a Josh Cummings suggestions: Package renamed and Benchmark using JMH 2019-12-12 09:52:43 -03:00
Vikas Rajput
f42658581b BAEL-3397: Difference between throw e and throw new Exception(e) (#8339)
* 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
2019-12-11 10:42:31 -08:00
Kert Pjatkin
8d2d6d8479 BAEL-3302: Fix package name & get rid of 3-letter time zone 2019-12-11 06:29:17 +01:00
Nick
d8dc1cc37f Changing test method names to conform to standard 2019-12-10 15:48:47 +00:00
Josh Cummings
b41a65e300 Merge pull request #8323 from catalin-burcea/BAEL-19059
[BAEL-19059] - Move new articles to java-dates-operations module
2019-12-09 21:48:38 -07:00
Greg
5be2e91d58 Merge pull request #8289 from mona-mohamadinia/BAEL-3520
BAEL-3520: Shutdown Hooks for JVM
2019-12-08 16:52:30 -05:00
Greg
7cbea4a258 Merge pull request #8281 from kamleshkr/BAEL-3525
BAEL-3525: System.exit() vs Runtime.getRuntime().halt()
2019-12-08 16:46:46 -05:00
Fabio Silva
e8b17feabd Ruy Vilão suggestions: no point in declaring the variables for the match result, let's put them directly in the assert (to be fixed in both tutorial and code). 2019-12-08 15:57:34 -03:00
Nick
a25effb0d6 Merge branch 'master' of github.com:eugenp/tutorials 2019-12-08 10:33:08 +00:00
Nick
28c8836708 Code samples for Java Switch Statement 2019-12-08 10:28:27 +00:00
wugangca
ef0128e21a BAEL-3418 Check If Two Strings Are Anagrams in Java (#8139)
* BAEL-3418 Check If Two Strings Are Anagrams in Java

* BAEL-3418 Update code based on code review feedback.

* BAEL-3418 Update comments and rename constant based on code review feedback.

* Move the repository to core-java-modules/core-java-string-algorithms-3/

* BAEL-3418 Only support alpha characters for the anagram

* BAEL-3418 use preprocess in a separate method

* BAEL-3418 Remove the temp variables
2019-12-07 20:35:19 +00:00
Mona Mohamadinia
58837c6350 Refactoring to a better package name 2019-12-07 22:32:13 +03:30
catalin-burcea
35711d3639 [BAEL-19059] - Move new articles to java-dates-operations module 2019-12-07 18:12:55 +02:00
Fabio Silva
d6d8effd99 Pre-compile the regex pattern into a Pattern object and reuse 2019-12-06 10:02:29 -03:00