Commit Graph

121 Commits

Author SHA1 Message Date
rpvilao 02f52d9b98 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 3e9ff755e0 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
Fabio Silva 9c512c4a82 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
Loredana Crusoveanu 253798a023 Merge pull request #8377 from kwoyke/BAEL-3442
BAEL-3442: Clean up java-dates module
2019-12-17 22:34:55 +02:00
Eugen d1f5bddedc 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
Vikas Rajput c082640187 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 d170631d7f 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 0c3f780c4f 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 0c61a12d88 BAEL-3651: Make sure the directory is always initially empty 2019-12-15 20:09:01 +01:00
Krzysiek fccdc24ad5 Revert "BAEL-3651: [Do Not Merge] Add diagnostic logging"
This reverts commit 1f18b3a051.
2019-12-15 20:00:00 +01:00
Krzysiek 1f18b3a051 BAEL-3651: [Do Not Merge] Add diagnostic logging 2019-12-15 19:29:08 +01:00
Jonathan Cook f7aab6fc11 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 a68b14bf83 Merge branch 'master' into BAEL-3442 2019-12-15 12:15:54 +01:00
Sam Millington 744e6e9f0d Merge branch 'master' into readme-description-edits 2019-12-15 09:54:49 +00:00
Sjmillington 192450a258 [BAEL-17476] - Final edits for Add README descriptions 2019-12-15 09:50:35 +00:00
Josh Cummings f4420e8e99 Merge pull request #8327 from nickmelis/master
Code samples for Java Switch Statement
2019-12-14 21:11:49 -07:00
Jonathan Cook b2d539220a 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 a0738d9d4b BAEL-3224 - Checking if 2 Java Dates are in the same day 2019-12-13 20:38:44 +00:00
Krzysztof Woyke 572477ff03 BAEL-3442: Move java files from java-dates to core-java-datetime-java8 2019-12-13 14:38:57 +01:00
johnA1331 6d647f57af Update README.md 2019-12-13 14:26:09 +08:00
Fabio Silva 2d6be72eab Josh Cummings suggestions: Package renamed and Benchmark using JMH 2019-12-12 09:52:43 -03:00
Vikas Rajput 8f1d5128c7 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
Nick 9b69056ced Changing test method names to conform to standard 2019-12-10 15:48:47 +00:00
Josh Cummings 913b795338 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 4665f80ea4 Merge pull request #8289 from mona-mohamadinia/BAEL-3520
BAEL-3520: Shutdown Hooks for JVM
2019-12-08 16:52:30 -05:00
Greg ac1e0dc667 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 9f78f62732 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 a805787669 Merge branch 'master' of github.com:eugenp/tutorials 2019-12-08 10:33:08 +00:00
Nick b5e5132133 Code samples for Java Switch Statement 2019-12-08 10:28:27 +00:00
wugangca d0a9b57694 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 22572ee072 Refactoring to a better package name 2019-12-07 22:32:13 +03:30
catalin-burcea 8a5faaf0ef [BAEL-19059] - Move new articles to java-dates-operations module 2019-12-07 18:12:55 +02:00
Fabio Silva 61ef5289a5 Pre-compile the regex pattern into a Pattern object and reuse 2019-12-06 10:02:29 -03:00
catalin-burcea 153a3923f0 [BAEL-18783] - Fix formatting of POMs 2019-12-06 11:40:56 +02:00
Sampada 69f8d56f3e BAEL-3511 : Default parameters in Java (#8317)
* Added Assertj dependency

* Default parameter example POJO and test class
2019-12-05 23:13:38 -08:00
Eric Martin e99b9b04c2 Merge pull request #8264 from johnA1331/master
Monthly Test Fix - BAEL-19186
2019-12-03 22:07:26 -06:00
Mona Mohamadinia 8109db569b Added the sample codes 2019-12-01 23:17:25 +03:30
Kamlesh Kumar 35c0ef7f14 BAEL-3525: System.exit() vs Runtime.getRuntime().halt() 2019-12-01 13:25:55 +05:30
Josh Cummings c865567b71 Merge pull request #8160 from alessiostalla/BAEL-18410
#BAEL-18410 add code sample for reduce with complex objects
2019-11-28 11:21:37 -07:00
Josh Cummings 9e0ed0893a Merge pull request #8249 from catalin-burcea/BAEL-16531
[BAEL-16531] - Move all the existing articles on "optional" under jav…
2019-11-28 09:49:58 -07:00
johnA1331 00f8ac8864 Update README.md 2019-11-28 10:32:20 +08:00
catalin-burcea 166723cf62 [BAEL-16531] - Move all the existing articles on "optional" under java-optional 2019-11-26 12:01:07 +02:00
Eric Martin de9d0f06f2 Merge branch 'master' into BAEL-3521 2019-11-25 19:06:53 -06:00
Loredana Crusoveanu fc27da10b9 Merge pull request #8252 from kwoyke/BAEL-19699
BAEL-19699: Fix core-java-concurrency-basic unit tests
2019-11-25 23:57:08 +02:00
Loredana Crusoveanu 4f2c997182 Merge pull request #8219 from amit2103/BAEL-19420
[BAEL-19420] - Removed the duplicate SpringContextIntegrationTest and…
2019-11-25 23:38:39 +02:00
Krzysiek d5359a58e1 BAEL-19699: Fix core-java-concurrency-basic unit tests 2019-11-25 21:34:15 +01:00
Jonathan Cook 2b256270fe Merge pull request #7950 from kertpjatkin/master
[BAEL-3302] How to set the JVM Timezone
2019-11-25 20:40:47 +01:00
Ali Dehghani b8a45c8ed2 Using a new module. 2019-11-25 22:09:20 +03:30
amit2103 b787240f29 Fixed conflicts 2019-11-25 00:24:40 +05:30
iamshwetabhardwaj 9f25b72ca4 BAEL-3506 - Refactoring. (#8238)
* BAEL-3506

* BAEL-3506

* BAEL-3506 - Added java-math-2 to parent pom.

* BAEL-3506 - Refactoring.
2019-11-24 09:24:06 -08:00