515882294
3c2b8bb1f1
BAEL-1699 - modify code comment typo
2022-04-12 16:39:47 +08:00
sanitaso
add090f2e1
BAEL-5416 How to Store HashMap<String, ArrayList> Inside a List ( #12047 )
...
* add unit test
* fix the error
* correcting the name of the test
* trigger build process
2022-04-11 20:15:51 -07:00
Attila Uhrin
bb09c8675d
Add examples for Java HttpClient with Basic authentication.
2022-04-09 17:15:06 +02:00
515882294
4b11cc78b0
BAEL-1699 - Java 9 illegal reflective access warning
2022-04-07 22:06:01 +08:00
Parikshit Murria
9759513bf9
BAEL-5417 - implements vs extends ( #12011 )
2022-04-04 21:02:42 +02:00
KevinGilmore
f345f997a8
BAEL-5386: add link back to article ( #12015 )
2022-04-03 08:49:33 -05:00
Azhwani
b1c60e9093
BAEL-5386: Format Instant to String in Java ( #11970 )
...
* first commit
* remove extra spaces
* add the requested changes
2022-03-31 20:04:10 -05:00
johnA1331
fd2b2c41a5
Update README.md
2022-03-31 13:52:47 +08:00
johnA1331
0f2f185443
Update README.md
2022-03-31 13:48:05 +08:00
johnA1331
4affc4906c
Update README.md
2022-03-31 13:46:23 +08:00
johnA1331
f5be3c8fed
Update README.md
2022-03-31 13:44:26 +08:00
Kai Yuan
0c229c433f
add SetDiff for BAEL-5464 article ( #11969 )
...
* add SetDiff for BAEL-5464 article
* rename the method
2022-03-27 20:16:58 -05:00
Kai Yuan
3eeb5c7d2b
read user input ( #11946 )
...
* read user input
* rename the unittest class
2022-03-27 11:24:31 -05:00
vaibhav007jain
c9637e95fd
BAEL-5463: added code for for-each loop in Java. ( #11960 )
2022-03-27 09:03:29 +05:30
etrandafir93
bcb342693c
BAEL-5465: removed link from readme, reordered tests ( #11977 )
2022-03-25 09:09:52 -07:00
alemoles
b933c21023
BAEL-5429 - How to Fix Java Compiler Error: Illegal Character ( #9 )
2022-03-23 01:41:59 -04:00
etrandafir93
4ab85e1ccc
BAEL-5465: tests for subtracting days from date ( #11954 )
...
* BAEL-5465: tests for subtracting days from date
* BAEL-5465: upated readme
2022-03-22 08:59:07 -07:00
Azhwani
2e4b518c4b
improve split string using pattern ( #11945 )
2022-03-20 09:19:29 -05:00
johnA1331
8439ee3c45
Update README.md
2022-03-16 21:50:01 +08:00
johnA1331
49630dc2f8
Update README.md
2022-03-16 21:45:47 +08:00
johnA1331
d7baaf8ced
Update README.md
2022-03-16 21:25:15 +08:00
Mayank Aggarwal
14f2b7c2b8
[BAEL-5420] Added value object creation ( #11901 )
...
* [BAEL-5420] Added value object creation
* BAEL-5420 Added JavaBean and DTO classes
* [BAEL-5420] Indented the code
* Renamed EmployeePojo to EmployeePOJO
* BAEL-5420: Renamed to EmployeeDTO
* [BAEL-5420] Resolving Review comments
Co-authored-by: Mayank Agarwal <mayankaggarwal@zeta.tech>
2022-03-15 22:14:34 +05:30
Seshu Kumar T
3c5aaa6b09
Producer consumer problem ( #11781 )
...
* Producer consumer problem
* Simplified producer consumer added
Co-authored-by: Seshu Thanneeru <seshukumar.thanneeru@thoughtdata.com>
2022-03-15 14:57:51 +01:00
kwoyke
cdc6380359
Merge pull request #11920 from freelansam/JAVA-10138
...
JAVA-10138 - Fix formatting of POMs
2022-03-14 15:00:17 +01:00
sampadawagde
b8176a265a
JAVA-10138 - Fix formatting of POMs
2022-03-13 14:48:44 +05:30
thibaultfaure
c6bd572eda
BAEL-4524 Acquire a Lock By Key in Java ( #11872 )
2022-03-10 20:34:39 -06:00
kwoyke
410ccd500b
JAVA-10399: Fix assertion to include start date ( #11893 )
2022-03-09 22:38:22 +05:30
ACHRAF TAITAI
c1d1134fb3
BAEL-4569: Formatting Email Text ( #11910 )
2022-03-08 12:52:10 -08:00
Asjad J
3d92ca2c41
Updated README.md
...
added a link back to the article: https://www.baeldung.com/java-bytebuffer
2022-03-07 19:31:42 +05:00
Asjad J
6fe59e7aea
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-rock-paper-scissors
2022-03-07 17:54:47 +05:00
Asjad J
08e84780bf
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-read-file-into-map
2022-03-07 17:50:33 +05:00
Haroon Khan
9da940a252
[JAVA-10398] Rename intermittent failing test to ManualTest
2022-03-06 00:41:44 +00:00
Loredana Crusoveanu
ce22b5b69c
Merge pull request #11875 from Asjad-J/master
...
Updated README.md files
2022-03-01 10:01:04 +02:00
maibin
786138fd9b
Revert "Added a new Class and few test cases to the core-java-modules ( #11867 )" ( #11874 )
...
This reverts commit e10e20a24b
.
2022-02-28 21:22:53 -08:00
Asjad J
188d5daaf6
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-map-new-entry
2022-03-01 09:53:30 +05:00
Asjad J
085d41f3e5
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-missing-return-statement
2022-03-01 09:30:07 +05:00
Asjad J
bd175a879c
Updated README.md
...
added link back to the article: https://www.baeldung.com/java-map-vs-hashmap
2022-03-01 09:21:53 +05:00
Asjad J
ca1feef04f
Updated README.md
...
Added link back to the article: https://www.baeldung.com/java-producer-consumer-problem
2022-03-01 09:13:20 +05:00
Kai Yuan
5582611107
file to map article ( #11838 )
...
* file to map article
* add aggregateByKeys method
2022-02-28 19:44:16 -06:00
Chukwuka Onyekachukwu Victor
e10e20a24b
Added a new Class and few test cases to the core-java-modules ( #11867 )
...
* added a new project: hexagonal architecture
* Added some test cases for the project
* Added a new project to demo the error: variable might not have been initialized
* Added a new Class to the core-java-modules
* Added a New Class to the core-java-module
2022-02-27 12:33:39 -08:00
Elmar Mammadov
e65fe9db25
BAEL-5350: Java - How to create new Entry (key, value) ( #11817 )
...
* BAEL-5350:
1. Added example usage of creating entries with Java itself
2. Added example usage of creating entries with Apache commons collecttions & Guava
3. Custom entry class and its usages
* BAEL-5350:
1. Created unit tests
* BAEL-5350:
1. simplifed assertion for java 9 entry creation
* BAEL-5350:
1. moved into core-java-collections-maps-4 module
2. updated custom entry class and its unit test
2022-02-26 09:54:07 +05:30
vunamtien
1d80576a7c
BAEL-5379-create-simple-rock-paper-scissors-game ( #11855 )
...
* BAEL-5379-create-simple-rock-paper-scissors-game
* BAEL-5379-create-simple-rock-paper-scissors-game
* BAEL-5379-create-simple-rock-paper-scissors-game
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-24 22:15:22 +01:00
lsieun
6ca42b7a4e
BAEL-4151: Guide to ByteBuffer ( #11859 )
...
* Convert Byte Array to its Numeric Representation
* Remove Redundant Getter Method
* BAEL-4286 How to get the value of a bit at a certain position from a byte
* BAEL-4286(update): remove redundant test methods
* BAEL-4151: Guide to ByteBuffer
2022-02-24 22:13:13 +01:00
johnA1331
9011fdc4f5
Update README.md
2022-02-23 19:52:51 +08:00
johnA1331
cf98dad5db
Update README.md
2022-02-23 19:51:34 +08:00
johnA1331
32813cbc3e
Update README.md
2022-02-23 19:01:47 +08:00
doodoroma
39c8314079
Merge pull request #11780 from mayank4all/BAEL-5351
...
Bael 5351: Added empty map initialization methods in Java 8 & java 9
2022-02-22 08:20:21 +01:00
alemoles
26a0093154
BAEL-5391 - Java Error "Missing return statement" ( #5 ) ( #11845 )
...
* BAEL-5391 - Java Error "Missing return statement" (#5 )
* BAEL-5391 - Java Error "Missing return statement"
2022-02-21 19:13:41 -08:00
Eugene Kovko
5ee332c606
BAEL-5349 Example for the difference between map and hashmap ( #11827 )
...
* example for the difference between map and hashmap
* unit tests for the example
* rename unit tests
Co-authored-by: eugene.kovko <eugene.kovko@tensquaregames.com>
2022-02-21 17:05:08 -08:00
vunamtien
082d48e291
BAEL-5379-create-simple-rock-paper-scissors-game ( #11846 )
...
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-21 18:35:48 +01:00
Haroon Khan
cd70006bb6
[JAVA-9986] Fix ThreadStamped unit test
2022-02-17 08:51:17 +00:00
polomos
7966e98d90
BAEL-4388 Test reading keyStore without trustAnchor ( #11785 )
2022-02-15 15:14:36 -06:00
vunamtien
864b139aa4
BAEL-5332-convert-byte-array-and-uuid ( #11822 )
...
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-02-15 21:19:44 +01:00
Loredana Crusoveanu
c2aa464af1
Merge pull request #11706 from mobinskariya/master
...
Move arrive and wait after thread sleep and detailed logging
2022-02-15 18:15:41 +02:00
Loredana Crusoveanu
9dc5d75a16
formatting, additional details on how to run the app
2022-02-15 13:39:08 +02:00
Loredana Crusoveanu
a4a03c4790
move remaining files for instrumentation article
2022-02-15 13:31:37 +02:00
Mayank Agarwal
7995f7d7c5
BAEL-5351: Moved to core-java-collections-4
2022-02-13 16:43:59 +05:30
johnA1331
63ea5889d2
Create README.md
2022-02-09 14:06:10 +08:00
vaibhav007jain
1bf44ff8ef
BAEL-5280: added code for ArrayIndexOutOfBoundsException. ( #11772 )
...
* commited initial code for hexagonal architecture
* Deleting to check in again
* Deleing to check in again
* Push first code for Hexagonal Architecture
* final code with UT for JSON to Java conversion
* removed hexagonal-architecture code from last commit
* BEL-5071 updated README
* BAEL-5071: Undo README changes and added a nested object in the JSON example.
* BAEL-5071: fixed whitespace/indentation in JsonToJavaClassConversion.java
* BAEL-5151: Added code for getting the first of a String
* BAEL-5151: Renamed Unit Test
* BAEL-5151: Moved the files from core-java-string-operations to core-java-string-operations-3
* BAEL-5151: Replaced tabs with white spaces.
* BAEL-5228: Adding code for approaches to concatening null string in java
* BAEL-5228: Moved file to correct folder and added a UT.
* BAEL-5228: corrected import statements.
* BAEL-5228: corrected last commit.
* BAEL-5228: removed extra import.
* BAEL-5228: renamed UT
* BAEL-5280: added code for ArrayIndexOutOfBoundsException.
* BAEL-5280: moved code for ArrayIndexOutOfBoundsException in a new module.
* BAEL-5280: Fixed tab/spaces in pom.xml.
* BAEL-5280: Fixed indentation in ArrayIndexOutOfBoundsExceptionDemoUnitTest.java.
Co-authored-by: Vaibhav Jain <vaibhav.ashokjain@vodafone.com>
2022-02-08 13:45:38 +05:30
johnA1331
a63ea1944d
Update README.md
2022-02-08 12:11:51 +08:00
Mayank Agarwal
b35d0ea7c4
BAEL-5351: Unit Tests name as per BBD convention
2022-02-08 00:40:07 +05:30
Haroon Khan
e1212155fe
[JAVA-9895] Split concurrency-basic-2 module
2022-02-07 12:19:20 +00:00
Mayank Agarwal
54f43a311a
BAEL-5351: Resolved PMD violations by renaming file
2022-02-05 12:03:34 +05:30
Mayank Agarwal
7f88e21e92
BAEKL-5351: Added method for empty sorted map
2022-02-05 11:56:54 +05:30
Mayank Agarwal
2e8381fbd7
BAEL-5351: Added unit tests for empty map methods
2022-02-05 11:53:37 +05:30
Mayank Agarwal
d2332a5c10
BAEL-5351: Added empty map initialization methods in Java
2022-02-05 11:52:40 +05:30
kwoyke
896d32c182
Merge pull request #11750 from hkhan/JAVA-9019-clean-up-log-statements
...
Java 9019 clean up log statements
2022-02-02 11:21:55 +01:00
Haroon Khan
a7980094d1
[JAVA-9021] Clean up uncommitted artifacts ( #11754 )
2022-02-01 19:38:56 +05:30
ashleyfrieze
69e04d5ac0
BAEL-5354 Add improvement to cover JDK11 solution to the repeated string problem ( #11756 )
2022-01-30 21:49:04 -06:00
Haroon Khan
fc145be4a8
[JAVA-9019] Logging clean up
2022-01-29 16:24:15 +00:00
Haroon Khan
f72971181e
[JAVA-9019] Logging clean up
2022-01-28 22:50:49 +00:00
Haroon Khan
a8ce62042f
[JAVA-9019] Move sysout lines to info logging
2022-01-28 22:20:11 +00:00
johnA1331
2b6ef89555
Update README.md
2022-01-26 17:48:52 +08:00
johnA1331
3874415836
Update README.md
2022-01-26 17:45:09 +08:00
johnA1331
f92a336512
Update README.md
2022-01-26 17:41:44 +08:00
johnA1331
f1bdc807b5
Update README.md
2022-01-26 17:39:48 +08:00
johnA1331
af7c764ce9
Update README.md
2022-01-26 17:35:42 +08:00
johnA1331
a5defe6121
Update README.md
2022-01-26 17:26:50 +08:00
davidmartinezbarua
32e682542b
Merge pull request #11710 from mladensavic94/master
...
Difference between NIO and NIO.2?
2022-01-23 12:16:33 -08:00
Greg Martin
ff1ebafe37
Merge pull request #11588 from sachin071287/feature/bael-5271
...
BAEL-5271 set custom thread name
2022-01-23 14:33:46 -05:00
Loredana Crusoveanu
958a85f567
Merge pull request #11730 from Asjad-J/master
...
BAEL-47433 - add links to github-baeldung articles
2022-01-23 18:58:37 +02:00
Asjad J
21b2f0127a
Update README.md
...
add link back to article: Hidden Classes in Java 15
2022-01-23 10:08:00 +05:00
Asjad J
4d0b7e6899
Update README.md
...
added link back to article
2022-01-23 09:57:22 +05:00
Asjad J
7cfd820f5b
Update README.md
...
added link back to article: Generating a Java String of N Repeated Characters
2022-01-23 09:40:01 +05:00
Arash Ariani
db396b39a9
BAEL-5131: constructor specification is added c ( #11586 )
...
* BAEL-5131: constructor specification is added c
* BAEL-5131: codes have been reformatted
* BAEL-5131: I've added a few minor changes over on this package.
* BAEL-5131: I've added a few minor changes over on this package.
2022-01-22 15:55:53 -06:00
Ulisses Lima
7ad433dcb6
[BAEL-4806] - How to test an LDAP connection from a client: code ( #11664 )
...
* working code
* added unit test
* [BAEL-4806] - How to test an LDAP connection from a client
Ticket: http://jira.baeldung.com/browse/BAEL-4806
Draft: https://drafts.baeldung.com/wp-admin/post.php?post=125004&action=edit
* removing draft project
* applying requested changes
* 1. renaming package to comply with java conventions;
* 2. breaking class into methods to enhance readability;
* 3. creating an 'execute' method so it's not necessary to call 'main';
* requested changes
* 1. adding final keyword to constants;
* 2. using diamond operator;
* Update LdapConnectionToolManualTest.java
2022-01-22 19:59:45 +01:00
Vlad Fernoaga
9cb3d6e8e5
BAEL-4714 - Java Concurrent HashSet equivalent to ConcurrentHashMap ( #11721 )
...
* add article code and unit tests
* fix PMD rule violation
Co-authored-by: vlad fernoaga <vlad.fernoaga-external@getyourguide.com>
2022-01-21 07:48:48 -08:00
Azhwani
02e4cf9f99
first commit ( #11716 )
2022-01-20 19:27:09 -06:00
johnA1331
b9399fb5f7
Update README.md
2022-01-20 18:08:58 +08:00
johnA1331
17e0cc77a1
Update README.md
2022-01-20 17:52:02 +08:00
johnA1331
605fbc0f8b
Update README.md
2022-01-20 17:50:55 +08:00
vunamtien
caa13dd4d1
compute x509 certificate thumbprint ( #11717 )
...
Co-authored-by: tienvn4 <tienvn4@ghtk.co>
2022-01-18 22:43:29 +01:00
Krzysiek
5f4543c31d
JAVA-9486: Use guava.version defined in the parent pom
2022-01-17 20:18:43 +01:00
Loredana Crusoveanu
000f3082f4
Merge pull request #11713 from kwoyke/JAVA-9123
...
JAVA-9123: POM properties cleanup
2022-01-17 20:04:15 +02:00
Krzysiek
8c08be0403
JAVA-9123: POM properties cleanup
2022-01-17 14:03:32 +01:00
ACHRAF TAITAI
4380185074
first commit ( #11683 )
2022-01-16 14:58:04 -06:00
Mladen Savic
d0735facef
Difference between NIO and NIO.2?
2022-01-16 21:31:59 +01:00
davidmartinezbarua
bd34e3b56e
Merge pull request #11665 from aalbatross/origin/BAEL-5158
...
BAEL-5158: Find which jar file a class is from
2022-01-15 14:01:39 -03:00
mobin
31ddc6a45d
Move arrive and wait after thread sleep and detailed logging
2022-01-15 16:37:28 +05:30
pabloubal
eb05d3fec3
BAEL-5178:An introduction to InstantSource ( #11646 )
...
* BAEL-5178:An introduction to InstantSource
* BAEL-5178:PR fixes
Co-authored-by: Pablo Ubal <pablo.ubal@flexit.es>
2022-01-13 20:42:54 +05:30