Commit Graph

1061 Commits

Author SHA1 Message Date
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
Loredana Crusoveanu 26f21645a4 Merge pull request #9624 from luvarqpp/patch-1
Fix exception when receiving POISON_PILL
2020-08-11 17:30:01 +03:00
johnA1331 fffbcfc2c0 Update README.md 2020-08-11 11:24:33 +08:00
Oussama BEN MAHMOUD 099b9e9121 BAEL-4392: Java Files Open Options 2020-08-09 02:05:27 +02:00
Jonathan Cook 8da19e2b88 Merge pull request #9760 from umangbudhwar/master
BAEL-4329: Set field value with reflection
2020-08-08 20:43:56 +02:00
Jonathan Cook 53a869163c Merge pull request #9794 from LeasyZhang/determin-primitive-objects
LeasyZhang/shiwangzhihe@gmail.com
2020-08-07 11:07:15 +02:00
Eric Martin 0eb980a047 Merge pull request #9780 from majajoksovic/master
BAEL-4395
2020-08-06 19:47:13 -05:00
joe zhang 54796738f8 update unit test 2020-08-06 23:14:19 +08:00
Rutuja Joshi 4c4cafde1e Added New File(s) - BAEL-4193 NoSuchMethodError 2020-08-05 15:16:51 +05:30
Rutuja Joshi 5db4e332b9 Added New Classes
BAEL-4193 NoSuchMethodError
2020-08-05 15:07:34 +05:30
Umang Budhwar a27969cc70 Refactored code to use existing variables. 2020-08-03 21:01:57 +05:30
joe zhang 33841c2034 use utility class directly 2020-08-03 22:52:22 +08:00
Umang Budhwar 7ec5e6824e Refactored code to use short primitive instead of Short wrapper class. 2020-08-02 22:36:02 +05:30
Mona Mohamadinia 353f454fe0 Improve How to Count the Number of Matches for a Regex? (#9788) 2020-08-02 16:36:13 +01:00
Mona Mohamadinia 8527d58063 BAEL-4391: Check if a file exists in Java (#9748)
* Check if a file exists in Java

* Simple Assertions
2020-08-02 16:30:53 +01:00
Maja Joksovic 6fc0c42586 fixed indentation 2020-08-01 22:58:00 +02:00
Sampada f18d4dfa98 BAEL-3836: Fix failing test in core-java-concurrency-advanced-3 (#9806)
* BAEL-3836: Fix failing test in core-java-concurrency-advanced-3

* BAEL-3836: Fix failing test in core-java-concurrency-advanced-3
2020-08-01 13:09:35 -07:00
davidmartinezbarua acf23c0a11 Merge pull request #9621 from jesperancinha/BAEL-4281
[BAEL-4281] Examples of array comparisons
2020-07-31 11:16:14 -03:00
rpvilao 7c10e08e5b Merge pull request #9756 from MajewskiKrzysztof/BAEL-4289
BAEL-4289
2020-07-31 10:59:01 +01:00
joe zhang ae479954f4 refactor unit test name 2020-07-31 00:33:26 +08:00
joe zhang 6e43adc107 determine if an Object is of primitive type 2020-07-30 21:15:06 +08:00
joe zhang f29c757e18 determine if an Object is of primitive type 2020-07-30 21:09:33 +08:00
joe zhang 1deeca3b47 determine if an Object is of primitive type 2020-07-30 21:00:51 +08:00
Krzysztof Majewski baa46f6f4f rename 2020-07-30 11:26:57 +02:00
Krzysztof Majewski 12322ff46b update test 2020-07-29 08:59:06 +02:00
joe zhang 45be1b6045 Add primitive type check method and unit tests 2020-07-28 21:12:15 +08:00
Maja Joksovic 000ce564ff changed variable names 2020-07-28 10:03:46 +02:00
Maja Joksovic 784ea2b061 clean-up 2020-07-28 08:26:32 +02:00
Maja Joksovic 2a58dcf29d initial commit 2020-07-28 01:33:43 +02:00