Commit Graph

1512 Commits

Author SHA1 Message Date
mbarriola 70283b1191 Bael 5066 aggregate over multiple fields (#11156)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key

* Aggregation of multiple attributes of a grouped result
2021-08-22 22:57:09 +02:00
kwoyke 73cef3bfa9 Merge pull request #11137 from Maiklins/JAVA-5950-Reduce_size_of_core-java-os
JAVA-5950 Reduce size of core-java-os.
2021-08-18 13:40:00 +02:00
mikr a9ae125165 JAVA-5950 Reduce size of core-java-os. 2021-08-18 12:35:08 +02:00
johnA1331 e41935bb7c Update README.md 2021-08-18 13:11:58 +08:00
johnA1331 f01a4b4d40 Update README.md 2021-08-18 13:10:05 +08:00
kwoyke e2b8acdc2e Merge pull request #11123 from hkhan/JAVA-6221-fix-TimeApi-unit-test
[JAVA-6221] Fix TimeApi unit test
2021-08-17 18:58:46 +02:00
Haroon Khan 6f11290160 [JAVA-6221] Test clean up 2021-08-17 12:12:55 +01:00
mikr 357a6e1ea8 JAVA-5948 Reduce size of core-java. Remove input.txt (unused). 2021-08-17 10:36:59 +02:00
mbarriola 640f0d6dde Java 5065 (#11126)
* Commit source code to branch

* BAEL-5065 improvement of groupBy with complex key
2021-08-16 23:43:53 +02:00
Ashish Gupta 7caefe62b7 Update EmailValidationUnitTest.java 2021-08-16 11:58:55 +05:30
Ashish Gupta e817cffca0 Update EmailValidationUnitTest.java 2021-08-16 11:51:31 +05:30
Ashish Gupta 6d75bb0cc1 Update EmailValidation.java 2021-08-16 11:50:58 +05:30
Ashish Gupta 500eb2ef90 Merge branch 'eugenp:master' into master 2021-08-16 11:49:48 +05:30
Jonathan Cook 75cdfa2e37 Merge pull request #11101 from Saber-k/master
[BAEL-5041] Validate String as file name in Java
2021-08-15 07:43:49 +02:00
Haroon Khan f9dc97d25e [JAVA-6221] Fix TimeApi unit test 2021-08-13 19:02:15 +01:00
Mateusz Szablak c99989e599 [BAEL-5041] Validate String as file name in Java 2021-08-13 09:36:54 +02:00
johnA1331 58723823d3 Update README.md 2021-08-11 11:33:49 +08:00
Greg d594c571f5 Merge pull request #11013 from tirumani03/dev/tirumani03/exceptionsInConstructor
[BAEL-4990] Throwing exceptions in constructor
2021-08-10 14:32:17 -04:00
Ashish Gupta 0d22a1fdee Add files via upload 2021-08-07 12:38:09 +05:30
Ashish Gupta 6b7dcdf847 Add files via upload 2021-08-07 12:34:38 +05:30
Ashish Gupta dcf8b902dc Update pom.xml 2021-08-07 12:33:12 +05:30
mbarriola b623297829 Core java 12 improvements (#11090)
* Commit source code to branch

* Fix to BAEL-5072
Change package definition and implementation of compactValues junit

* BAEL-5053 Compare file contents
2021-08-05 21:50:37 +02:00
freelansam 32dde5b5d1 JAVA-6475: Fix formatting of POMs (#11087)
* JAVA-6475: Fix formatting of POMs

* correct build error
2021-08-03 00:27:15 +05:30
johnA1331 8ebcfd7eb9 Update README.md 2021-07-29 03:40:30 +08:00
freelansam 232cef9d35 JAVA-3297: Cleanup un-committed or un-ignored artifacts (#11068) 2021-07-29 00:10:18 +05:30
freelansam 5470ccfb97 JAVA-6474/JAVA-6324: Align module names, folder names and artifact id (#11071)
* JAVA-6474/JAVA-6324: Align module names, folder names and artifact id
(template)

* JAVA-6474/JAVA-6324: revert changes for guest modules
2021-07-28 20:10:03 +05:30
mdabrowski-eu 54f85ac6cd BAEL-4814 Bitmasking in Java with Bitwise Operators (#11069) 2021-07-26 10:58:35 +02:00
doodoroma eef71ba53c Merge pull request #11034 from KarthickSridhar/article_java_check_ip_is_in_given_range
[BAEL-4478] IP address is in given range or not using java
2021-07-25 07:44:32 +02:00
Karthick Sridhar dd4902e8da [BAEL-4478] IP address is in given range or not using java 2021-07-22 22:36:11 +05:30
johnA1331 16571f28c0 Update README.md 2021-07-22 01:32:41 +08:00
johnA1331 ddb8d5202c Update README.md 2021-07-22 01:30:44 +08:00
johnA1331 9709c690e2 Update README.md 2021-07-22 01:28:15 +08:00
Kai Yuan b848bfead3 add Phaser implementations (#11051) 2021-07-20 22:17:19 -05:00
Ahwin Oghenerukevwe 4524fbf9e3 BAEL-4143: sample usages of @SuppressWarnings warning names (#11021)
Co-authored-by: oahwin <oahwin@getcarbon.co>
2021-07-19 07:31:25 +02:00
Ali Dehghani 81fddd7bc3 BAEL-4233: Why doesn't a missing annotation cause a ClassNotFoundException at runtime? (#11024) 2021-07-18 10:43:45 -05:00
Remy Ohajinwa d387500d53 BAEL-5013 Convert String to Camel Case (#10947)
* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Test cases

* BAEL-5013 Convert to String solutions

* BAEL-5013 convert to camel case using regex

* BAEL-5004 Fixed overflow issues for Large numbers

* BAEL-5013 Convert to Camel Case using Regex

* BAEL-5013 Review changes

* BAEL5013 cleanup

* BAEL5013 review changes

* BAEL5013 continuation index to 2 spaces

* BAEL-5013 fixed test failure

* BAEL-5013 Review changes

Co-authored-by: Remy Ohajinwa <remy.ohajinwa@interswitchgroup.com>
2021-07-18 10:41:05 +01:00
kwoyke 978bf7f543 JAVA-6348: Properly ignore a unit test (#11031)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-15 22:39:30 +05:30
Loredana Crusoveanu 44f16e3ea6 Merge pull request #11035 from johnA1331/master
BAEL-38061 - add links to github-baeldung articles
2021-07-15 09:16:18 +03:00
Azhwani 48bef2c797 BAEL-4969: Improvement: Streams to Immutable Collections (#11026)
* add new module for java core 16

* format pom.xml
2021-07-14 21:18:47 -07:00
Ali Dehghani 0a3c6a675d BAEL-5026: Improvement for Write an InputStream to a File (#11018) 2021-07-14 21:45:36 -05:00
johnA1331 471ff477bd Update README.md 2021-07-14 21:56:30 +08:00
johnA1331 3a8f5407c8 Update README.md 2021-07-14 21:52:59 +08:00
johnA1331 b3015ed6e0 Update README.md 2021-07-14 21:51:34 +08:00
johnA1331 66b9668e7e Create README.md 2021-07-14 21:48:12 +08:00
Greg e056bc4f34 Merge pull request #10917 from amitiw4u/BAEL-4960-StringToBigInt
Bael 4960 string to big int
2021-07-11 16:37:26 -04:00
Daniel Strmecki 4f3f287923 Feature/bael 4911 tiered compilation (#10958)
* BASE-4911: Tiered Compilation Initial Commit

* BASE-4911: Use Generics
2021-07-11 14:18:10 +01:00
Amitabh.Tiwari 218f67ef4c Added changes as per review 2021-07-11 12:15:12 +05:30
anmoldeep0123 37db34cb8a BAEL-4933 | Differences between static classes and the singleton pattern in Java (#11014)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4933 | Differences between static classes and the singleton pattern in Java

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-07-09 11:27:55 +02:00
kwoyke 1910561a54 JAVA-5986: Cleanup pom.xml files (#11010)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-09 08:43:41 +05:30
Sarath d77187d33d [BAEL-4990] Throwing exceptions in constructor 2021-07-08 17:31:45 +05:30
johnA1331 1cd9efa35c Update README.md 2021-07-07 23:27:01 +08:00
johnA1331 84d61f69f2 Update README.md 2021-07-07 23:24:39 +08:00
devanshtrivedi5 bd4beba1f0 Grouping by collector java (#11001)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId

* removed gitignore and README.md
Converted spaces to tabs and reformatted code

* removed gitignore and README.md

* used baeldung formatter
2021-07-06 22:30:22 -07:00
kwoyke dee85d33c1 BAEL-5015: Add Java 9 example for readAllBytes (#10999)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-07-06 16:54:57 +02:00
devanshtrivedi5 2e6ba6c3a1 Grouping by collector java (#10986)
* Initial Commit - Ports and Adapters

* Restructured code to implement input and outbou ports and adapters

* Added tests for groupingBy Collector

* Revert "Initial Commit - Ports and Adapters"

This reverts commit 55152dea

* Added tests for groupingBy Collector

* reverting

* corrected typo

* used BDD naming strategy for tests

* Added a test for groupingByConcurrent

* added new module and package

* added core-java-streams-4 module in main pom.xml

* updated pom.xml and changed artifactId
2021-07-04 15:51:55 -07:00
Kai Yuan 8011badd12 2 threads start at the same time (#10972)
* 2 threads start at the same time

* remove blank leading/trailing lines
2021-07-03 11:51:44 -05:00
ashleyfrieze d1d9ada490 BAEL-5025 Example code for camel case to words (#10964) 2021-07-03 11:43:55 -05:00
johnA1331 d4a715e78c Update README.md 2021-07-02 05:45:00 +08:00
johnA1331 0a7e167bdf Update README.md 2021-07-02 05:40:28 +08:00
johnA1331 07f6efa261 Update README.md 2021-07-02 05:39:01 +08:00
johnA1331 817c2a6e84 Update README.md 2021-07-02 05:36:03 +08:00
johnA1331 dfa8224dfe Update README.md 2021-07-02 05:34:38 +08:00
johnA1331 1aba5c12a7 Update README.md 2021-07-02 05:30:22 +08:00
johnA1331 7df7443e68 Update README.md 2021-07-02 05:29:15 +08:00
Diego Torres 0d722c1d90 [uuid] diegotorres/dtorres.py@gmail.com Improvements for UUIDv5 generation (#10978)
* [uuid] Added method to generate UUID identifiers for version 5

Signed-off-by: Diego Torres <dtorres.py@gmail.com>

* [uuid] Small improvements for UUIDv5 generation

Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-29 10:46:32 +02:00
Amitabh.Tiwari 67f11db211 Corrected the tests 2021-06-28 18:57:48 +05:30
Greg 5f37e9c11f Merge pull request #10889 from MajewskiKrzysztof/BAEL-4269
BAEL-4269 3DES in Java
2021-06-27 12:53:51 -04:00
Jonathan Cook f808407f8f Merge pull request #10944 from thomasduxbury/BAEL-4986
BAEL-4986: Private constructors in Java
2021-06-27 12:59:44 +02:00
mdhtr a4158fd1ed Add examples (#10961) 2021-06-26 18:10:43 -07:00
singhalak11 372b25ec8f JAVA-4987: Logical & Bitwise OR operator (singhalak11) (#10823)
* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987: Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator

* JAVA-4987 Logical & Bitwise OR operator
2021-06-26 13:27:56 +01:00
Jonathan Cook 44165b93d4 Merge pull request #10914 from dev-chirag/bael4235
Bael4235 How to find number of threads in a Java process
2021-06-25 17:56:20 +02:00
Diego Torres f66bfa5088 [uuid] Added method to generate UUID identifiers for version 5 (#10948)
Signed-off-by: Diego Torres <dtorres.py@gmail.com>
2021-06-24 22:10:31 +02:00
Loredana Crusoveanu dd0f82cc71 Merge pull request #10955 from johnA1331/master
BAEL-37190 - add links to github-baeldung articles
2021-06-24 09:55:55 +03:00
anmoldeep0123 c52cb1eaf3 BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])? (#10903)
* BAEL-4220 | A Guide to IllegalAccessError and when it happens

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | fix tests

* BAEL-4220 | A Guide to IllegalAccessError and when it happens | BDD test names

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

* BAEL-4494 | .toArray(new MyClass[0]) or .toArray(new MyClass[myList.size()])?

Co-authored-by: root <anmoldeep0123@gmail.com>
2021-06-24 06:36:23 +02:00
johnA1331 562d020f71 Update README.md 2021-06-24 04:05:06 +08:00
Amitabh.Tiwari b7f31513f8 Corrected test as per review comments 2021-06-23 10:22:35 +05:30
Thomas Duxbury c86d0e7e0a BAEL-4986: Replacing Sys logs with comments 2021-06-21 23:18:47 +01:00
Thomas Duxbury a75cc22181 –BAEL-4986: Private constructors in Java 2021-06-21 23:18:34 +01:00
Krzysztof Woyke 2c7f52fa0b JAVA-5710: Fix expected Java version 2021-06-21 08:44:17 +02:00
Mainak Majumder 8baaa76e71 code for baeldung article (#10875)
* Application source code for the Baeldung article "HTTP PUT vs POST
method in REST API"

* update indention in pom file, update code in Address class

* update indention

* rename application

* update pom

* source code for article "Connection timeout vs read timeout"

* Update TcpServerSocket.java
2021-06-20 21:03:52 -05:00
kwoyke 36c81e8654 JAVA-5926: Fix core-java-jpms setup (#10930)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-18 19:51:18 +05:30
johnA1331 33e89f8692 Update README.md 2021-06-17 01:03:50 +08:00
johnA1331 35187f7265 Update README.md 2021-06-17 01:01:39 +08:00
johnA1331 40ae200818 Update README.md 2021-06-17 00:54:50 +08:00
johnA1331 eb8893b943 Create README.md 2021-06-17 00:52:51 +08:00
johnA1331 46b06811fb Update README.md 2021-06-17 00:51:09 +08:00
dev-chirag 830940fac9 BAEL4235 FindNumberOfThread class 2021-06-15 23:51:57 +05:30
dev-chirag f656c61903 BAEL4235 FindNumberOfThread class 2021-06-15 23:48:24 +05:30
Amitabh.Tiwari 625676f7cb Removal of unwanted spaces 2021-06-15 20:13:37 +05:30
Amitabh.Tiwari 8090117cb6 BAEL-4960: Test for conversion 2021-06-15 20:09:17 +05:30
Greg 3bf486a4dd Merge pull request #10769 from vikasrajput6035/BAEL-4936
BAEL-4936: Completed article Abstract class vs Interface with default method
2021-06-14 12:02:05 -04:00
Greg e2b035feca Merge pull request #10797 from KarthickSridhar/article_javadoc_method_reference
[ BAEL-4254 ]  Referencing a method in JavaDoc comment.
2021-06-14 11:52:02 -04:00
freelansam f0d9004fdd BAEL-4983: Update article "Calling SOAP service in Java" (#10898) 2021-06-13 15:04:40 -07:00
Jonathan Cook ba0d3c7dc9 Merge pull request #10810 from Saber-k/master
BAEL-4402 Java: Path vs File
2021-06-13 13:23:30 +02:00
Eric Martin 0fca8e3aea Merge pull request #10859 from bradhandy/master
Unit tests for non-capturing groups.
2021-06-12 09:52:23 -05:00
kwoyke f318cd05d9 BAEL-5000: Add split String by newlines examples (#10881)
* BAEL-5000: Add split String by newlines examples

* BAEL-5000: Exclude core-java-string-operations-3 from persistence-modules

* BAEL-5000: Update tests

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-06-12 14:23:37 +02:00
bhandy be18bad873 Moving NonCapturingGroupUnitTestjava to new core-java-regex-2 module. 2021-06-12 00:25:19 -04:00
Vikas Ramsingh Rajput c3563566f8 BAEL-4936: converted multiline code to one liner, also changed names of unit test methods 2021-06-11 19:55:03 +05:30
Karthick S b75e06c175 BAEL-4254 JavaDoc method reference example classes 2021-06-11 19:33:04 +05:30
LiamGve 541faa3a97 BAEL-4991 added in code for Java 9 private method introduction (#10884)
* BAEL-4991 added in code for Java 9 private method introduction

* BAEL-4991 added unit tests for java 9 private methods in interface article

Co-authored-by: Liam Garvie <liamgarvie@Liams-MacBook-Pro.local>
2021-06-09 09:31:16 -07:00