Commit Graph

246 Commits

Author SHA1 Message Date
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
Maiklins de82f1c805 BAEL-3131 Guide to Java HashMap (#8229)
http://jira.baeldung.com/browse/BAEL-3130
2019-11-24 12:59:09 +01:00
Martin van Wingerden b9e46ff27a [BAEL-3518] Removed the CheckIntegerInput because its removed from the article (#8228) 2019-11-23 23:15:36 -06:00
Loredana Crusoveanu 1b6e7d3750 Merge pull request #8224 from johnA1331/master
BAEL-18815
2019-11-23 13:57:43 +02:00
Kert Pjatkin d7191b2dc6 [BAEL-3302] How to set the JVM Timezone 2019-11-23 13:24:40 +02:00
Catalin Burcea 13c42ac4dc [BAEL-3351] - Common Concurrency Pitfalls in Java (#8104) 2019-11-23 11:03:50 +00:00
Martin van Wingerden 76a4694c42 Some changes in the is-numeric (#8171)
* Perform a null-check instead of catching NPE's
* Use pre-compiled regular expressions and perform a null-check before testing it against the regex
* Made the test usable with two modes, one using a single values and another one using a more realistic workload.
* Upgraded the commons-lang version
2019-11-21 23:28:58 -06:00
johnA1331 4f19531a0a Update README.md 2019-11-22 00:30:47 +08:00
johnA1331 e7a4f6941f Update README.md 2019-11-22 00:17:41 +08:00
johnA1331 cbc4ed2fa7 Update README.md 2019-11-22 00:13:36 +08:00
johnA1331 06d7019960 Update README.md 2019-11-22 00:12:09 +08:00
johnA1331 7ff15f89d8 Update README.md 2019-11-22 00:08:40 +08:00
johnA1331 64cef3dc80 Update README.md 2019-11-22 00:07:11 +08:00
johnA1331 f9bb80fbd3 Create README.md 2019-11-22 00:05:09 +08:00
johnA1331 388bc432d9 Update README.md 2019-11-21 23:59:35 +08:00
amit2103 b022c54e3f [BAEL-19420] - Fixed DateUtilsUnitTest 2019-11-20 18:03:52 +05:30
Ali Dehghani c0fdbd4a80 Sample codes for RejectedExecutionHandler article. 2019-11-20 08:05:39 +03:30
Jonathan Cook 624a9fa527 Merge pull request #8187 from AlNiyas/sameDayFInalBranch
BAEL-3224 - Checking if Two Java Dates are On the Same Day
2019-11-19 22:59:43 +01:00
AlNiyas d4aa26b7ef update junits
update junits
2019-11-19 18:05:02 +03:00
Josh Cummings 7d52a39289 Merge pull request #7798 from fanatixan/bael-16656
BAEL-16656
2019-11-18 09:45:07 -07:00
Al Niyas 7034761130 BAEL-3224 - Checking if 2 Java Dates are in the same day 2019-11-16 22:37:37 +03:00
Ali Dehghani bd1e69f5bf Sample codes for RejectedExecutionHandler article. 2019-11-16 00:06:11 +03:30
catalin-burcea fe49f7c4f6 [BAEL-19088] - Move articles out of core-java-io part 3 2019-11-15 11:49:42 +02:00
fejera 68b2af4a28 removed unreliable test case from core-java-modules/core-java-date-operations 2019-11-14 13:32:03 +01:00
Jonathan Turnock 65b94b66f4 BAEL-3212 - Examples of POJO, Bean and BeanUtils reflection (#7782)
* BAEL-3212 - Examples of POJO, Bean and BeanUtils reflection

* Update pom.xml
2019-11-13 21:57:54 +00:00
Josh Cummings cdbac35a71 Merge pull request #8129 from sjmillington/core-java-move-3
[BAEL-15993] - Move articles out of core-java pt 3
2019-11-12 21:51:11 -07:00
Josh Cummings e0cfe31a45 Merge pull request #8158 from catalin-burcea/BAEL-19087
[BAEL-19087]-Move articles out of core-java-io part 2
2019-11-12 21:45:15 -07:00
Shubhra Srivastava cc32b9f93d BAEL-3404 Review comments (#8181) 2019-11-12 12:27:47 -08:00
Rodrigo Graciano b68aca1d9d BAEL-3414 (#8177)
* BAEL-3414

* BAEL-3414 -> Add unit tests

* BAEL-3414 -> Clean up pom.xml
2019-11-12 12:25:27 -08:00
Sam Millington a66d9c9c73 Merge pull request #8153 from vatsalgosar/BAEL-3401
[BAEL-3401]- Skipping Weekends While Adding Days
2019-11-12 16:27:16 +00:00
catalin-burcea 34714af74d [BAEL-19087]-Move articles out of core-java-io part 2 2019-11-12 11:13:45 +02:00
Josh Cummings d2b9cf2de4 Merge pull request #8137 from amit2103/BAEL-16640
[BAEL-16640] - Split or move core-java-modules/core-java-lang-syntax …
2019-11-11 20:00:19 -07:00
Josh Cummings 25e5b24f1a Merge branch 'master' into core-java-move-3 2019-11-11 18:35:58 -07:00
Josh Cummings 486f924c73 Merge pull request #8155 from alessiostalla/BAEL-18411
#BAEL-18411 change code sample to use equals instead of equalsIgnoreC…
2019-11-10 00:23:58 -07:00
Erik Pragt a85b87070e Merge pull request #8136 from Thabo08/java-file-class-edit-2
t.ntsoko@gmail.com - Shortening methods
2019-11-10 13:43:57 +11:00
Kai Yuan 4fb0164b50 [BAEL-3402]move to an individual package (#8161) 2019-11-09 09:25:41 -08:00
Alessio Stalla d6bcc02f09 #BAEL-18410 add code sample for reduce with complex objects 2019-11-09 15:06:10 +01:00
Eric Martin 1ff66911d3 Merge pull request #8109 from martinvw/feature/BAEL-3392
[BAEL-3392] Debugging Java 8 Streams with IntelliJ
2019-11-08 21:42:48 -06:00
Eric Martin e6691b9b22 Merge branch 'master' into master 2019-11-08 20:40:55 -06:00
Shubhra Srivastava 906423af47 Bael 3404 strictfp in java (#8157)
* BAEL-3404 Creating new OOP module

* BAEL-3404 Code changes
2019-11-08 13:10:32 -08:00
vatsalgosar 1e1fe0592e - Separated add and subtract days into two methods for simplification 2019-11-09 02:33:50 +05:30
Alessio Stalla 1c04441b03 #BAEL-18411 change code sample to use equals instead of equalsIgnoreCase and add commented out break statement mentioned in the article. 2019-11-08 10:04:51 +01:00
amit2103 5e26506b92 [BAEL-16640] - Fixed conflicts 2019-11-07 23:52:43 +05:30
Josh Cummings 39f5913c7d Merge pull request #8149 from catalin-burcea/BAEL-15998
[BAEL-15998] - Move articles out of core-java-io part 1
2019-11-07 10:24:14 -07:00
vatsalgosar d74c31b3bf BAEL-3401
- Implementation for adding days skipping weekends in LocalDate object in Java 8
2019-11-07 22:53:51 +05:30
Shubhra Srivastava 15112d4262 BAEL-3404 Creating new OOP module (#8152) 2019-11-07 09:13:42 -08:00
Josh Cummings cd609fd907 Merge pull request #8102 from alessiostalla/BAEL-16633
BAEL-16633
2019-11-07 08:51:20 -07:00
johnA1331 c60334493c Update README.md 2019-11-07 09:41:56 +08:00
catalin-burcea 9182868d6e [BAEL-15998] - Move articles out of core-java-io part 1 2019-11-06 17:04:00 +02:00
johnA1331 bc67ccf2d2 Update README.md 2019-11-05 16:47:40 +08:00
Jonathan Cook cdeb947e42 Merge pull request #8141 from JonCook/master
BAEL-3375 - Get the current Date in Java (non Java 8)
2019-11-04 18:18:04 +01:00
Jonathan Cook 25939ac20a BAEL-3375 - Get the current Date in Java (non Java 8) 2019-11-04 18:05:45 +01:00
Jonathan Cook 3d014497f2 Merge branch 'master' of https://github.com/laurentiud/tutorials into laurentiud-master 2019-11-04 17:55:36 +01:00
Josh Cummings 910c7daf2a Merge pull request #8120 from catalin-burcea/BAEL-18265
[BAEL-18265] Move articles out of java-strings part5
2019-11-04 07:00:15 -07:00
amit2103 4decebf3d5 [BAEL-16640] - Split or move core-java-modules/core-java-lang-syntax module 2019-11-03 12:16:31 +05:30
Thabo Ntsoko a611831b37 Shortening methods 2019-11-03 08:09:58 +02:00
Loredana Crusoveanu 26e6d89a48 Merge branch 'master' into master 2019-11-02 23:34:32 +02:00
Eric Martin 8e973888ad Update Example2.java 2019-11-02 12:30:28 -05:00
catalin-burcea e4710724bb Move articles out of java-strings part5 2019-11-02 18:58:17 +02:00
Loredana Crusoveanu 108840fcb4 Merge pull request #7465 from amit2103/BAEL-16045-15
[BAEL-16045] - Check Article Code Matches GitHub for https://www.bael
2019-11-02 17:45:49 +02:00
Sjmillington 798c55da9a [BAEL-15993] - Move articles out of core-java pt 3 2019-11-02 11:40:05 +00:00
Eric Martin d47ea19834 Merge pull request #8049 from vatsalgosar/BAEL-3143
BAEL 3143
2019-11-01 23:49:50 -05:00
Eric Martin 33d819efee Update JavaScannerUnitTest.java 2019-11-01 23:48:07 -05:00
Martin van Wingerden 0e23f2e682 [BAEL-3392] Formatted code examples for [BAEL-3392] 2019-11-01 09:24:05 +01:00
Eric Martin 3225470df5 Merge pull request #8125 from eugenp/revert-8119-BAEL-3275-2
Revert "BAEL-3275: Using blocking queue for pub-sub"
2019-10-31 20:43:47 -05:00
Laurentiu 7aa0cef657 BAEL-3375 Working with Dates before Java 8 2019-10-31 21:18:02 +02:00
Alessio Stalla 0e3e7e9106 Merge branch 'master' into BAEL-16633 2019-10-30 23:09:06 +01:00
johnA1331 33998bdac8 Update README.md 2019-10-30 22:12:05 +08:00
vatsalgosar 7e61f39222 - Updated test names to reflect what it is testing 2019-10-30 00:07:04 +05:30
amit2103 7527a08f1d [BAEL-16045] - Moved code to core-java-exceptions 2019-10-27 20:45:01 +05:30
Alessio Stalla c499158763 Merge branch 'master' into BAEL-16646-2 2019-10-24 13:20:08 +02:00
Jonathan Cook d17e102e39 Update README.md 2019-10-13 23:40:45 +02:00
Nick 6cd385e4c0 New unit test format 2019-08-30 21:11:18 +01:00