Commit Graph

3279 Commits

Author SHA1 Message Date
edizor 349fee9202 Update README.md
[skip ci]
2023-10-20 22:00:01 +08:00
edizor 76fc84ba64 Update README.md
[skip ci]
2023-10-20 21:49:19 +08:00
edizor 8457a250f4 Update README.md
[skip ci]
2023-10-20 21:46:32 +08:00
edizor b3702a402a Update README.md
[skip ci]
2023-10-20 21:44:03 +08:00
edizor bd31b72858 Update README.md
[skip ci]
2023-10-20 21:35:24 +08:00
edizor 29eb8388c9 Update README.md
[skip ci]
2023-10-20 21:33:29 +08:00
edizor 838e1d14ca Update README.md
[skip ci]
2023-10-20 21:31:32 +08:00
edizor 2e219b6a08 Update README.md
[skip ci]
2023-10-20 21:28:07 +08:00
edizor 2609ac2689 Update README.md
[skip ci]
2023-10-20 21:24:28 +08:00
edizor c309272de3 Update README.md
[skip ci]
2023-10-20 21:20:38 +08:00
edizor a89385b14f Update README.md
[skip ci]
2023-10-20 21:12:35 +08:00
edizor adfb51acac Update README.md
[skip ci]
2023-10-20 20:57:48 +08:00
edizor ca2edea0d4 Update README.md
[skip ci]
2023-10-20 20:57:31 +08:00
Kai Yuan fdca014527 [impr-list-of-lists] The size of list of lists (#15002) 2023-10-19 19:24:07 -05:00
davidmartinezbarua 0530fb8bca Merge pull request #14797 from thibaultfaure/articles/BAEL-6591-Wrapping-String
BAEL-6591 Code for the Wrapping a String After a Number of Characters…
2023-10-19 15:17:48 -03:00
Eugene Kovko e3e95fbc82 BAEL - 6715 (#15024)
* BAEL-6715: Fixed Indentation

* BAEL-6715: Changed Lists to Streams

* BAEL-6715: Inlined skip methods in the tests
2023-10-19 10:30:55 -07:00
Michael Olayemi 3178d8cb59 Get file size efficiently in Java (#14970)
* Get file size efficiently in Java

* Get file size efficiently in Java

* Get file size efficiently in Java

* Update FileSizeBenchmark.java
2023-10-19 17:45:54 +05:30
panos-kakos ec26c2802c [JAVA-4584] Clean up (#15006) 2023-10-19 13:47:13 +03:00
Loredana Crusoveanu 727e24feda Merge pull request #14980 from timis1/JAVA-25805
JAVA-25805 Review log statements for projects - Week 41 - 2023
2023-10-19 13:10:30 +03:00
Bipin kumar a44a7e4af1 JAVA-26001_A_C: Fix formatting of POMs for modules A to C (#14961) 2023-10-19 12:54:46 +03:00
Loredana Crusoveanu 43e4c6d9fe Delete core-java-modules/core-java-lang-math-3/src/test/java/com/baeldung/magicsquare/README.md 2023-10-18 14:12:40 +03:00
Loredana Crusoveanu 0f93942502 Update README.md 2023-10-18 14:11:54 +03:00
Dhawal Kapil c3c8b1d016 Update README.md (#15016) 2023-10-18 12:29:41 +05:30
MohamedHelmyKassab faddb1d62c Update CenteringTextUnitTest.java (#15011)
This commit aims to add new updates to the class "CenteringTextUnitTest" based on the review process recommendations.
2023-10-17 19:03:31 -07:00
Mo Helmy 3298d5fb96 Updating code related to the article BAEL-7017 (#15009)
* Update pom.xml

Update pom with the apache dependency

* Update WriteHashmaptoCVSFileUnitTest.java

Adding a new test method to solve the problem using Apache Commons CSV.
2023-10-17 18:59:54 -07:00
@hangga 7eef9b46b7 [Optimize] using try-with-resources 2023-10-17 20:18:28 +07:00
@hangga 223c0bd32f [Update] rename completableFuture to productDataFuture 2023-10-17 18:45:08 +07:00
@hangga 3f40e66508 clean unused 2023-10-17 18:29:26 +07:00
@hangga 38d4d8f621 text block 2023-10-17 18:24:02 +07:00
@hangga 2efe2c7987 using json body for sample 2023-10-17 13:50:31 +07:00
Kasra Madadipouya 0eac8610bd Merge pull request #14919 from alvin577austria/JAVA-20429
JAVA-20429 : Used URI() instead of the deprecated URL()
2023-10-17 01:43:16 +02:00
Kasra Madadipouya 1c3d24532d Merge pull request #14921 from panos-kakos/JAVA-25962
[JAVA-25962] Upgraded joda-time version to 2.12.5
2023-10-17 01:20:31 +02:00
Mikhail Polivakha 5d6e1a21ff BAEL-7022 (#14984)
* BAEL-6706 source code

* BAEL-7022 implemented
2023-10-16 09:38:35 -07:00
@hangga c1f53973cd [Update] clean trash 2023-10-16 18:33:15 +07:00
@hangga 7e924cefe4 [update] method name, result, flow 2023-10-16 17:31:19 +07:00
panos-kakos 6d7040879b [JAVA-4584] Enabled core-java-12 module (#14926)
Enabled 12,13,15
2023-10-16 12:52:33 +03:00
MohamedHelmyKassab 0eafba3ba1 This PR related to the article BAEL-7023 (#14993)
* Update pom.xml

* This commit related to the article BAEL-7023

This commit aims to add a test class 'CenteringTextUnitTest.java' proposing several ways to center text in Java.
2023-10-15 15:25:13 -07:00
Mo Helmy ab62e675ec This commit is related to the article BAEL-7017 (#14985)
This commit aims to add a new test class named "WriteHashmaptoCVSFileUnitTest.java" that explains how to write HashMap to a CSV file.
2023-10-15 15:21:36 -07:00
Kai Yuan 8934c1492f [put-vs-computeIfAbsent] Difference Between putIfAbsent and computeIfAbsent in Java Map (#14977) 2023-10-15 15:27:03 -05:00
timis1 696ac5670a JAVA-25805 Review log statements for projects - Week 41 - 2023 2023-10-14 17:09:16 +03:00
emanuel.trandafir 06943519f8 BAEL-7001: retry RetryCompletableFuture 2023-10-14 13:06:31 +02:00
Kai Yuan 24dcde3d6d [join-str-comma-and] Joining Strings follows natural language grammar (#14941) 2023-10-13 19:41:06 -05:00
Eugene Kovko 268698089d BAEL-6715: Taking Every Nth Element from a Java Stream (#14974)
* BAEL-6715: Taking Every Nth Element from a Java Stream

* BAEL-6715: Renaming the tests
2023-10-13 10:47:19 -07:00
Michael Olayemi 604c45b8f0 Difference Between Information Hiding and Encapsulation (#14886)
* Difference Between Information Hiding and Encapsulation

* Difference Between Information Hiding and Encapsulation
2023-10-13 17:36:18 +05:30
panos-kakos ee98df03f4 [JAVA-12051] Moved code to core-java-streams-simple for ebook (#14889) 2023-10-13 14:41:35 +03:00
ulisses e9627963ef include header 2023-10-13 02:39:34 -03:00
Thibault Faure 0bf14c03f5 BAEL-6591 Code for the Wrapping a String After a Number of Characters World-Wise in Java article 2023-10-12 20:59:44 +02:00
MohamedHelmyKassab d6cedbf2fb This commit related to the article BAEL-6784 (#14900)
This commit aims to add a new test class to split Java String into Key-Value pairs
2023-10-12 09:26:33 +02:00
Loredana Crusoveanu 4a56ad8680 Merge pull request #14950 from edizor/master
Update README
2023-10-12 10:14:16 +03:00
Kai Yuan d64af6f9ac [record-field-reflection] Get All Record Fields and Its Values via Reflection (#14933) 2023-10-11 19:46:22 -05:00
Maiklins d083e32b1a Update README.md 2023-10-11 23:36:00 +02:00
edizor 80a01d78cd Update README.md
[skip ci]
2023-10-12 05:26:40 +08:00
edizor 5f1c499cea Update README.md
[skip ci]
2023-10-12 05:18:05 +08:00
edizor 475111027f Update README.md
[skip ci]
2023-10-12 05:13:08 +08:00
ovidiumihaitacu 3e9ea6e299 Merge branch 'eugenp:master' into master 2023-10-11 20:59:46 +03:00
ovidiu-mihai98 b60089275f Created another module for core-java-reflection 2023-10-11 20:58:43 +03:00
Sam Gardner d4d4a0e1a4 BAEL-6895 extend String format test to cover negatives 2023-10-11 11:09:45 +01:00
Liam Williams daaefb0f26 Merge pull request #14807 from mcasari/master
BAEL-6846 - Converting from Float to BigDecimal in Java
2023-10-10 23:52:21 +01:00
Kai Yuan a74415a7c7 [rm-linebreaks-inFile] How to Remove Line Breaks From a File in Java (#14917) 2023-10-09 19:08:53 -05:00
Bhaskar Ghosh Dastidar a3148b3dd2 [BAEL-7035] improvement to value based class (#14938)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-10-09 13:08:57 -07:00
Anton Dalagan 3bd2e7eb3e Bael 6962 convert double to float in java (#14936)
* Commit 1 - Anton Dalagan Code for Evaluation article. Contains Unit tests, domain class, and App main method.

* BAEL-6962 - Created unit test, and updated pom.xml

* BAEL-6962 - Removed files unrelated to the article

* BAEL-6962 - Added a declartions for float and double in diff class. Updated unit tests.

* BAEL-6962 - Made changes into the unit tests. Removed printlns, and updated isinstance with assertequals
2023-10-09 13:05:03 -07:00
ACHRAF TAITAI 150efcec72 BAEL-6984: Deprecate URL Public Constructors in Java 20 (#14934) 2023-10-09 13:01:20 -07:00
Bhaskar Ghosh Dastidar 8ffbb095da [BAEL-6955] finalization deprcation (#14932)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-10-09 12:59:52 -07:00
@hangga e3ef6b6275 [Update] non static 2023-10-09 20:40:45 +07:00
@hangga 70e6dcd47b non static 2023-10-09 20:16:40 +07:00
Mo Helmy bb29bb9dcd Adding the new module to the main pom (#14924)
* This commit related to the article BAEL-6877

This commit aims to add a new Java module "core-java-collections-maps-7"

* Update pom.xml
2023-10-09 13:17:30 +02:00
Azhwani 1f3252df75 BAEL-6714: Convert Char Array to Int Array in Java (#14875) 2023-10-09 09:57:03 +02:00
Azhwani 52f4344bce BAEL-7057: How to convert CharSequence to String? (#14892) 2023-10-09 09:55:29 +02:00
Harry9656 901951bff7 BAEL-6898: Add Debug property for ssl Handshakes (#14822) 2023-10-09 09:53:54 +02:00
Rufina Uche 0e7c032aa8 Javadoublevsbigdecimal (#14862)
* Create BigDecimalConversionUnitTest.java

* Add files via upload

* Update BigDecimalConversionUnitTest.java

* Update BigDecimalConversionUnitTest.java

* Update BigDecimalConversionUnitTest.java
2023-10-09 09:53:46 +02:00
Kai Yuan b7f3161bc5 [bin-int-to-str] zero-padded binary string representation (#14885) 2023-10-08 21:30:55 -05:00
@hangga 92d038dc3c add default 2023-10-08 20:33:43 +07:00
@hangga 05f4487d63 [Update] no need to be public 2023-10-08 05:12:47 +07:00
Mo Helmy e62aba145b This commit related to the article BAEL-6877 (#14899)
This commit aims to add a new Java module "core-java-collections-maps-7"
2023-10-07 14:53:38 +02:00
etrandafir93 5aea5d5c29 BAEL-6782: partitioning streams (#14833)
* BAEL-6782: partitioning streams

* BAEL-6782: code reivew

* BAEL-6782: line continuations
2023-10-06 23:11:47 -05:00
panos-kakos 0c1ea7ae77 [JAVA-25962] Upgraded joda-time version to 2.12.5 2023-10-07 01:12:13 +03:00
Alvin Austria 27e89503fa JAVA-20429 : Used URI constructions instead of the deprecated URL constructors. 2023-10-06 23:12:32 +02:00
mcasari 68fd94288d change string constructor test case in simpler form 2023-10-06 21:57:56 +02:00
mcasari a8290e27cd Merge remote-tracking branch 'upstream/master' 2023-10-06 21:29:32 +02:00
Loredana Crusoveanu 428ec8cc6f Merge branch 'master' into master 2023-10-06 14:22:48 +03:00
edizor a9e906aa69 Update README.md
[skip ci]
2023-10-05 21:43:16 +08:00
edizor cb0bccfbd4 Update README.md
[skip ci]
2023-10-05 21:39:55 +08:00
edizor 4151a02bb6 Update README.md
[skip ci]
2023-10-05 19:34:57 +08:00
edizor 11cea0a956 Update README.md
[skip ci]
2023-10-05 19:26:10 +08:00
Bipin kumar d79e840c9d JAVA-25433: Fix the failing test in core-java-datetime-conversion (#14878) 2023-10-05 11:08:20 +03:00
edizor d9c845f3d2 Update README.md
[skip ci]
2023-10-05 15:57:02 +08:00
edizor 7607c700b5 Update README.md
[skip ci]
2023-10-05 15:52:15 +08:00
edizor cfcaee0e01 Update README.md
[skip ci]
2023-10-05 15:49:25 +08:00
edizor 5266e4d218 Update README.md
[skip ci]
2023-10-05 15:40:11 +08:00
edizor 39f1754fad Update README.md
[skip ci]
2023-10-05 15:38:21 +08:00
edizor 0c0dddef88 Update README.md
[skip ci]
2023-10-05 15:31:17 +08:00
Eugene Kovko d76083ae04 BAEL-6828: Finding the Square Root of a BigInteger in Java (#14903)
* BAEL-6828: Finding the Square Root of a BigInteger in Java

* BAEL-6828: Remove Java 9 annotation from the test

* BAEL-6828: Remove Java 9 profile
2023-10-04 09:23:38 -07:00
mcasari 7e1d5991e6 BAEL-6846 - tests revision due to article updates 2023-10-03 23:41:11 +02:00
mcasari 6f085f068a BAEL-6846 - minor code format fix 2023-10-03 18:34:40 +02:00
mcasari 89e987aa64 Merge remote-tracking branch 'upstream/master' 2023-10-03 18:29:06 +02:00
Alexandru Borza dc512cc408 BAEL-6971 Unnamed Classes and Instance Main Methods in Java 21 (#14841)
* BAEL-6727 Streams vs. Loops in Java

* BAEL-6971 - Unnamed Classes and Instance Main Methods in Java 21

* BAEL-6971 - decomment code

* BAEL-6971 - add child class

* BAEL-6971 - add unnamed class with method
2023-10-02 18:39:22 +05:30
Maiklins d1aa92f178 Merge pull request #14770 from niket17590/feature/BAEL-6963-ArrayList
BAEL-6963 - ArrayList with Multiple Object Types
2023-10-01 22:15:42 +02:00
mcasari 39c353c6ae BAEL-6846 - updates due to further discussion about float representation 2023-10-01 21:58:55 +02:00
Maiklins 9ca51279ae Update README.md 2023-10-01 21:56:19 +02:00
mcasari a493c570ad Merge remote-tracking branch 'upstream/master' 2023-10-01 21:48:56 +02:00