Commit Graph

2638 Commits

Author SHA1 Message Date
edizor 03cc9c90b7 Update README.md
[skip ci]
2023-05-11 23:42:17 +08:00
edizor b22707d69e Update README.md
[skip ci]
2023-05-11 23:33:10 +08:00
brokenhardisk 4192bf3bdc BAEL-6342 JUnit Test Class for Null and Empty String (#13963) 2023-05-11 09:23:11 +05:30
Kai Yuan a74f4ec8f5 [scanner-to-array] Saving Java Scanner Input to an Array (#13969) 2023-05-10 20:29:50 -05:00
Kilian Schneider c06e1ab413 BAEL-6185 reuse string builder performance (#13791) 2023-05-10 07:39:34 -07:00
Anastasios Ioannidis 1ff112228c JAVA-19152 Increased the awaitility timeout for one more poll delay (#13975) 2023-05-09 12:55:49 +03:00
davidmartinezbarua 1fd15c9557 Merge pull request #13934 from thibaultfaure/articles/BAEL-6438-find-longest-word-in-given-string
BAEL-6438 Code for the Find the longest word in a given string article
2023-05-09 00:41:01 -03:00
Bahaa El-Din Helmy 53d269ca68 Add files via upload (#13978) 2023-05-08 14:11:33 -07:00
Eugene Kovko 4cc0380249 BAEL-6501 Update article "The producer-consumer problem example in Java" (#13973)
* BAEL-6501 Changed the synchronization block to use the DataQueue

* BAEL-6501 Fixed the platform agnostic new lines

* BAEL-6501 Moved ID increment to a static method

* BAEL-6501 Added a logger
2023-05-08 14:04:21 -07:00
3hsan e16bd13cc8 JAVA-16946: disable unit test for core-java-lang-oop-modifiers module for maintenance (#13968) 2023-05-08 17:13:49 +03:00
3hsan bc19c39c52 JAVA-19152: fix intermittently failing RequestProcessorUnitTest (#13957) 2023-05-08 15:53:44 +03:00
Kai Yuan 65cf74f42f [compByteArrays] Comparing Two Byte Arrays in Java (#13935) 2023-05-07 10:05:37 -05:00
Loredana Crusoveanu 8e6f7bf490 Merge pull request #13956 from edizor/master
Update README
2023-05-07 08:10:20 +03:00
Bhaskar Ghosh Dastidar ce79066afc [BAEL-6253] record equals hashcode (#13958)
* [BAEL-6253] records equals and hashcode

* [BAEL-6253] records equals and hashcode

* [BAEL-6253] records equals and hashcode test case

---------

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-05-06 09:28:20 -07:00
Kai Yuan dea82bf189 [BAEL-6485_RM-Punctuation] Remove Punctuation (#13946) 2023-05-05 20:11:54 -05:00
ACHRAF TAITAI 3ab60dc307 BAEL-6332: Calling Non-Static Method In Static Method In Java (#13940) 2023-05-05 22:25:50 +02:00
thibault.faure daf01922de BAEL-6438 Code for the Find the longest word in a given string article 2023-05-05 20:50:54 +02:00
edizor 7d26ae4a5e Update README.md
[skip ci]
2023-05-06 00:19:31 +08:00
edizor 35d5f583ac Update README.md
[skip ci]
2023-05-06 00:15:22 +08:00
edizor bb7a389e01 Update README.md
[skip ci]
2023-05-06 00:09:33 +08:00
edizor cc061011c7 Update README.md
[skip ci]
2023-05-05 23:28:38 +08:00
edizor 69e5f59d4b Update README.md
[skip ci]
2023-05-05 23:24:09 +08:00
edizor f37f777d93 Update README.md
[skip ci]
2023-05-05 21:41:29 +08:00
Ana Peterlić d313b76fc7 BAEL-5814 - Is CompletableFuture Non-blocking (#13917)
* BAEL-5814 - Is CompletableFuture Non-blocking

* Fix the formatting
2023-05-04 07:25:07 +05:30
Arya 23ec3d24d2 Added the code for "The difference between BufferedReader and FileReader". (#13942) 2023-05-03 14:52:17 -07:00
Daniel Strmecki 078826eef5 BAEL-6254: Scoped values (#13756) 2023-05-03 21:00:47 +01:00
Kai Yuan 5cac883023 [BAEL-6436_printQuotesAroundString] Print "" Quotes Around a String in Java (#13925) 2023-05-02 16:31:35 -05:00
Alejamdro dbf99bc402 BAEL-6327 - Find the index of an element in a Java array (#13844) 2023-05-02 19:04:36 +05:30
Azhwani 7d86466fb7 BAEL-6435: Reverse a String in Java 8 using Lambda and Streams (#13910) 2023-05-02 08:29:16 +02:00
Shaun Phillips 18834b349e BAEL-6325 Create core-java-lang-oop-constructors-2 (#13933)
* BAEL-5915 Added different ways to create an object

* BAEL-6325 Create core-java-lang-oop-constructors-2
2023-05-01 19:53:21 -07:00
Loredana Crusoveanu 2d2c842d2f Merge pull request #13920 from edizor/master
Update README
2023-04-30 11:23:00 +03:00
Kai Yuan d085dae380 [BAEL-6434_charAndString] Difference Between "char" and "String" (#13907) 2023-04-28 18:06:34 -05:00
Azhwani f1ac6f1857 BAEL-6352: Check if the First Letter of a String is a Number (#13883) 2023-04-29 00:13:35 +02:00
edizor 86e237a142 Update README.md
[skip ci]
2023-04-28 21:29:45 +08:00
edizor 1ad6fdca44 Update README.md
[skip ci]
2023-04-28 21:15:28 +08:00
edizor 6b2b4eb4cb Update README.md
[skip ci]
2023-04-28 21:02:28 +08:00
edizor d3328aa8a6 Update README.md
[skip ci]
2023-04-28 20:53:23 +08:00
edizor 51adee522f Update README.md
[skip ci]
2023-04-28 20:25:11 +08:00
edizor 403c4cf467 Update README.md
[skip ci]
2023-04-28 20:10:52 +08:00
Loredana Crusoveanu ba0f7855eb Merge pull request #13640 from pjfanning/patch-2
simplify StandardCharsets use
2023-04-28 11:02:57 +03:00
Bogdan Cardoş c8cd042d64 BAEL-6079 Code examples from article (#13486)
* BAEL-6079 Code examples from article

* BAEL-6079 Code examples from article

* BAEL-6079 Code examples from article update

* BAEL-6079 Code examples from article update
2023-04-26 08:30:27 +02:00
Kai Yuan 178782aebf [BAEL-6442_Build-URL] create URL objects using apache httpclient & spring-web (#13892) 2023-04-24 19:35:42 -05:00
anuragkumawat 90f2d165bf JAVA-20496 Non-article code: rawtypes and sandbox packages (#13886)
* JAVA-14232 Dissolving core-java module completed
2023-04-24 10:40:47 +03:00
Kai Yuan b00b487b4c [BAEL-6371_char_frequence] Find the Most Frequent Characters in a String (#13877) 2023-04-23 20:46:39 -05:00
Kai Yuan d5b60345cf [BAEL-6353_After-regex-match] Getting the Text That Follows After the Regex Match in Java (#13839) 2023-04-22 17:25:06 -05:00
Loredana Crusoveanu 2852feab1c Merge pull request #13881 from eugenp/lor6-patch-2
Create README.md
2023-04-21 18:53:09 +03:00
Loredana Crusoveanu c63f0d1c08 Create README.md 2023-04-21 18:48:58 +03:00
Loredana Crusoveanu aa310ba299 Update README.md 2023-04-21 18:48:42 +03:00
Loredana Crusoveanu 9bace94aae Merge pull request #13815 from bhaskar16/JAVA-6173-parallel-stream-difference-change-location
[JAVA-6173] stream.parallelStream and Collections parallel stream differnces
2023-04-21 18:48:10 +03:00
Loredana Crusoveanu 977c18e59a Merge pull request #13879 from eugenp/lor6-patch-2
Update README.md
2023-04-21 18:44:58 +03:00
Loredana Crusoveanu 3706cc38c5 Update README.md 2023-04-21 18:40:28 +03:00
Loredana Crusoveanu 48d4f9ab07 Update README.md 2023-04-21 18:40:15 +03:00
Kai Yuan d19a53c2d3 [BAEL-6363_nextInt-vs-nextLine] Integer.parseInt(scanner.nextLine()) vs scanner.nextInt() in Java (#13858) 2023-04-20 17:41:34 -05:00
anuragkumawat fbc3b5920b JAVA-19119 Move article Java Money and the Currency API to core-java-lang-math-3 module (#13602)
* JAVA-19119 Move article Java Money and the Currency API to core-java-lang-math-3 module
2023-04-20 19:21:19 +03:00
anuragkumawat b7ea8e622d Java 19120 Code review changes (#13747)
* JAVA-19120 Move article Lambda Expression vs. Anonymous Inner Class to core-java-8-2 module

---------

Co-authored-by: Anastasios Ioannidis <121166333+anastasiosioannidis@users.noreply.github.com>
2023-04-20 18:40:19 +03:00
edizor 6cf91e7eca Update README.md
[skip ci]
2023-04-20 17:48:05 +08:00
edizor e77b3ae85a Update README.md
[skip ci]
2023-04-20 17:30:31 +08:00
edizor c17f95c27c Update README.md
[skip ci]
2023-04-20 17:28:12 +08:00
edizor 2dd966206c Update README.md
[skip ci]
2023-04-20 17:19:59 +08:00
edizor 67fa63242d Update README.md
[skip ci]
2023-04-20 17:17:22 +08:00
edizor 90b9b536ff Update README.md
[skip ci]
2023-04-20 17:13:37 +08:00
Loredana Crusoveanu b01a849724 Merge pull request #13842 from edizor/master
Update README
2023-04-18 13:31:26 +03:00
Eugene Kovko ae04ab2510 feat: BAEL-5947 External Debugging with JMXTerm (#13847)
* feat: BAEL-5947 External Debugging with JMXTerm

* fix: Removed a faulty test

* fix: Change Random to ThreadLocalRandom

* fix: Renamed a method

* fix: Formatting fix
2023-04-16 20:14:50 -07:00
Dhawal Kapil e243694f39 JAVA-20211 Renamed modules (#13827)
* JAVA-20211 Renamed modules

* JAVA-20211 Renamed modules
2023-04-15 10:01:14 +05:30
panos-kakos 5471db832c [JAVA-15018] Removed redundant apache httpclient dependency + added commons-codec (#13828) 2023-04-14 18:38:12 +05:30
edizor f34c3e993b Update README.md
[skip ci]
2023-04-14 16:35:28 +08:00
tgvLt 5c2126b626 Parse dates with multiple formats (#13348)
Code examples for "Parsing Date Strings with Varying Formats"
2023-04-13 23:22:30 -06:00
sam-gardner ae52ba3968 BAEL-5771 Add code for url query manipulation in Java (#13820) 2023-04-13 19:02:41 +02:00
Eugene Kovko c255eb13c1 BAEL-4174: Java Modularity and Unit Testing (#13805)
* feat: Added two main modules

* feat: Renamed test module

* feat: Added scripts for compiling library modules

* feat: Added scripts for running core module

* feat: Added scripts for running test module

* fix: Fixed module name

* fix: Removed unnecessary module imports

* feat: Added script for running tests with patch

* fix: Remove unnecessary module path imports

* feat: Script for simple classpath tests

* fix: Updated output directory

* fix: Updated output directory for test compilation

* fix: Replace maven repository with local lib folder

* feat: Add lib folder

* feat: Update the scripts

* fix: Remove pom from test module

* fix: Update core pom dependencies

* fix: Remove test module from a parent pom

* fix: Removed jars and added a script

* fix: Fix a script

* fix: Fix pom conflict
2023-04-13 07:51:31 -07:00
Alejamdro 1787041bd8 BAEL-6078 - Convert an Integer Value into 2-Digit Hex Value in Java (#13682) 2023-04-13 08:31:45 +05:30
kpentaris 88a97dc6c2 Highcpu (#13821)
* Add application file for BAEL-4496

* Move BAEL-4496 code from core-java-19 to core-java-perf-2
2023-04-12 19:30:33 +02:00
anuragkumawat cf5d158622 JAVA-19115 Create new core-java-properties sub module under core-java-modules (#13669)
* JAVA-19115 Create new core-java-properties sub module under core-java-modules
2023-04-12 17:17:52 +05:45
anuragkumawat ae3429db29 JAVA-19116 Create new core-java-compiler sub module under core-java-modules (#13658)
* JAVA-19116 Create new core-java-compiler sub module under core-java-modules
2023-04-12 16:46:55 +05:45
Alexandru Borza 67d6b1533b Generating Time Based UUIDs (#13668)
* time-based UUIDs

* review

* review
2023-04-11 19:21:36 +01:00
Loredana Crusoveanu e819357f00 Merge pull request #13812 from ulisseslima/bael-322-quickfix_echo-server
BAEL-322 - quick fix - echo server loop
2023-04-11 14:31:59 +03:00
anuragkumawat 197d85d705 JAVA-19117 Create new core-java-documentation sub module under core-java-modules (#13619)
* JAVA-19117 Create new core-java-documentation sub module under core-java-modules
https://team.baeldung.com/browse/JAVA-19117
2023-04-11 13:04:28 +05:45
Azhwani 068915df2f BAEL-6313: Supporting ImmutableMap.ofEntries in Guava (#13751) 2023-04-11 08:38:52 +02:00
Bhaskar 685a9495d1 [JAVA-6173] stream.parallelStream and Collections parallel stream differences 2023-04-10 23:49:37 +05:30
Ulisses Lima 3ec56eab46 check client still readable 2023-04-10 14:17:51 -03:00
jsgrah-spring 23c1abe3f2 JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583)
JAVA-18116 Review log statements for projects - Week 7 - 2023 (#13583)
---------

Co-authored-by: jogra <joseph.sterling.grah@miles.no>
2023-04-10 14:35:40 +03:00
anuragkumawat 26790b429f JAVA-19118 Create new core-java-locale sub module under core-java-modules (#13612)
* JAVA-19118 Create new core-java-locale sub module under core-java-modules
2023-04-10 15:22:29 +05:45
Loredana Crusoveanu 4792107e96 Merge pull request #13774 from dkapil/task/JAVA-19536_cd
JAVA-19536 Fix formatting of pom.xmls
2023-04-10 10:23:06 +03:00
Deboshree d694564141 https://jira.baeldung.com/browse/BAEL-5837
pass default value as method param
2023-04-10 08:30:15 +05:30
Loredana Crusoveanu 44b59b1ace Merge pull request #13788 from edizor/master
Update README
2023-04-09 10:29:33 +03:00
edizor 6e4502955a Update README.md
[skip ci]
2023-04-08 00:07:32 +08:00
Anastasios Ioannidis 57ad9ed32e JAVA-18131 Adjust core-java-jvm PrintClassLoaders to sync with article (#13780) 2023-04-07 21:33:05 +05:30
edizor c07f3eb890 Update README.md
[skip ci]
2023-04-07 23:56:46 +08:00
edizor 19e050852c Update README.md
[skip ci]
2023-04-07 23:51:06 +08:00
Iniubong LA f21cf9951b arthurshur (#13737)
* Creating a deep vs shallow copy of an object in Java

* Creating a deep vs shallow copy of an object in Java

* Baeldung article converting number bases

* Baeldung article converting number bases

* edits made to Converting a Number from One Base to Another in Java

* added braces to oneliners

* added precondition to check input

* String[] vs String...

* helper vs Utility classes

* helper vs utility classes code

* helper vs utility classes refactor

* utility vs helper class

* Helper vs utility

* helper vs utility classes

* refactor package name

* Revert "refactor package name"

This reverts commit d9464aa2de272b75ff7efe1c5ffb4de7fd4506e0.

* renamed package
2023-04-05 20:22:12 -05:00
Dhawal Kapil 7026b0abc9 JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
Michael Olayemi 9c59017b4e I text (#13770)
* BAEL-6226 Calculate Pi Java Program

* BAEL-6226 Calculate Pi Java Program

* Calculate Pi Java Program
2023-04-05 06:44:45 +05:30
kpentaris 9df061c513 Add application file for BAEL-4496 (#13762) 2023-04-04 13:39:51 +02:00
Michael Olayemi 4cebc2aaf1 BAEL-6226 Calculate Pi Java Program (#13693)
* BAEL-6226 Calculate Pi Java Program

* BAEL-6226 Calculate Pi Java Program
2023-04-04 07:36:12 +05:30
panos-kakos 38ae7e56dd [JAVA-19668] (#13721)
* [JAVA-19668] Moved libraries-5 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries-4 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries-6 module to jdk9-and-above profile

* [JAVA-19668] Moved libraries module to jdk9-and-above profile + reverted changes fro libraries-6

* [JAVA-19668] Created libraries-jdk8 module

* [JAVA-19668] Clean up
2023-04-03 22:52:11 +05:30
Deboshree 60eb348df5 https://jira.baeldung.com/browse/BAEL-
moved the code to a different module
2023-04-03 15:11:48 +05:30
Kai Yuan 4027e83023 [str-to-uuid] uuid from string (#13736)
* [str-to-uuid] uuid from string

* [str-to-uuid] rename test methods
2023-04-01 10:06:23 -05:00
Kai Yuan c40bdd9f36 [BAEL-6297_boolean-to-str] convert boolean to java article (#13729)
* [BAEL-6297_boolean-to-str] convert boolean to java article

* [BAEL-6297_boolean-to-str] using Boolean.FALSE instead of false for the Boolean variable

* [BAEL-6297_boolean-to-str] rename test methods
2023-03-30 18:01:25 -05:00
Anastasios Ioannidis 11f740192c JAVA-18131 Upgrade core-java-modules to JDK 11 (#13462)
* JAVA-18131 Upgrade core-java-modules to JDK 11

* JAVA-18131 Fixed pom conflicts

* JAVA-18131 Upgraded ASM and updated expected test results

* JAVA-18131 Fixed FormatNumberUnitTest and removed core-java-security from upgrading to 17

* JAVA-18131 Removed core-java-sun from upgrading

* JAVA-18131 Removed core-java-jvm-2, fixed number test

* JAVA-18131 Removed core-java-sun from upgrading to 11

* JAVA-18131 Removed all edited submodules from pre-jdk9

* JAVA-18131 removed pre-jpms from pre-jdk9

* JAVA-18131 Removed core-java-numbers-3 from pre-jdk9 profiles

* JAVA-18131 Cleanup

* JAVA-18131 Cleanup 2 - Removed upgraded submodules from core-java-modules

* JAVA-18131 Cleanup completed

* JAVA-18131 Replaced core-java-modules submodules in main pom with core-java-modules

* JAVA-18131 Replaced core-java-modules submodules in main pom, continued

* JAVA-18131 Core-java-nio-2, core-java-serialization back to pre-jdk9

* JAVA-18131 Try removing math-3 from core-java-modules and explicitly refer in parent pom

* JAVA-18131 Removed -lang, -nio, -streams-2, -math-3, -conversions-2 from jdk9 profiles

* JAVA-18131 Corrected conversions-2 module

* JAVA-18131 Review fixes

* JAVA-18131 Fixed -nio, re-upgraded -lang

* JAVA-18131 Adapted -nio for JDK 11, returned -lang to JDK 8

* JAVA-18131 Final corrections
2023-03-31 01:39:12 +05:30
Loredana Crusoveanu 4d9f26ebe3 Merge pull request #13741 from edizor/master
Update README
2023-03-30 20:58:43 +03:00
anuragkumawat dd5badab9c JAVA-19058 Review the time of the build - Week 42 - 2022 (moved-18) (#13732) 2023-03-30 21:56:27 +05:30