Commit Graph

1052 Commits

Author SHA1 Message Date
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
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