Commit Graph

1347 Commits

Author SHA1 Message Date
Jonathan Cook 5c03fa6f4e Merge pull request #10716 from KarthickSridhar/article_interface_vs_abstract_class
[ BAEL-4935 ] - Article - Interface vs Abstract Class in Java
2021-05-13 10:42:51 +02:00
Sarath 29552100ca [BAEL-4279] Formatting 2021-05-13 13:11:38 +05:30
Karthick S f279751466 package name - removed underscores 2021-05-13 11:06:09 +05:30
Greg e24d787fb1 Merge pull request #10730 from hmdrzsharifi/master
bael-4909: Getting Java Version at Runtime
2021-05-12 16:12:19 -04:00
sharifi 3cb6624aa6 bael-4909: update test case 2021-05-12 08:41:27 +04:30
kwoyke 1702cfc4a1 BAEL-4950: Use our S3 to host test file (#10752)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-05-11 14:48:41 +02:00
Dasun Nirmitha 76e45f3b08 Update IgnoringPatternMetacharactersUnitTest.java
Implemented improvements suggested by Editor.
2021-05-10 14:54:53 +05:30
root 10b8125b09 BAEL-4878 | How to split a string, but also keep the delimiters? | moved src 2021-05-09 20:25:34 +00:00
Daniel Strmecki 2c5bd5e207 BAEL-4876: Add more data 2021-05-09 20:29:29 +02:00
Daniel Strmecki 86c36061c9 BAEL-4876: Add more benchmarks 2021-05-09 11:41:35 +02:00
Amy DeGregorio d75f672e85 BAEL-4925 (#10746)
* BAEL-4925

* BAEL-4925
2021-05-08 18:35:48 -07:00
Karthick S 369c5bae80 PR review changes 2021-05-08 12:56:53 +05:30
Karthick S 6a05a88066 PR review changes 2021-05-08 12:31:44 +05:30
Sarath 4bc42f14a9 [BAEL-4279] Finding All Classes in a Java Package 2021-05-08 02:29:00 +05:30
sampadawagde 5a33b2c3ba JAVA-5223: clean up 2021-05-07 22:56:08 +05:30
root 656d3a9ad7 BAEL-4878 | How to split a string, but also keep the delimiters? 2021-05-06 18:38:50 +00:00
sampadawagde db5991efb9 JAVA-5223: Fix formatting of POMs (Part 5) 2021-05-06 22:41:38 +05:30
sampadawagde f245635a24 JAVA-5223: Fix formatting of POMs (Part 4) 2021-05-06 22:27:07 +05:30
sampadawagde f3e71d70ad JAVA-5223: Fix formatting of POMs (Part 3) 2021-05-06 19:53:35 +05:30
sampadawagde 612752f52e JAVA-5223: Fix formatting of POMs (Part 2) 2021-05-06 18:01:55 +05:30
sharifi 9a2b779e5f bael-4909: update @Disabled comments 2021-05-06 15:56:37 +04:30
johnA1331 9edba11a4c Update README.md 2021-05-05 22:36:10 +08:00
sharifi cb17634fd6 bael-4909: add unit test 2021-05-05 09:50:45 +04:30
Daniel Strmecki bce6207f03 BAEL-4876: Add benchmark 2021-05-03 19:43:16 +02:00
Daniel Strmecki b0ade9d58b BAEL-4876: Use Java 8 API 2021-05-03 11:52:32 +02:00
Daniel Strmecki d160a09b01 BAEL-4876: Parallel stream examples added 2021-05-03 11:18:02 +02:00
kwoyke f7c7ac9b89 BAEL-4948: Rename JsonSerializerUnitTest to the ObjectToJsonConverterUnitTest (#10710)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-04-30 07:36:40 +02:00
kwoyke 344dac3835 BAEL-4944: Update code samples for the Removing all duplicates from a List in Java (#10717)
Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-04-30 07:31:17 +02:00
Eric Martin 3b15e86fe6 Merge pull request #10693 from sk1418/joinArray
[BAEL-4918] concat Arrays in java
2021-04-29 21:38:00 -05:00
Karthick S c67a7e31c1 Interface vs Abstract Class in Java 2021-04-29 11:01:23 +05:30
johnA1331 33cd02183e Update README.md 2021-04-29 05:49:08 +08:00
johnA1331 b6fe075fc9 Update README.md 2021-04-29 05:39:53 +08:00
johnA1331 768562b1ce Update README.md 2021-04-29 05:28:32 +08:00
johnA1331 a852c9d75c Update README.md 2021-04-29 05:23:12 +08:00
Karthick S f107a2d2fc Interface vs Abstract Class in Java 2021-04-28 22:05:52 +05:30
Dasun Nirmitha 0fbcc6fe5e Create IgnoringPatternMetacharactersUnitTest.java
BAEL-4881 Understanding the Pattern.quote method
2021-04-28 21:44:19 +05:30
kwoyke f77b9bee84 Merge pull request #10708 from Maiklins/JAVA-4583-Fix_failing_tests_in_the_tutorials-default-jdk9-and-above_job
JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job
2021-04-28 13:39:23 +02:00
ashleyfrieze 8b643c8402 Squashed commit of the following: (#10709)
commit 2347e8b21b0d33391e9cb4e79e146756cadfe322
Author: ashleyfrieze <ashley@incredible.org.uk>
Date:   Tue Apr 27 21:40:33 2021 +0100

    Minor tweak to pom

commit 0497a9e3e88e9000d335976f311b5e8c1e10675b
Merge: a7cf36704b 35cc00b59a
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:27:13 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit a7cf36704bbf94a0afa5a9f46969f8e9774ca683
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Mon Apr 26 20:25:47 2021 +0200

    BASE-4502: Update POM

commit 86bfe45c4850c31d1505f4bb7a638a3f06621062
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 20:32:35 2021 +0200

    BASE-4502: Revert POM changes and comment out JDK9+ code

commit b538d1cc19c54c0b9ad9022b94fd066603836e26
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:42:47 2021 +0200

    BASE-4502: Change parent

commit f608783de5f5ee3eda6f2da25d10598327c5aa0f
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:38:00 2021 +0200

    BASE-4502: Maven compiler version

commit f15f2b84478b45a7740d78316bec9c253235adf6
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Apr 25 16:13:05 2021 +0200

    BASE-4502: Compile to Java 11

commit 79e780667ca2745198a13b227984e691e4575955
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 24 08:53:53 2021 +0200

    BASE-4502: wrong case

commit fca2515c41f653ca735af73e659fb2735b455ce2
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:32:59 2021 +0200

    BASE-4502: Add space

commit 0407a1e40980763f13be598224df5403a12fb8c1
Merge: 54f11d5f05 5621594056
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:24:57 2021 +0200

    Merge remote-tracking branch 'origin/feature/BAEL-4502-compile-time-const' into feature/BAEL-4502-compile-time-const

    # Conflicts:
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/ClassConstants.java
    #	core-java-modules/core-java-lang-4/src/main/java/com/baeldung/compiletimeconstants/CompileTimeVariables.java

commit 54f11d5f05aef35b9835ea1e2689be0f6e4bcd82
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 10 11:23:12 2021 +0200

    BASE-4502: PR comments and annotation example

commit 5621594056bc97f7b2ab7a70e5cf1abcc8ef35a4
Author: daniel.strmecki <daniel.strmecki@ecx.io>
Date:   Sun Apr 4 12:43:17 2021 +0200

    BAEL-4502: Remove unused examples

commit b11077e79bf92bcfd6748361e7eb66bcfb20ab06
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sat Apr 3 11:14:29 2021 +0200

    BASE-4502: Update examples

commit 9fea197cd6b5f471bcda4331b722ae308e30b507
Merge: f6e1f2fc46 b7cbb5428d
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:41:46 2021 +0200

    Merge branch 'master' into feature/BAEL-4502-compile-time-const

commit f6e1f2fc467949f66eba441bb98f75f8d69c09b8
Author: Daniel Strmecki <daniel.strmecki@gmail.com>
Date:   Sun Mar 28 17:40:31 2021 +0200

    BASE-4502: Compile time examples
2021-04-27 22:08:10 +01:00
mikr baecf2cfc3 JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-27 22:52:13 +02:00
mikr f3917fdc9b JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-27 10:34:49 +02:00
Greg 31b48566d3 Merge pull request #10643 from mdhtr/mdhtr/BAEL-4179_primitive_to_object_array
BAEL-4179 Cast primitive type array into object array in java
2021-04-26 09:22:26 -04:00
Amitabh.Tiwari 1f3cf7ccc3 Correct the print statment 2021-04-25 08:41:07 +05:30
Amitabh.Tiwari 3c65d2e8e7 Added changes to demonstrate max array size 2021-04-24 16:16:26 +05:30
Kent@lhind.hp.g5 36b21f7116 [BAEL-4918] concat Arrays in java 2021-04-23 19:33:57 +02:00
MeenaGawande cbb5548525 [BAEL-4296] Handling InterruptedException in Java (#10677)
[BAEL-4296] Handling InterruptedException in Java

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-04-21 20:54:36 -05:00
Eric Martin 76c1b7c0fd Merge pull request #10507 from vatsalgosar/BAEL-4702
BAEL 4702
2021-04-21 17:38:03 -05:00
johnA1331 77ba64179a Update README.md 2021-04-21 23:47:20 +08:00
johnA1331 ac8a68f767 Update README.md 2021-04-21 23:39:47 +08:00
davidmartinezbarua 73d1e79f8f Merge pull request #10636 from wnoizumi/BAEL-4877
code samples for issue BAEL-4877
2021-04-14 16:05:49 -03:00
johnA1331 5289757de7 Update README.md 2021-04-14 23:46:43 +08:00
johnA1331 e23aaae534 Update README.md 2021-04-14 23:40:01 +08:00
Loredana Crusoveanu 70f1967c28 Merge pull request #10654 from Maiklins/JAVA-4583-Fix_failing_tests_in_the_tutorials-default-jdk9-and-above_job
Java 4583 fix failing tests in the tutorials default jdk9 and above job
2021-04-14 13:52:34 +03:00
mikr d788363e65 JAVA-4583 Fix failing tests in the tutorials-default-jdk9-and-above job 2021-04-13 15:45:01 +02:00
Joyal K Augustine 45b8a5d399 BAEL-4199 : package-info-java (#10637)
* BAEL-4199 : package-info-java

* BAEL-4199: Removing entry from readme

* BAEL-4199: Addressing review comments
2021-04-12 22:21:20 -05:00
Eric Martin 7416e437fc Merge pull request #10629 from SmartyAnsh/BAEL-4786_NIO_DatagramChannel
BAEL-4786 - DatagramChannel
2021-04-11 08:35:15 -05:00
mdhtr d52775ff98 Add examples 2021-04-10 15:17:31 +02:00
freelansam 60b6c6e6b6 Merge branch 'master' into JAVA-3576 2021-04-10 16:21:13 +05:30
mdhtr daea725097 Create new module 2021-04-09 11:31:49 +02:00
Anshul BANSAL d7577d2601 BAEL-4786 - review comments - removed close method 2021-04-07 13:20:24 +03:00
Willian Oizumi b37e11f2cb code samples for issue BAEL-4877 2021-04-05 16:54:01 -03:00
Anshul BANSAL 93487b6c61 BAEL-4786 - DatagramChannel - review fix 2021-04-05 06:14:08 +03:00
sampadawagde 7cbf13db95 JAVA-3576 - Align module names, folder names and artifact id 2021-04-02 22:46:25 +05:30
Krzysztof Woyke 63e5a2dad0 JAVA-3596: Clean up exec-maven-plugin config 2021-04-02 15:43:27 +02:00
Krzysztof Woyke 429108b62b JAVA-3578: Fix README.md files 2021-04-01 20:01:45 +02:00
Loredana Crusoveanu 53eedb7ad5 Merge pull request #10614 from kwoyke/JAVA-3578
JAVA-3578: Sub-modules cleanup (pom.xml)
2021-04-01 18:46:22 +03:00
Loredana Crusoveanu 2860ccbf64 Merge pull request #10613 from johnA1331/master
BAEL-33794 - add links to github-baeldung articles
2021-04-01 18:29:28 +03:00
Krzysztof Majewski 9706d7b6fd Bael 4485 (#10612)
* BAEL-4485 RSA in Java

* BAEL-4485 RSA in Java

* BAEL-4485 RSA in Java

Co-authored-by: majewsk6 <krzysztof.majewski.km1@contractors.roche.com>
2021-03-31 13:52:31 -07:00
johnA1331 ce0b69e6fa Update README.md 2021-04-01 00:25:10 +08:00
johnA1331 3693d2ea0b Update README.md 2021-04-01 00:16:07 +08:00
Krzysztof Woyke f0dd323c50 JAVA-3578: Verify sub-modules - core-java-modules 2021-03-30 20:55:52 +02:00
Krzysztof Woyke 0ae1bfedde JAVA-4931: Cleanup surefire config. Part 2. 2021-03-29 18:57:35 +02:00
Krzysztof Woyke 089da70fb0 JAVA-4931: Cleanup surefire config 2021-03-29 15:22:10 +02:00
Loredana Crusoveanu d3317c4963 Merge pull request #10584 from kwoyke/JAVA-3295
JAVA-3295: POM Properties Cleanup
2021-03-29 14:57:35 +03:00
Loredana Crusoveanu 4879da3f3c Merge pull request #10576 from kwoyke/JAVA-3595
JAVA-3595: Upgrade jmh-core and jmh-generator dependencies in the main pom.xml
2021-03-29 14:37:34 +03:00
Eric Martin 90f71a5d5b Merge pull request #10551 from SmartyAnsh/BAEL-4790_Collection_vs_Stream
BAEL-4790 - Stream vs Collection
2021-03-25 20:30:30 -05:00
unknown 60af7e8443 BAEL-4702 Refactoring 2021-03-26 03:51:41 +05:30
unknown 4bb429ef5b BAEL-4702 Refactoring 2021-03-24 17:24:52 +05:30
unknown d954c180e5 BAEL-4702 Added code snippet for System.lineSeparator() method 2021-03-24 17:22:44 +05:30
Krzysztof Woyke df93a6b9e6 JAVA-3295: Use project.build.sourceEncoding and project.reporting.outputEncoding from the main pom.xml 2021-03-24 09:37:43 +01:00
Ashley Frieze 99bb67a413 BAEL-4583-Generic-arrays-streams 2021-03-23 09:17:57 +00:00
Krzysztof Woyke df68287728 JAVA-3595: Use jmh version defined in the parent pom.xml 2021-03-21 23:06:03 +01:00
MeenaGawande ce9f112ed6 [BAEL-4208]java compiled classes contain dollar signs (#10573)
Updated Anonymous classes methods

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-03-21 18:43:22 +01:00
Anshul BANSAL 7078630760 BAEL-4790 - collection vs stream 2021-03-21 10:35:34 +02:00
kwoyke ce2e455d58 JAVA-3594: Upgrade esapi dependency in the main pom.xml (#10572)
* JAVA-3594: Upgrade esapi version in the main pom.xml

* JAVA-3594: Remove overriden esapi.version from the core-java-jvm

* JAVA-3594: Use esapi.version property instead of the hardcoded version in spring-5-security

Co-authored-by: Krzysztof Woyke <krzysztof.woyke.sp@lhsystems.com>
2021-03-19 22:39:41 +05:30
johnA1331 a550caa25c Update README.md 2021-03-17 23:05:02 +08:00
Eric Martin 74aebe1a62 Merge pull request #10542 from sk1418/threadPool
shutdown the pool
2021-03-13 14:00:26 -06:00
Eric Martin 14aac09d18 Merge pull request #10509 from dstr89/feature/BAEL-4618-final-performance
Feature/bael 4618 final performance
2021-03-13 08:49:59 -06:00
kwoyke 639ac629cd BAEL-4835: Initialize test data (#10548) 2021-03-12 16:34:29 +01:00
Anshul BANSAL 9928946793 BAEL-4790_examples 2021-03-11 21:39:09 +02:00
Daniel Strmecki 4e88e662f6 BASE-4618: Use space 2021-03-11 11:28:49 +01:00
Loredana Crusoveanu c9bc95a5e2 Merge pull request #10546 from johnA1331/master
BAEL-32619 - add links to github-baeldung articles
2021-03-11 10:04:18 +02:00
MeenaGawande 13970d355b [BAEL-4208] Java compiled classes contain dollar signs (#10533)
Java class file naming conventions

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-03-11 07:44:57 +01:00
johnA1331 8c86197317 Update README.md 2021-03-10 21:14:40 +08:00
Kent@lhind.hp.g5 8a11b92f46 shutdown the pool 2021-03-08 22:09:23 +01:00
mdhtr fc5d08d3f6 BAEL-3938: Add new section on Java 10 Collectors.toUnmodifiableList() (#10488)
* Add java10 examples in the style of the existing examples

The existing examples in core-java-streams-2 module still had system out in them instead of assertions, so I kept that style to keep the article consistent.

* Remove code example that is not in the article
2021-03-07 22:51:30 +00:00
Daniel Strmecki c8b3ecbd36 BASE-4618: Use JMH benchmark tool 2021-03-06 10:00:01 +01:00
Daniel Strmecki f0ee9ddf02 BASE-4618: Add new module 2021-03-06 09:02:04 +01:00
Loredana Crusoveanu ab0cef67fb Merge pull request #10540 from johnA1331/master
BAEL-32618 - add links to github-baeldung articles
2021-03-04 16:57:19 +02:00
kwoyke 33dd080745 BAEL-4832: Fix Guava example (#10541)
* BAEL-4832: Fix Guava example

* BAEL-4832: Fix imports
2021-03-04 13:00:09 +01:00
Bradley M Handy 6a117f9f3a BAEL-4384: Invoke a private method using reflection (#10470)
* - initial commit of sample code

* BAEL-4209:  Moving the localized exception module into core-java-exceptions-3.

* BAEL-4209: Removed the old files for localizing exception messages.

* Added test case to explain invoking a private method.

* Made the code example more useful so we don't look like we're hacking another framework.

* Forgot to make the test class and method package-private.

* Incorporated Spring ReflectionTestUtils into the code sample.

* Updated the Spring Test version to match the article.
2021-03-03 19:44:45 +00:00