Commit Graph

1689 Commits

Author SHA1 Message Date
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
johnA1331 14b84f78f6 Update README.md 2021-03-03 20:52:42 +08:00
johnA1331 e6f7273954 Update README.md 2021-03-03 20:47:57 +08:00
johnA1331 be2be13672 Update README.md 2021-03-03 20:43:31 +08:00
Benedict Ayiko 4ab767bec2 BAEL-3439 - Add selector.wakeup() section (#10398)
* Add selector.wakeup() section

* Update SelectorTest.java

* Update core-java-modules/core-java-nio-2/src/test/java/com/baeldung/selector/SelectorTest.java

* Update SelectorTest.java

* Update and rename SelectorTest.java to SelectorUnitTest.java

* Update SelectorUnitTest.java

* Update and rename SelectorUnitTest.java to SelectorManualTest.java
2021-02-26 09:41:58 +01:00
Loredana Crusoveanu 7d0f63b213 Merge pull request #10518 from johnA1331/master
BAEL-32617 - add links to github-baeldung articles
2021-02-26 08:53:04 +02:00
Eric Martin b40ae6e80b Merge pull request #10511 from sk1418/deque_stack
deque vs. stack article
2021-02-25 22:05:29 -06:00
Eric Martin ad391e8c24 Merge pull request #10504 from alimate/BAEL-4765
BAEL-4765: Update "Java built-in Annotations" article
2021-02-24 19:07:11 -06:00
johnA1331 81096e08d4 Update README.md 2021-02-24 22:41:55 +08:00
Kent@lhind.hp.g5 300052acd4 deque vs. stack article 2021-02-23 12:16:32 +01:00
Daniel Strmecki ee65b0f8de BASE-4618: Remove unsed deps 2021-02-21 11:23:55 +01:00
Daniel Strmecki 8d8e1b43ca BASE-4618: Update class variable example 2021-02-21 11:18:05 +01:00
Eric Martin 4c8c9d2456 Merge pull request #10478 from sk1418/uncheckedCast
unchecked cast warning article
2021-02-20 16:40:01 -06:00
Daniel Strmecki 78a8d0bc77 BASE-4618: Class variable example 2021-02-20 18:13:18 +01:00
unknown bfca572d04 refactoring code snippets 2021-02-20 21:11:20 +05:30
unknown d1bbd3502b BAEL-4702
- Code snippets for split Java String by New line
2021-02-20 21:08:27 +05:30
Ali Dehghani e2e4165523 Fixed a typo 2021-02-19 17:06:57 +03:30
Ali Dehghani e5b7e9c81f Update "Java built-in Annotations" article 2021-02-19 17:01:58 +03:30
johnA1331 336ef8775d Update README.md 2021-02-18 04:31:49 +08:00
Dhawal Kapil 540ca5df0b JAVA-2395 Fixed compilation issue (#10496)
Co-authored-by: 13400152 <a13400152@MAC13400152.local>
2021-02-17 00:20:14 +05:30
13400152 fe69a3cb56 JAVA-2395 Fixed compilation issue 2021-02-16 23:59:11 +05:30
Daniel Strmecki 6733ed715b BASE-4618: Create new module, local variable example 2021-02-14 12:12:48 +01:00
Loredana Crusoveanu 8f9b48231f Merge pull request #10476 from johnA1331/master
BAEL-33158 - github-related test fix (03.02.2021)
2021-02-12 10:33:35 +02:00
bfontana 198d355ff4 Merge pull request #10433 from Saber-k/master
[BAEL-4214] Converting java.util.Properties to HashMap<String,String>
2021-02-11 23:41:37 -03:00
davidmartinezbarua 82023cf57a Merge pull request #10434 from MeenaGawande/master
[BAEL-4715] Java HashMap Load Factor
2021-02-11 11:06:19 -03:00
Kent@lhind.hp.g5 4dda5a1a7c unchecked cast warning article 2021-02-10 22:24:14 +01:00
johnA1331 92b4049195 Update README.md 2021-02-11 01:07:33 +08:00
Mateusz Szablak 0315847ad7 Update PropertiesToHashMapConverter.java 2021-02-10 00:40:55 +01:00
johnA1331 5d2087c711 Update README.md 2021-02-10 02:04:28 +08:00
johnA1331 15d247be80 Update README.md 2021-02-10 01:59:24 +08:00
johnA1331 25d4cd9222 Update README.md 2021-02-10 01:55:38 +08:00
johnA1331 0e93e2f779 Update README.md 2021-02-10 01:52:55 +08:00
johnA1331 d9fcd0de34 Update README.md 2021-02-10 01:49:18 +08:00
johnA1331 5ab8f0678f Update README.md 2021-02-10 01:46:38 +08:00
johnA1331 944c965952 Update README.md 2021-02-10 01:17:27 +08:00
Krzysiek 23ee2df79e JAVA-4395: Fix typo in addTagsOfOtherProduct method 2021-02-08 22:48:54 +01:00
bfontana b8e4a9a0b9 Merge pull request #10409 from rojyates/master
BAEL-4614 JVM property java.security.egd
2021-02-06 00:18:11 -03:00
Eric Martin 30e84898fd Merge pull request #10458 from sk1418/BAEL-4709_isAbstract
improvement
2021-02-05 16:53:11 -06:00
johnA1331 1bc84889aa Update README.md 2021-02-04 00:09:00 +08:00
johnA1331 3ff1ba2185 Update README.md 2021-02-04 00:03:53 +08:00
johnA1331 6f2e23e166 Update README.md 2021-02-03 23:59:04 +08:00
MeenaGawande a50cec2882 [BAEL-4715] Java HashMap Load Factor
Fixed HashMap creation and few entries
2021-02-02 11:25:34 +05:30
Kent@lhind.hp.g5 f5bb8ab648 improvement 2021-01-31 18:54:34 +01:00
Jonathan Cook 9ea990660e Merge pull request #10443 from dstr89/feature/BAEL-4535-overriding-compareTo
Feature/bael 4535 overriding compare to
2021-01-31 16:42:48 +01:00
Eric Martin b9664eb89b Merge pull request #10446 from SmartyAnsh/BAEL-4499-bad-practices-with-sync
BAEL-4499 - Synchronization bad practice and solution example
2021-01-30 20:50:13 -06:00
Eric Martin 64121f0c79 Merge pull request #10440 from sk1418/BAEL-2517_unchecked_conversion
BAEL-2517
2021-01-28 20:15:21 -06:00
Usman Mohyuddin e8569d56b0 add file for constantpool (#10442)
* Create ConstantPool.java

add file for constantpool

* update the module with most relevant

update the module with most relevant
2021-01-25 15:09:58 -08:00
Anshul BANSAL 431442e3ca BAEL-4499 - Synchronization bad practice and solution example 2021-01-25 12:29:01 +02:00
Daniel Strmecki 51e2fe20b1 BASE-4535: Update examples for overriding compareTo 2021-01-24 16:37:24 +01:00
Daniel Strmecki 268fe2dfe6 BASE-4535: Example for overriding compareTo 2021-01-24 12:33:05 +01:00
Kent@lhind.hp.g5 0c54413807 BAEL-2517 2021-01-22 19:57:34 +01:00
johnA1331 093fb533fa Update README.md 2021-01-20 22:44:10 +08:00
MeenaGawande d3156e1034 [BAEL-4715] Java HashMap Load Factor
[BAEL-4715] Java HashMap Load Factor
2021-01-20 11:29:38 +05:30
Mateusz Szablak 'Saber-k 13d88f95af Merge branch 'master' of https://github.com/Saber-k/tutorials 2021-01-19 22:00:17 +01:00
Mateusz Szablak 'Saber-k 27c423c4e0 [BAEL-4214] Converting java.util.Properties to HashMap<String,String> 2021-01-19 21:44:54 +01:00
Mateusz Szablak 'Saber-k a41309f4c6 [BAEL-4214] Converting java.util.Properties to HashMap<String,String> 2021-01-19 21:40:10 +01:00
KevinGilmore dce6c4fe12 BAEL-4695: create and update README files (#10425) 2021-01-15 17:21:00 -06:00
Umang Budhwar 52db422b6c BAEL-4695 - Evaluating a Math Expression in Java (#10345)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.

* BAEL-4695 - Added code to evaluate math expressions.

* BAEL-4695 - Added test case for math function.

* BAEL-4695 Added consistent examples and entry in parent pom.

* BAEL-4695 - Added more examples
2021-01-14 17:04:00 -06:00
Loredana Crusoveanu 9f581af949 Merge pull request #10420 from kcacademic/BAEL-4759
Corrected the name of unit test to mark them as manual.
2021-01-14 12:00:49 +02:00
CHANDRAKANT Kumar 7e51af38d9 Corrected the name of unit test to mark them as manual. 2021-01-14 15:18:33 +05:30
johnA1331 5d14cdd746 Create README.md 2021-01-14 00:15:43 +08:00
johnA1331 3af803eb73 Update README.md 2021-01-14 00:11:46 +08:00
Loredana Crusoveanu 6564d4265a Merge pull request #10337 from MajewskiKrzysztof/BAEL-4750
BAEL-4750 Java 12 New Features
2021-01-11 12:00:01 +02:00
Eric Martin c2165fa4bc Merge pull request #10351 from SmartyAnsh/master
BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added
2021-01-09 20:53:53 -06:00
Anshul BANSAL adfede63ba BAEL-4472 - old file removed 2021-01-09 21:18:07 +02:00
Roger Yates d3c73637c2 BAEL-4614 JVM property java.security.egd 2021-01-09 07:54:57 +10:00
Krzysiek ba5343cab2 JAVA-3585: Use common commons-io.version property in all child modules 2021-01-07 20:42:57 +01:00
MeenaGawande 567e910903 [BAEL-4720] Java File.separator vs File.pathSeparator (#10330)
* [BAEL-4720] Java File.separator vs File.pathSeparator

Removed src code and modified junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Code formatting: Removed extra spaces in the code

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added more junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added new module core-java-io4 and moved the code from core-java-io3 module.

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-01-06 18:06:07 +00:00
Loredana Crusoveanu 0c1ccf3bf4 Merge pull request #10392 from kwoyke/JAVA-3586
JAVA-3586: Upgrade commons-lang3 dependency
2021-01-06 12:13:38 +02:00
johnA1331 eedd1fd70b Update README.md 2021-01-06 15:25:50 +08:00
johnA1331 cc6a351836 Update README.md 2021-01-06 15:23:20 +08:00
johnA1331 bfa1d207df Update README.md 2021-01-06 15:03:21 +08:00
Krzysztof Woyke d8c26b6adb JAVA-3586: Get rid of the overriden commons-lang3.version property 2021-01-04 23:01:41 +01:00
Krzysztof Woyke 3cb1b8536f JAVA-3586: Use commons-lang3.version property 2021-01-04 12:50:24 +01:00
Anshul BANSAL 2e0c29895a Merge branch 'master' of https://github.com/SmartyAnsh/tutorials 2021-01-03 22:53:18 +02:00
Anshul BANSAL bbdcf57afb BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00
Loredana Crusoveanu d04f47df10 Merge pull request #10371 from Maiklins/Java-2824-Fix-Tests-in-Java-9-and-above-modules
Java 2824 fix tests in java 9 and above modules
2021-01-02 14:16:06 +02:00
Daniel Strmecki 926f273a2d Feature/bael 4749 java 11 features (#10308)
* BAEL-4749: Added examples for Java 11

* BAEL-4749: Refactor test examples

* BAEL-4749: Refactor test examples 2

* BAEL-4749: Fix PR comments

* BAEL-4749: Update nestmates examples

* BAEL-4749: Use method reference in Predicate.not example

* BAEL-4749: Use String::isBlank in Predicate.not example

* BAEL-4749: Two space indents when continuing a line

* BAEL-4749: Two space indents when continuing a line (2)
2021-01-02 11:08:15 +00:00
mikr ad461edca2 JAVA-2824 Fix tests in Java 9 and above modules 2020-12-30 21:46:25 +01:00
kwoyke 078169109d BAEL-4755: Add Files.list example (#10356) 2020-12-30 12:39:45 +01:00
Loredana Crusoveanu bd22cd94f2 Merge pull request #10194 from Maiklins/Java-2824-Fix-Tests-in-Java-9-and-above-modules
Java-2824 fix tests in java 9 and above modules
2020-12-30 12:13:19 +02:00
Loredana Crusoveanu a61e004aa1 Merge pull request #10367 from vatsalgosar/BAEL-4301
BAEL-4301
2020-12-30 11:58:51 +02:00
unknown 1cc511ae5e BAEL-4301
- Updated assertTrue to assertEqual
- Added examples
2020-12-30 13:32:07 +05:30
Anshul BANSAL 9b1abb07fb BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added 2020-12-29 11:02:52 +02:00
johnA1331 b682fddd88 Update README.md 2020-12-23 22:38:23 +08:00
johnA1331 d1bb00ed39 Update README.md 2020-12-23 22:34:11 +08:00
krzysztof c79e7d8cbd BAEL-4750 Java 12 New Features 2020-12-23 12:48:07 +01:00
krzysztof c6e380d798 BAEL-4750 Java 12 New Features 2020-12-23 12:46:18 +01:00
Greg 96ca95aee1 Merge pull request #10276 from amitiw4u/BAEL-4686-ConcurrentVsSynchronizedMap
Bael 4686 concurrent vs synchronized map
2020-12-22 13:07:54 -05:00
Amitabh Tiwari a07e23dddd BAEL-4686: fixed review comments 2020-12-21 02:06:26 +05:30
Sampada 17d2870daa BAEL-4751: Java 14 New Features (#10319)
* BAEL-4751: Java 14 New Features

* BAEL-4751: Code formatting

* BAEL-4751: Consistent excpetion message

* BAEL-4751: Changed assert
2020-12-20 11:49:26 -08:00
johnA1331 c6dd691407 Update README.md 2020-12-16 17:41:24 +08:00
johnA1331 11cd12ffb5 Update README.md 2020-12-16 17:39:28 +08:00
johnA1331 abfc963707 Update README.md 2020-12-16 17:21:52 +08:00
Amy DeGregorio eb29a0a084 BAEL-4721 (#10272)
* BAEL-4721 Examples

* BAEL-4721 Requested edits

* Fix formatting issues

* Correct unit test name
2020-12-14 17:15:23 +00:00
Jonathan Cook da8a8f7fa2 Merge pull request #10258 from dstr89/feature/BAEL-4717-hashmap-linkedlist-arraylist
Feature/bael 4717 hashmap linkedlist arraylist
2020-12-13 15:02:17 +01:00
Daniel Strmecki 0d8d1d3a09 BAEL-4717: Fix artifactId 2020-12-13 10:33:53 +01:00
Amitabh Tiwari 2f42035fb5 BAEL-4686: Added some more test cases for TreeMap and LinkedHashMap 2020-12-09 17:45:39 +05:30
johnA1331 dbf7a4cdc8 Update README.md 2020-12-09 18:21:31 +08:00
johnA1331 59b090e4a8 Update README.md 2020-12-09 18:20:01 +08:00
davidmartinezbarua de36111f42 Merge pull request #10265 from maciejglowka/BAEL-4725
BAEL-4725: examples of double comparison in Java
2020-12-06 12:46:53 -03:00
Eric Martin 2acd01e551 Merge pull request #10285 from sk1418/delFileExt
[BAEL-4722] remove file extensions
2020-12-05 21:27:50 -06:00
Kai Yuan 32dba7dd06 remove file extensions 2020-12-05 18:18:13 +01:00
Daniel Strmecki c02a205220 BAEL-4717: add new module to parent pom 2020-12-05 09:52:32 +01:00
Loredana Crusoveanu 6fbc0ccd78 Merge pull request #10300 from johnA1331/master
BAEL-30150 - add links to github-baeldung articles
2020-12-03 12:57:23 +02:00
Loredana Crusoveanu f4390801ca fix illegal monitor test 2020-12-03 12:51:02 +02:00
johnA1331 6d0a360bb4 Update README.md 2020-12-02 19:27:13 +08:00
johnA1331 5cd294b635 Update README.md 2020-12-02 19:21:09 +08:00
johnA1331 61f0a1b720 Update README.md 2020-12-02 19:17:18 +08:00
johnA1331 941b7bd3c8 Update README.md 2020-12-02 19:11:06 +08:00
Jonathan Cook eed264e2e4 Merge pull request #10234 from hmdrzsharifi/BAEL-4460
BAEL-4460: Java AES encryption and decryption
2020-11-30 14:20:28 +01:00
Amitabh Tiwari 993f2baeea Added changes based on review comments 2020-11-30 07:25:51 +05:30
Amitabh Tiwari 074d016b64 BAEL-4686: Review comments implemented 2020-11-30 07:12:58 +05:30
sharifi a8b42068a9 add throw clause 2020-11-29 11:46:34 +03:30
sharifi 5274cf403f remove try/catch block and add throw clause 2020-11-29 11:46:11 +03:30
Loredana Crusoveanu ce7b195b62 Merge pull request #10195 from amitiw4u/BAEL-4399-NoSuchFieldError
BAEL-4399:Changes for showing NoSuchFieldError
2020-11-28 13:01:08 +02:00
doodoroma 74febfc386 Merge pull request #10152 from dstr89/feature/BAEL-4504-find-free-port-2
Feature/bael 4504 find free port 2
2020-11-28 10:00:27 +01:00
Loredana Crusoveanu c54f2d6102 Merge pull request #10259 from vatsalgosar/BAEL-4301
BAEL 4301
2020-11-27 12:57:29 +02:00
johnA1331 ed078e7422 Update README.md 2020-11-25 14:44:18 +08:00
johnA1331 47f7379996 Update README.md 2020-11-25 14:35:35 +08:00
johnA1331 82af24010b Update README.md 2020-11-24 17:05:49 +08:00
ashleyfrieze c61ed5f8b0 BAEL-4560 Add various patterns for adding iteration counter to loops/streams (#10266)
* Add various patterns for adding iteration counter to loops/streams

* Add various patterns for adding iteration counter to loops/streams
2020-11-23 18:13:16 +00:00
Amitabh Tiwari 2a1baae599 BAEL-4686:Allow Null test 2020-11-23 20:10:17 +05:30
Loredana Crusoveanu 02a3978fae Merge pull request #10268 from eugenp/BAEL-3641
BAEL-3641 fix for creating directories inside a zip and handling miss…
2020-11-23 15:17:36 +02:00
Amitabh Tiwari bd6bc03c93 BAEL-4686: Corrected the test 2020-11-23 17:32:27 +05:30
Amitabh Tiwari 61f4eb62a7 BAEL-4686: Performance test 2020-11-23 14:54:44 +05:30
Amitabh Tiwari aaac4e6a95 Added changes to fix the details 2020-11-23 09:56:16 +05:30
Eric Martin 350f093108 Merge pull request #10245 from michael-pratt/BAEL-4663
BAEL-4663: Whats new in Java 15
2020-11-21 09:45:09 -06:00
Amitabh Tiwari 761e38f0a1 Corrected the changes based on review comment 2020-11-21 15:35:14 +05:30
Michael Pratt 567a63cb7d Update formatting 2020-11-20 07:49:50 -07:00
Loredana Crusoveanu f6ee5efc3f formatting 2020-11-20 14:42:56 +02:00
Loredana Crusoveanu ebf99bfd4f BAEL-3641 fix for creating directories inside a zip and handling missing entry for root folder in windows-created archives 2020-11-20 14:41:36 +02:00
Vishal Akkalkote 683215b2fe BAEL-4600 | Add examples to demonstrate the difference between Array … (#10211)
* BAEL-4600 | Add examples to demonstrate the difference between Array Size vs ArrayList Capacity

* BAEL-4600 | Refactor | Remove ArrayCreator and ArrayListCreator
2020-11-20 00:26:15 +00:00
Maciej Glowka 6743c4de49 BAEL-4725: examples of double comparison in Java 2020-11-20 00:43:49 +01:00
Loredana Crusoveanu cd7c84e734 Merge pull request #10262 from johnA1331/master
BAEL-29326 - add links to github-baeldung articles
2020-11-19 20:58:30 +02:00
bfontana f2aabf4de1 Merge pull request #10242 from stancalau/BAEL-4218
Bael 4218
2020-11-18 21:38:27 -03:00
johnA1331 d0cb67f305 Update README.md 2020-11-18 17:14:44 +08:00
johnA1331 dfc2aa22dc Update README.md 2020-11-18 16:53:18 +08:00
unknown 7bb2282d24 BAEL-4301
- Created a new module core-java-char in core-java-modules modules
- Added Unit Tests for Character#isAlphabetic and Character#isLetter methods
2020-11-17 16:32:30 +05:30
Daniel Strmecki 79fc666e07 BAEL-4717: Refactor examples 2020-11-17 11:00:56 +01:00
sharifi c57644617d improve import package names 2020-11-17 09:30:20 +03:30
sharifi bba378a141 correct the package name 2020-11-17 09:14:33 +03:30
Michael Pratt 4164ff6a03 Updates from PR comments 2020-11-16 21:48:14 -07:00
developerDiv 43fad6ba95 Bael 4215 creating generic array (#10178)
* Initial commit for generic arrays, using T[] and Object[]

* Add CollectionsList

* Create generic arrays example with a Stack

* Remove custom exception classes + throw RuntimeException instead.
2020-11-16 18:08:49 +00:00
vatsalgosar c6f8c56572 IsLetter / isAlphabetic method unit tests (#10097) 2020-11-16 18:03:49 +00:00
Kai Yuan 600896e842 [BAEL-4617] extending enums (#10130) 2020-11-16 18:03:15 +00:00
Daniel Strmecki cc1a2e9b15 BAEL-4717: Added HashMap and LinkedList examples 2020-11-16 16:02:18 +01:00
Daniel Strmecki 796aefa996 BAEL-4717: Added ArrayList examples 2020-11-15 11:47:08 +01:00
Michael Pratt b610c4d304 BAEL-4663: Rename packages 2020-11-14 12:03:06 -07:00
sharifi b0d7dd8359 edit logger code
improve code quality
2020-11-12 14:08:44 +03:30
sharifi 1b22786001 add clean up files
improve code quality
2020-11-12 14:08:02 +03:30
sharifi d0678c77ab add equals method 2020-11-12 14:06:53 +03:30
Michael Pratt 2715bde82a BAEL-4663: Whats new in Java 15 2020-11-11 14:51:36 -07:00
johnA1331 8cb775a82b Update README.md 2020-11-11 21:30:48 +08:00
johnA1331 5534daf2d7 Update README.md 2020-11-11 21:24:47 +08:00
johnA1331 8ed8319d0b Update README.md 2020-11-11 21:24:16 +08:00
johnA1331 398eb841ae Update README.md 2020-11-11 21:22:12 +08:00
johnA1331 c49c7f57a3 Update README.md 2020-11-11 21:18:12 +08:00
johnA1331 f651b0f7b1 Update README.md 2020-11-11 20:13:52 +08:00
johnA1331 b6ef67eec7 Update README.md 2020-11-11 20:11:57 +08:00
Bradley M Handy 95e04696e6 BAEL-4209: Difference between e.getMessage() and e.getLocalizedMessage() (#10222)
* - 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.
2020-11-09 17:37:47 +00:00
Cristian Stancalau 5f9cf2c661 Fix typo 2020-11-09 19:29:12 +02:00
Cristian Stancalau ef3f984d8e Rename Reptile to Amphibian 2020-11-09 19:20:38 +02:00
Cristian Stancalau 141f05d179 Rename Reptile to Amphibian 2020-11-09 19:16:59 +02:00
Greg 3888cd0af1 Merge pull request #10210 from vishal1023/BAEL-4236
Bael 4236
2020-11-08 13:41:04 -05:00
sharifi 937f0fb784 Revert "update README file"
This reverts commit 6f785fde
2020-11-08 17:18:20 +03:30
Daniel Strmecki 7077a5f80c BAEL-4717: Create new collections module 2020-11-08 11:15:42 +01:00
Vishal fe8f0c91a1 BAEL-4236 | move all classes to package com.baeldung.exception.indexoutofbounds 2020-11-07 12:21:21 +05:30
Vishal 8ab6e4ad44 BAEL-4236 | delete duplicate class IndexOutOfBoundsException.java 2020-11-07 12:19:25 +05:30
Vishal 66860c1b03 BAEL-4236 | delete duplicate classes 2020-11-07 12:01:26 +05:30
Loredana Crusoveanu 65d2996c10 Merge pull request #10235 from johnA1331/master
BAEL-29324 - add links to github-baeldung articles
2020-11-06 12:41:55 +02:00
Amitabh.Tiwari 1a0d8f4be0 Added changes to remove unwanted spaces 2020-11-06 16:02:36 +05:30
Jonathan Cook 596189a553 Merge pull request #10166 from Saber-k/master
BAEL-4212 (String) or .toString()?
2020-11-05 15:35:33 +01:00
johnA1331 ff17ea49cf Update README.md 2020-11-05 14:12:52 +08:00
Amitabh Tiwari e13f7952b1 BAEL-4399: Changes for removing tab spaces 2020-11-04 19:34:50 +05:30
sharifi 6f785fdef5 update README file 2020-11-04 14:28:21 +03:30
sharifi 01baf5c752 add aes main source 2020-11-04 14:28:17 +03:30
sharifi cb48f0bd64 update assertj version 2020-11-04 14:28:12 +03:30
sharifi d584f37af0 add test file 2020-11-04 14:28:06 +03:30
Tarun Jain 1fba6f0127 BAEL-4645|Transient keyword in Java 2020-11-04 14:09:33 +05:30
Daniel Strmecki 5116a45d1e Feature/bael 4662 sealed classes (#10224)
* BAEL-4662: Initial commit of new module

* BAEL-4662: Example with Records

* BAEL-4662: Example with Interface

* BAEL-4662: Add test classes

* BAEL-4662: Update examples and tests

* BAEL-4662: Rename test classes
2020-11-03 11:37:30 -08:00
Amitabh Tiwari 3bea743e5b BAEL-4399: Removed unwanted space 2020-11-03 19:25:25 +05:30
Amitabh Tiwari be3614c157 Corrected the file names 2020-11-03 19:13:59 +05:30
Amitabh Tiwari 819669c97c BAEL-4399: Added changes as per review comment 2020-11-03 14:07:23 +05:30
Eric Martin 1578788805 Merge pull request #10192 from sk1418/abstractMethodError
[BAEL-4284] AbstractMethodError
2020-11-02 21:24:43 -06:00
mikr 4cac5aa1d8 JAVA-2824 Fix tests in Java 9 and above modules (Update after PR review) 2020-10-29 22:01:15 +01:00
mateusz.szablak 46c257f00f review #2 2020-10-29 16:44:28 +01:00
Loredana Crusoveanu 74079b9134 Merge pull request #10214 from johnA1331/master
BAEL-28915 - github-related test fix (results: 18.10.2020)
2020-10-29 15:23:58 +02:00
Kumar Chandrakant 0794a1ad1b Adding source code for article tracked under BAEL-4576 (#10203)
Co-authored-by: CHANDRAKANT Kumar <kumar.chandrakant@soprabanking.com>
2020-10-29 06:11:46 +01:00
johnA1331 ed3fe0cfce Update README.md 2020-10-28 17:21:03 +08:00
johnA1331 a96868a314 Update README.md 2020-10-28 17:07:37 +08:00
johnA1331 83489df711 Update README.md 2020-10-28 16:57:05 +08:00
johnA1331 4f1d748669 Update README.md 2020-10-28 16:39:46 +08:00
johnA1331 65d3dab26f Update README.md 2020-10-28 16:36:53 +08:00
johnA1331 f82d9e0fe5 Update README.md 2020-10-28 16:32:06 +08:00
johnA1331 54753f3f09 Update README.md 2020-10-28 15:46:34 +08:00
nguyennamthai 4b1a853871 BAEL-4477 Add a class to demonstrate that the app will crash if too many objects have a finalizer (#10200) 2020-10-28 07:12:52 +01:00
johnA1331 8d277a8d04 Update README.md 2020-10-28 10:39:29 +08:00
johnA1331 577e0ef044 Update README.md 2020-10-28 10:32:02 +08:00
Vishal a1c8d9317e BAEL-4236 | fix the failing build 2020-10-27 17:36:56 +05:30
Vishal 943fa43822 BAEL-4236 | Add code examples to handle IndexOutOfBoundsException and alternatives to make a copy of the l.ist 2020-10-27 13:10:58 +05:30
Eric Martin 023d307f51 Merge pull request #10171 from sk1418/clsNamesInJar
[BAEL-4533] get class names from a jar
2020-10-26 22:25:44 -05:00
mateusz.szablak dd98392dbe added after review 2020-10-26 16:35:41 +01:00
davidmartinezbarua e459c3faa0 Merge pull request #9996 from sahilsingla112/feature/BAEL-4558-stopexecution
BAEL-4558: Article for stopping execution after a certain time
2020-10-24 11:20:19 -03:00
Amitabh Tiwari dcc5d77c1b BAEL-4399: corrected the examples as per review 2020-10-24 18:59:11 +05:30
Amitabh Tiwari 71daa1a7c1 BAEL-4399:Changes for showing NoSuchFieldError 2020-10-23 21:36:49 +05:30
mikr 0e54f859cc JAVA-2824 Fix tests in Java 9 and above modules 2020-10-22 22:04:22 +02:00
mikr 96c386649d JAVA-2824 Fix tests in Java 9 and above modules 2020-10-22 10:42:10 +02:00
Kai Yuan 9f9f0c40f5 [BAEL-4284] AbstractMethodError 2020-10-21 22:39:43 +02:00
johnA1331 2bf7f715b0 Update README.md 2020-10-21 11:41:32 +08:00
johnA1331 3a1bcc1a15 Update README.md 2020-10-21 11:25:34 +08:00
bfontana 147a5e157f Merge pull request #10156 from stancalau/BAEL-4218
Explanation of “ClassCastException” in Java
2020-10-20 21:25:25 -03:00
Kai Yuan 41609ee63f [BAEL-4533] get class names from a jar 2020-10-19 10:19:55 +02:00
Eric Martin d6d7661771 Merge pull request #10127 from amdegregorio/BAEL-4503
BAEL-4503
2020-10-18 21:40:33 -05:00
AmitB 000275f9f7 [BAEL-4495] - Add test for case when 2nd collection is also hashset (#10175)
* [BAEL-4495] Performance of removeAll() in a HashSet

* [BAEL-4495] Add unit test for hashset removeAll()

* [BAEL-4495] Update test methods to camelCase

* [BAEL-4495] Add test for case when 2nd collection is also hashset
2020-10-18 08:59:00 -07:00
amdegregorio 7d297f344f BAEL-4503 PR/article review feedback 2020-10-17 08:28:31 -04:00
Loredana Crusoveanu 7c07677faa Merge pull request #10138 from tjrbrom/patch-1
Pass unused "millis" argument to lock.tryLock method, line 76.
2020-10-16 19:19:11 +03:00
Loredana Crusoveanu a1f52c6135 Merge pull request #10148 from dgcd/fix_typos_in_jigsaw_module
Fixed typos in core-java-9-jigsaw module
2020-10-16 19:06:52 +03:00
Loredana Crusoveanu 0aebf12bb9 Merge pull request #9768 from tweimer/patch-1
Replace StringBuffer with StringBuilder and add initial capacity
2020-10-16 19:02:17 +03:00
Daniel Strmecki 061fa3d12a BAEL-4504: Add finally 2020-10-15 16:59:16 +02:00
mateusz.szablak bbdf2ae686 BAEL-4212 (String) or .toString()? - code + tests 2020-10-15 16:18:27 +02:00
Cristian Stancalau af0db9610e Fix review suggestions. 2020-10-14 18:22:32 +03:00
Cristian Stancalau 6a82d1cde6 Reformat 2020-10-12 16:37:08 +03:00
Cristian Stancalau 4c748f7a23 Explanation of “ClassCastException” in Java 2020-10-12 16:35:24 +03:00
Daniel Strmecki 40029ed9fc BAEL-4504: Wrong artifact ID 2020-10-11 11:16:32 +02:00
Daniel Strmecki 42455830c0 BAEL-4504: Fix PR comments 2020-10-11 11:14:36 +02:00
Daniel Strmecki f80f82781f BAEL-4504: Move find free port to networking-3 2020-10-11 10:22:42 +02:00
dgcd 103bd4cf65 Fixed typos in core-java-9-jigsaw module 2020-10-11 01:23:32 +03:00
johnA1331 ac480ad0cc Update README.md 2020-10-07 17:29:57 +08:00
johnA1331 9d8d8a6587 Update README.md 2020-10-07 17:18:48 +08:00
Nikolaos Themelis a1229f66e4 Pass unused "millis" argument to lock.tryLock method, line 76. 2020-10-07 11:41:31 +03:00
kwoyke 90382576f6 BAEL-4661: Add an example of creating a file using FileOutputStream (#10131) 2020-10-06 08:08:09 +02:00
amdegregorio 9735c8c093 BAEL-4503 2020-10-03 17:07:52 -04:00
Umang Budhwar d48defc3e2 BAEL-4531 (#10093)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.
2020-10-02 21:58:12 -05:00
johnA1331 c68b6f68b5 Update README.md 2020-10-02 13:31:26 +08:00
johnA1331 f77d8a6b4e Update README.md 2020-10-02 13:19:45 +08:00
johnA1331 39c0a4fa84 Update README.md 2020-10-02 13:16:46 +08:00
johnA1331 cfdbef76ba Update README.md 2020-10-02 13:09:22 +08:00
johnA1331 76676ebfd8 Update README.md 2020-10-02 13:05:41 +08:00
Eric Martin 18e32676fe Merge pull request #10057 from chris9408/feature/BAEL-4415
BAEL-4415 get a list of trusted certificates in Java
2020-09-28 22:54:10 -05:00
unknown 69d7f51947 IsLetter / isAlphabetic method unit tests 2020-09-28 04:04:49 +05:30
Eric Martin dd2c527a69 Merge pull request #10043 from sk1418/classObj
[BAEL-4532]a.getClass() vs A.class
2020-09-27 08:49:17 -05:00
doodoroma cb401569d9 Merge pull request #10062 from azhwani/TBAEL4396
BAEL-4396: Find the last modified file in a directory with Java
2020-09-27 10:44:04 +02:00
Kai Yuan 428e8dac62 [BAEL-4532]a.getClass() vs A.class 2020-09-26 19:25:36 +02:00
azhwani 725a7b2a7a Add cleanUp 2020-09-25 18:40:26 +01:00
johnA1331 86876c57d1 Update README.md 2020-09-24 03:40:31 +08:00
johnA1331 bea5c242af Update README.md 2020-09-24 03:39:09 +08:00
johnA1331 46c071b40b Update README.md 2020-09-24 02:55:21 +08:00
Cristian Stancalau 20a3070093 BAEL-4156 Does a method's signature in Java include its return type? (#10049)
* BAEL-4156 Does a method's signature in Java include its return type?

* BAEL-4156 Add varargs

* Update OverloadingErrors.java

Co-authored-by: Cristian Stancalau <cstancalau@consultant.ffn.com>
2020-09-23 09:23:50 -07:00
Cristian Rosu 478e6ccff6 BAEL-4415 correct line continuations indent to 2 spaces 2020-09-23 17:36:48 +03:00
Cristian Rosu 465a878d02 BAEL-4415 correct package name 2020-09-23 17:34:42 +03:00
sahil.singla 27953f3bb1 Applied formatter 2020-09-22 22:18:17 +05:30
bfontana 4caee42f39 Merge pull request #10064 from rezaep/master
BAEL-4488 Fix indents
2020-09-21 21:09:50 -03:00
bfontana 7eb338f990 Merge pull request #10055 from akeshri/master
PR review changes
2020-09-21 20:28:39 -03:00
Reza Ebrahimpour fd9e75c6e2 BAEL-4488 Fix indents 2020-09-21 21:48:26 +03:30
azhwani 5d29ae5bbd first commit 2020-09-21 11:16:03 +01:00
Cristian Rosu 4503d5c3f7 BAEL-4415 get a list of trusted certificates in Java 2020-09-20 19:57:43 +03:00
akeshri c4d98a6596 changes 2020-09-20 15:25:29 +05:30
bfontana 26c7ec551d Merge pull request #10032 from rezaep/master
BAEL-4488 List available cipher algorithms
2020-09-19 16:32:21 -03:00
Dhawal Kapil ac4b85634f Merge pull request #9998 from Maiklins/JAVA-2394-Create-default-and-integration-profile-for-JDK-9-and-above-modules
Java-2394 Create default and integration profile for JDK-9 and above modules
2020-09-20 00:03:11 +05:30
Umang Budhwar f134833952 Refactored code to use generic methods and use streams. (#10052) 2020-09-19 09:19:13 -07:00
Loredana 4a7cde7d32 Merge branch 'master' of https://github.com/eugenp/tutorials 2020-09-18 12:04:36 +03:00
Dhawal Kapil 1c732be61a Merge pull request #10042 from kwoyke/JAVA-2904-md
JAVA-2904: Fix README.MD files extension
2020-09-17 23:15:16 +05:30
Vishal a47ed70f36 Add maven compiler plugin for java 11 2020-09-17 16:41:47 +05:30
Reza Ebrahimpour 15ba49d0f4 BAEL-4488 Convert class with main to UnitTest class 2020-09-17 10:25:37 +04:30
Krzysiek 1509fa5ddc JAVA-2904: Fix README.MD files extension 2020-09-16 22:20:32 +02:00
Kai Yuan 4ce6b34c06 [BAEL-4583] Improvement- Java Period 2020-09-16 21:28:06 +02:00
Vishal c6f067c17f Add examples to demo IndexOutOfBoundsException while using Collectins.copy method and other working demos to copy elements from one list to another list 2020-09-16 22:43:42 +05:30
johnA1331 a61f3c9b54 Update README.md 2020-09-16 23:56:46 +08:00
johnA1331 5c0391cf68 Update README.md 2020-09-16 23:42:36 +08:00
johnA1331 258f1be8ac Update README.md 2020-09-16 22:56:33 +08:00
johnA1331 c221c2fa0b Update README.md 2020-09-16 22:52:52 +08:00
johnA1331 c79db10648 Update README.md 2020-09-16 22:51:52 +08:00
johnA1331 29577bd777 Update README.md 2020-09-16 22:43:16 +08:00
Loredana Crusoveanu 760ba574e4 Merge pull request #10038 from kwoyke/JAVA-2599
JAVA-2599: Handle Windows specific exception in the ExistenceUnitTest
2020-09-16 15:05:05 +03:00
Krzysiek 989acd5ed7 JAVA-2599: Handle Windows specific exception in the ExistenceUnitTest 2020-09-16 10:11:58 +02:00
Loredana Crusoveanu b64433bb36 Merge pull request #10033 from kwoyke/JAVA-2599
JAVA-2599: Update OS specific unit tests
2020-09-15 17:53:40 +03:00
Krzysztof Woyke 4f14873967 JAVA-2599: Update OS specific unit tests 2020-09-15 10:28:34 +02:00
Reza Ebrahimpour 0976c32038 BAEL-4488 Create AvailableCiphers 2020-09-15 11:12:24 +04:30
AmitB 12b3067cd2 [BAEL-4495] Performance of removeAll() in a HashSet (#10011)
* [BAEL-4495] Performance of removeAll() in a HashSet

* [BAEL-4495] Add unit test for hashset removeAll()

* [BAEL-4495] Update test methods to camelCase
2020-09-14 21:44:25 -07:00
gupta-ashu01 ed7ce4ce34 BAEL-4567 (#10007)
* BAEL-4567

BAEL-4567

* Add files via upload

* Add files via upload

* Delete SendMailWithAttachment.java

* Update pom.xml

* Formatting fixes
2020-09-13 10:05:45 -07:00
Eric Martin 840c588179 Merge pull request #9959 from j0rdanit0/BAEL-4534
Added code examples for BAEL-4534
2020-09-13 10:56:13 -05:00
kwoyke 972ff96699 BAEL-4587: Update Guide to Java Reflection (#9997)
* BAEL-4587: Migrate Guide to Java Reflection to core-java-11-2

* BAEL-4587: Replace deprecated isAccessible method with canAccess
2020-09-12 19:08:22 +02:00
kwoyke ebf5019635 BAEL-4589: Update Guide to Java 8's Collectors (#10009)
* BAEL-4589: Move Guide to Java 8’s Collectors to core-java-11-2

* BAEL-4589: Add Java 10 unmodifiable* collectors examples
2020-09-12 09:44:47 +02:00
bfontana 7b11eeb69b Merge pull request #9941 from akeshri/master
BAEL-4383 : HashMap - getting First Key value
2020-09-10 21:18:27 -03:00
akeshri 2f91865363 changes 2020-09-10 09:26:24 +05:30
mikr ae5ee571b9 Java-2394 Create default and integration profile for JDK-9 and above modules 2020-09-10 01:08:03 +02:00
sahil.singla 213d5cfe39 BAEL-4558: Article for stopping execution after a certain time 2020-09-10 00:29:18 +05:30
sahil.singla 20a6e042f2 BAEL-4558: Article for stopping execution after a certain time 2020-09-10 00:24:37 +05:30
kwoyke 99381e0b15 BAEL-4588: Update Guide To Java 8 Optional (#9995)
* BAEL-4588: Fix maven-shade-plugin version

* BAEL-4588: Add empty core-java-11-2 module structure

* BAEL-4588: Move Guide To Java 8 Optional to core-java-11-2

* BAEL-4588: Add Java 10 orElseThrow() example
2020-09-09 18:35:31 +02:00
Jordan Simpson cf15c1b002 Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-09-09 08:18:57 -05:00
Jordan Simpson 10efba315d Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-09-09 08:18:51 -05:00
Jordan Simpson 576d3c5f42 Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-09-09 08:18:46 -05:00
Jordan Simpson 1624cd3387 Update core-java-modules/core-java-lang-3/src/test/java/com/baeldung/checkclassexistence/CheckClassExistenceUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-09-09 08:18:38 -05:00
akeshri ece4d65065 changes 2020-09-09 09:34:10 +05:30
akeshri b331b1779f first pair code 2020-09-08 21:04:43 +05:30
rpvilao dec24bea88 Merge pull request #9926 from eugenp/feature/BAEL-4142
BAEL-4132: How to create a temporary directory/folder in Java?
2020-09-04 18:01:33 +01:00
Maciej Glowka 3fd8926145 BAEL-4297: fixed unsynchronized classes naming, added slf4j logging 2020-09-02 23:56:02 +02:00
Jordan Simpson b27e6a0470 Added braces to the if block 2020-09-02 09:00:42 -05:00
Maciej Glowka 9d24bc1598 BAEL-4297: example of IllegalMonitorStateException 2020-09-01 21:15:56 +02:00
Jordan Simpson 661027c771 Added code examples for BAEL-4534 2020-08-31 13:42:50 -05:00
Dhawal Kapil 55a5210a91 Merge pull request #9946 from Maiklins/Java-1462-reduce-logging-modules-core-java-io-2-spring-ejb-beans-spring-boot-security-spring-data-jpa-3
Java-1461 Reduce logging - core-java-io-2, spring-ejb-beans, spring-boot-security
2020-08-31 20:35:06 +05:30
Eric Martin 104c00c2a1 Merge pull request #9906 from gupta-ashu01/master
BAEL-4285
2020-08-30 11:38:46 -05:00
mikr d7e25cb6e9 Java-1462 Reduce logging - Modules core-java-io-2, spring-ejb-beans, spring-boot-security 2020-08-30 14:35:18 +02:00
gupta-ashu01 71b9fd959a Update ArrayStoreExceptionExample.java 2020-08-30 14:19:34 +05:30
KarthikBalaraman 93c0a00a48 BAEL-4523 - Added code example for article to find the largest power of 2 that is less than the given number (#9840) 2020-08-27 18:32:43 +01:00
kwoyke 6f2e3a9e6b BAEL-4578: Fix failing unit test (#9929) 2020-08-27 14:12:53 +02:00
Rui Vilao a237235804 BAEL-4132: How to create a temporary directory/folder in Java? 2020-08-26 13:18:37 +01:00
Amy DeGregorio aa96649458 BAEL 4401 (#9913)
* BAEL-4401

* Update with master and resolve conflicts
2020-08-24 08:20:26 -07:00
gupta-ashu01 765629be47 Adding File 2020-08-24 12:02:02 +05:30
gupta-ashu01 935b4c1278 Delete ArrayStoreExceptionExample.java 2020-08-24 11:09:01 +05:30
gupta-ashu01 da1d54699f changing package
changing package
2020-08-24 11:07:38 +05:30
gupta-ashu01 cec243af0d Update README.md 2020-08-24 11:01:12 +05:30
Eric Martin 88ae525fab Merge pull request #9874 from chris9408/feature/BAEL-4394
BAEL-4394: Line at a given number tests
2020-08-22 12:15:21 -05:00
gupta-ashu01 456c3322e7 Update README.md
BAEL-4285
2020-08-22 16:20:07 +05:30
gupta-ashu01 e7bef17346 BAEL-4285
BAEL-4285 A Guide to ArrayStoreException
2020-08-22 16:17:16 +05:30
Loredana Crusoveanu 9d27ebbc80 Merge pull request #9899 from johnA1331/master
BAEL-26976 add links to github-baeldung articles
2020-08-21 15:39:05 +03:00
kwoyke f9e54fd2f6 BAEL-4572: Add List#copyOf and Set#copyOf (#9903)
* BAEL-4572: Move Converting Between a List and a Set in Java to core-java-10

* BAEL-4572: Add Java10 examples
2020-08-21 14:33:39 +02:00
johnA1331 210c1ed732 Create README.md 2020-08-20 18:43:15 +08:00
johnA1331 7f3f7b6434 Update README.md 2020-08-20 18:33:43 +08:00
johnA1331 9b55b49677 Update README.md 2020-08-20 18:17:51 +08:00
johnA1331 5cf868be7f Update README.md 2020-08-20 18:03:52 +08:00
johnA1331 a2ad623ba5 Update README.md 2020-08-20 17:58:14 +08:00
johnA1331 705e9c0072 Update README.md 2020-08-20 17:47:05 +08:00
johnA1331 15dba0da1a Update README.md 2020-08-20 17:45:40 +08:00
johnA1331 1ed61c074c Update README.md 2020-08-20 17:28:41 +08:00
johnA1331 baed0ba3a2 Update README.md 2020-08-20 17:21:55 +08:00
johnA1331 86f836d42a Update README.md 2020-08-20 13:21:26 +08:00
johnA1331 4f44adacc9 Update README.md 2020-08-20 13:18:56 +08:00
johnA1331 af9ba73025 Update README.md 2020-08-20 13:15:17 +08:00
johnA1331 13566b8c2d Update README.md 2020-08-20 13:02:58 +08:00
kwoyke c9e9ff79e9 BAEL-3722: Sync article and the code (#9897) 2020-08-19 14:27:29 +02:00
davidmartinezbarua a9ae4595dc Merge pull request #9853 from rutujavjoshi/master
BAEL-4193 -updated files
2020-08-19 01:22:16 -03:00
Cristian Rosu c0258feff8 BAEL-4394: simplified assert statements + fixed type 2020-08-17 23:45:43 +03:00
Rutuja Joshi 39ba03a488 Delete README.md 2020-08-17 21:11:50 +05:30
Rutuja Joshi 10d571fd1d pom : added new module core-java-exceptions-3
added new module core-java-exceptions-3
2020-08-17 19:37:28 +05:30
Rutuja Joshi f00adab98c BAEL-4193 - initial commit
initial commit in new module core-java-exceptions-3
2020-08-17 19:33:14 +05:30
Rutuja Joshi ccad8d217f Delete SpecialToday.java
Moving code to  a new module - core-java-exceptions-3
2020-08-17 16:51:16 +05:30
Rutuja Joshi 02fb2aee85 Delete MainMenu.java
Moving code to  a new module - core-java-exceptions-3
2020-08-17 16:50:59 +05:30
Rutuja Joshi b6e9fa3848 Delete MainMenuUnitTest.java
Moving code to  a new module - core-java-exceptions-3
2020-08-17 16:48:47 +05:30
Amit Pandey 2bad67ff38 added modules in parent (#9842)
* added modules in parent

* commented failed modules in pom
2020-08-17 10:33:20 +05:30
Amit Pandey 62432a2532 Java 2387 (#9882)
* fix junit test cases

* added module in parent build
2020-08-17 10:30:19 +05:30
Dhawal Kapil f8531e4bbc Merge pull request #9880 from eugenp/story/JAVA-95
Update README.md
2020-08-16 23:39:22 +05:30
davidmartinezbarua a3ccd178e1 Merge pull request #9653 from anmoldeep0123/BAEL_4302
BAEL-4302 : How can I list all classes loaded in a specific class loader
2020-08-16 11:52:41 -03:00
Dhawal Kapil 44afb00d22 Update README.md 2020-08-16 08:46:46 +05:30
Carlos Grappa bb34174aeb BAEL 2881 (#9639)
* BAEL-4154 IOException Too many open files

* Add comment to explain GC dependency

* Add HPPC, remove Colt & Trove

* Add inplace iterators for fastutil and extra maps for HPPC

Co-authored-by: Carlos Grappa <carlos.grappa@mercadolibre.com>
2020-08-15 21:59:34 +01:00
Eric Martin 2ac7e8af89 Merge pull request #9852 from alimate/BAEL-4536
BAEL-4536: Improvement - compareTo Implementations
2020-08-15 11:35:32 -05:00
Cristian Rosu 9a102f03af BAEL-4394: Line at a given number tests 2020-08-15 16:48:24 +03:00
root 2fe9016a23 final comments 2020-08-13 16:10:01 +00:00
root 9230a93045 Merge remote-tracking branch 'upstream/master' into BAEL_4302 2020-08-13 15:51:21 +00:00
Loredana Crusoveanu f055e59e61 Merge pull request #9856 from johnA1331/master
BAEL-27115 - github-related test fix (results: 03.08.2020)
2020-08-13 16:41:23 +03:00
Rutuja Joshi eb4ce37f31 Update MainMenuUnitTest.java
Updated the method name to follow BDD conventions
2020-08-13 08:31:19 +05:30
Loredana b532f998db BAEL-4395 fix test 2020-08-12 19:32:27 +03:00
Rutuja Joshi ea9c64147b BAEL-4193 (updated files)
- removed not needed fields
2020-08-12 07:24:44 +05:30
Ali Dehghani 1945c8a312 Fixed the "Lambda Sort" Article 2020-08-12 01:50:52 +04:30
Ali Dehghani e7d3347960 Fixed the "Sorting in Java" Article 2020-08-12 01:41:12 +04:30
Ali Dehghani 41964ef72e Fixed the "Comparator and Comparable in Java" Article 2020-08-12 01:23:02 +04:30
Mona Mohamadinia 94f50e785e ThreadLocals and Thread Pools (#9592) 2020-08-11 19:20:22 +01:00
Daniel Strmecki ded13f14b2 Feature/bael 4280 diff between lists (#9600)
* BAEL-4280: Initial commit for finding diff between lists

* BAEL-4280: Format

* BAEL-4280: Refactor

* BAEL-4280: Refactor not to use private methods

* BAEL-4280: Refactor based on editor comments

* BAEL-4280: Review round 2

* BAEL-4280: Use assertj

* BAEL-4280: Use assertj

* BAEL-4280: Shorter names for tests

* BAEL-4280: Remove HashSet as its not used anymore

* BAEL-4280: Use containsExactlyInAnyOrder for Set example

* BAEL-4280: Remove distinct method call

* BAEL-4280: Move impl to test

* BAEL-4280: Use containsExactlyInAnyOrder

* BAEL-4280: Rename test methods
2020-08-11 18:29:46 +01:00