Commit Graph

237 Commits

Author SHA1 Message Date
Andrey Shcherbakov 89e8d66def Java Primitives versus Objects (#4946)
* Add code for the article 'Java Primitives versus Objects'

* Use JMH for benchmarking the primitive and wrapper classes

* Uncomment the benchmarks and remove unused class

* Add Long/long to the benchmark

* Remove assertions from the benchmarks

* Add the java docs
2018-08-26 21:45:37 +03: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
amit2103 bab3a724c6 [BAEL-8434] - Moved java stream articles to java-streams module 2018-08-23 21:00:47 +05:30
Loredana Crusoveanu 8a9161701c
Update pom.xml 2018-08-20 23:12:04 +03: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
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
Dhawal Kapil 856ca42d23 BAEL-7636 Add the missing plugin versions in the tutorial repo
-Added missing plugin versions
2018-08-14 13:34:45 +05:30
Saikat 441de07ee6 [BAEL-1902] Set timezone of a date (#4659)
* Convert time in preferred time zone using Java 7, 8 and Joda-time

* Update the code as per review comments

* Incorporate review comments

* Incorporate review changes

* Use snippets from unit test only
2018-08-06 08:22:37 +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
amit2103 d268ffa5c9 [BAEL-7670] Added logback.xml in missing modules in src/main/resources 2018-08-05 18:40:49 +05:30
KevinGilmore 0cc05d9802
BAEL-1901 and BAEL-1555 add links (#4892)
* 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
2018-08-03 20:58:06 -05:00
fanatixan cc4ab484cc moved examples for 'removing all occurrences of an element from a list' to core-java-collections (#4878) 2018-08-02 08:59:55 +02:00
fanatixan 6e646bf0de Bael 2023 (#4851)
* bael-2023: removing all occurrences of a value from a list

* adjusting examples to match the article
2018-07-31 12:56:29 +02:00
Tonnix deb27c1e3b Added PR files for BAEL-2031 (#4844)
* Added source files for BAEL-2031

* Added test files for BAEL-2031
2018-07-29 17:07:16 +02:00
Felipe Santiago Corro a1ba371c73 add elements to list (#4814) 2018-07-26 22:19:03 +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
Eugen b70175da6b
Update README.md 2018-07-24 12:06:04 +03:00
Predrag Maric 717bd1d48d
BAEL-2018 Moved to core-java-collections (#4796) 2018-07-23 09:02:10 +02:00
Felipe Santiago Corro 2fec9da2d5 Overriding System time for testing (#4779)
* Overriding System time for testing

* Remove Joda Date Time examples
2018-07-22 22:36:51 +02:00
myluckagain 8f52c3f6d3 Bael 2018 (#4774)
* BAEL-2018

* Update Animal.java

* rename

* tests added

* generic type shorten
2018-07-21 18:23:02 +02:00
myluckagain 770e8b0219 BAEL-2018 (#4753)
* BAEL-2018

* Update Animal.java

* rename
2018-07-19 21:07:00 +02:00
Felipe Santiago Corro f68615d772 Copy list to another list examples (#4725) 2018-07-16 08:41:08 +02:00
Eugen Paraschiv 22b7cf7957 plugin cleanup 2018-07-15 09:51:16 +03:00
Eugen Paraschiv b3b91b990d plugin cleanup 2018-07-15 09:41:47 +03: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
Abhinayak Swar ed872e6118 BAEL-1897: Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day (#4615)
* abh.swar@gmail.com: Code check-in for article on Spring WebFlux
1. EmailWebClient is the client that subscribes to the data from WebFlux server
2. EmailGenerator generates one email per second randomly
3. EmailHandler and EmailRouter deal with handling of request of the subscriber
4. Email is the POJO for data transmitted by the server

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Added code and test to increment date by one day using java 8 and joda-time
- Added joda-time 2.10 dependency in pom.xml

* Revert "abh.swar@gmail.com: Code check-in for article on Spring WebFlux 1. EmailWebClient is the client that subscribes to the data from WebFlux server 2. EmailGenerator generates one email per second randomly 3. EmailHandler and EmailRouter deal with handling of request of the subscriber 4. Email is the POJO for data transmitted by the server"

This reverts commit 6254ad9

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Added code and test to increment date by one day using java.util.Calendar and ApacheCommons and unit tests for it
- Used properties for ${joda.version}
- Formatted the code using IntelliJ formatter
- Renamed DateIncrementerTest to DateIncrementerUnitTest
- Changed test method names to follow _given_when_then convention

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Removed unnecessary comment

* Code check-on for (http://jira.baeldung.com/browse/BAEL-1897) How to increment a Date by one day
- Corrected the order of parameters of assertEquals() method
2018-07-12 20:55:06 +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
Shubhra Srivastava ee98d7558c BAEL-1901: AssertJ Fix (#4660) 2018-07-08 12:42:56 -05:00
Shubhra Srivastava 387d93e905 BAEL-1901 Add hours to Date in Java (#4599)
* BAEL-1901 Add hours to Date in Java

* BAEL-1901 : Editor Review Changes

* BAEL-1901 using assertThat for assertions
2018-07-08 10:27:42 -05: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
Hai Nguyen 59277b4339 BAEL-1846: Java Image to Base64 String (#4600)
* BAEL-1846: Java Image to Base64 String

* Move from using main method to Junit test

* Update to use environment variables for testing

* reformat and add test file
2018-07-05 21:20:07 +02:00
rozagerardo 7e0d553340 * Added code for BAEL-1899 get start and end of a day (#4567) 2018-06-25 22:30:31 -07:00
KevinGilmore 3cab703646
BAEL-1801 README update (#4548)
* BAEL-1766: Update README

* BAEL-1853: add link to article

* BAEL-1801: add link to article
2018-06-24 21:13:54 -05:00
nguyennamthai b24dfc8976 Fix a division method mistake (#4488) 2018-06-16 10:16:37 -05: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
nguyennamthai 7e66e1b919 BAEL-1801 Add tests for unsigned arithmetic (#4442) 2018-06-10 21:44:29 -05:00
Chandra Prakash 7f2c4e5535 Added sample code for type inference. (#4443) 2018-06-10 12:26:03 -07:00
Amit Pandey 2e683411e2 Bael 4461 2 (#4409)
* Deleted md file as a conflict

* [BAEL-4461] - Fixed PMD violation

* [BAEL-4461] - Fixed PMD violation

* [BAEL-4461] - Ignore empty TC

* Fix Spring 5 tests
2018-06-05 13:35:55 +02:00
Tom Hombergs fb8224d8d4
Merge pull request #4367 from chrisoberle/master
BAEL-1786
2018-06-03 21:32:03 +02: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
Chris Oberle d683b370f6 refactor example 2018-05-30 07:48:42 -04:00
Chris Oberle 543c87fa70 initial import of source for BAEL-1786 2018-05-30 07:48:42 -04: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
myluckagain d98b696baa BAEL-1736 fix (#4271) 2018-05-22 12:56:17 +04:00
Shubhra Srivastava bdb937e68b BAEL 1748 - Optional - orElse() vs orElseGet() (#4240)
* Types of Bean Injection in Spring

* Changing config file name

* BAEL-1584 : Find an element in list

* Revert "Changing config file name"

This reverts commit d857db9f65b1cf89773348e3901385ce59d9e1f8.

* Revert "Types of Bean Injection in Spring"

This reverts commit e9efcb8e70f37e7488aa2371bb3ee62c676996f4.

* BAEL-1584 : Find an Element in Given List

* BAEL-1584 : Hashcode impl changed

* BAEL:1584 : ListIterator to Iterator change

* Method name refactoring

* BAEL 1748 - Optional OrElse vs OrElseGet

* BAEL-1748 Benchmark Runner
2018-05-15 11:20:55 -07:00
Ekaterina Galkina 4a81b13958 BAEL-1736 2018-05-12 18:10:42 +05: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
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