Commit Graph

139 Commits

Author SHA1 Message Date
Ana Peterlić 259de2ed39 BAEL-6700 - Check if Certificate is Self-Signed or CA Signed with Java (#14628)
* BAEL-6700 - Check if Certificate is Self-Signed or CA Signed with Java

* Added new module to parent pom

* Update test method names
2023-08-29 12:02:19 +05:30
Graham Cox 379992c84e BAEL-6813: Moved Magic Square code to core-java-lang-math-3 (#14587)
* BAEL-6813: Moved Magic Square code to core-java-lang-math-3

* Fix code to work below Java 11

* Fix unrelated broken test
2023-08-15 12:56:05 +02:00
Graham Cox 005d84d780 BAEL-6813: Creating a Magic Square in Java (#14572) 2023-08-11 12:57:48 +02:00
Ehsan Sasanianno 743d8e8ad4 java-20349: move pre-jpms module to core-java-9 module 2023-08-07 22:50:40 +02:00
Bipinkumar27 2ed0b60446 JAVA-22625:Changes made for testing the failing module 2023-08-04 20:06:01 +05:30
Bipin kumar 2229e249a5 JAVA-22625: Changes made for formatting the pom.xml (#14327)
* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: Changes made for formatting the pom.xml

* JAVA-22625: commenting module

* JAVA-22625: commenting module
2023-07-25 12:04:39 +05:30
timis1 f2ab4c2aa8 JAVA-22516 Split or move core-java-io-apis-2 module (moved-1) (#14361)
* JAVA-22516 Split or move core-java-io-apis-2 module (moved-1)

* JAVA-22516 Adding back the file after fixing the conflicts

---------

Co-authored-by: timis1 <noreplay@yahoo.com>
2023-07-14 23:00:39 +05:30
Tetiana 8be07c6b36 BAEL-6717 Convert One Enum to Another Enum in Java (#14400)
- added new module core-java-lang-6
- added data model and test for enums
2023-07-13 21:29:37 +02:00
thibault.faure a88028874b BAEL-5600 Code for the Read Date in Java using Scanner article 2023-06-16 10:52:58 +02:00
davidmartinezbarua 988a96ca97 Merge pull request #14055 from thibaultfaure/feature/BAEL-6438-move-article-to-new-submodule
Create new module core-java-string-operations-6
2023-06-09 09:57:25 -03:00
thibault.faure 159a127379 Create new module core-java-string-operations-6
Move code for the Find the Longest Word in a String article
2023-05-22 19:51:40 +02:00
Andrew Tarry 5ca5a1e8e7 add value of comparision 2023-05-17 21:23:14 +03:00
Ehsan Sasanianno 4fb65f5c6e JAVA-16946 Upgrade h2 database version for remaining modules (#13976) 2023-05-14 20:13:06 +03: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
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
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
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
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
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
Dhawal Kapil 7026b0abc9 JAVA-19536 Fix formatting of pom.xmls 2023-04-05 07:14:09 +05:30
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
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
Kai Yuan 4c2dcb190f [BAEL-6115_Num2Letter] Convert a Number to a Letter in Java (#13638)
* [BAEL-6115_Num2Letter] Convert a Number to a Letter in Java

* [BAEL-6115_Num2Letter] Change the 1st method's return type to char
2023-03-20 19:15:16 -05:00
Kai Yuan 911df283d4 [can-collect-return-null] Can Stream.collect() Return Null Value? (#13573)
* [can-collect-return-null] Can Stream.collect() Return Null Value?

* [can-collect-return-null] remove the .gitignore file
2023-03-10 18:04:00 -06:00
Kai Yuan 0f8f3e0444 [stream-2maap-dup-keys] Handle Duplicated Keys When Producing Map Usi… (#13546)
* [stream-2maap-dup-keys] Handle Duplicated Keys When Producing Map Using Java Streamt

* [stream-2maap-dup-keys] create the *-streams-maps module

* [stream-2maap-dup-keys] add the new moudle to the parent pom
2023-03-08 19:37:48 -06:00
alemoles 9089d84d2b BAEL-5912 Introduction to RoaringBitmap (#13326) 2023-02-21 21:50:33 +05:30
Bhaskar Ghosh Dastidar e11c4e3dbc [JAVA-6143] java copy from one hashmap to another (#13497)
Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-02-18 08:57:14 -08:00
Michael Olayemi 749cace098 BAEL-5729 Convert Hex to RGB Using Java (#13432) 2023-02-11 09:49:29 +05:30
Bhaskar Ghosh Dastidar fd1c286570 [JAVA-5730] convert list of objects to list of strings (#13166)
* [JAVA-5730] convert list of objects to list of strings

* [JAVA-5730] added new unit tests with null and non-null lists. modified pom.xml with java version to 16

* [JAVA-5730] simplified User class and formatted the codebase

* [JAVA-5730] added module in jdk-9 and above profile

* [JAVA-5730] removed arraylist module from other profiles of core-java pom

* [JAVA-5730] java util opened for reflection surefire plugin

Co-authored-by: Bhaskar <bhaskar.dastidar@freshworks.com>
2023-01-18 19:53:05 -07:00
Kilian Schneider 0a9424696a feat BAEL-6092 Record Patterns (#13243)
* feat BAEL-6092 Record Patterns

* Update pom.xml

* Update pom.xml

* Add additional Switch Test Case
2023-01-06 14:12:38 -08:00
freelansam f5131d9ad0 JAVA-15822: Which sub-modules aren't being built (#13153)
* JAVA-15822: Which sub-modules aren't being built

* JAVA-15822: build error

* JAVA-15822: build error

* modified comment for gcp-firebase
2022-12-23 00:33:54 +05:30
Loredana Crusoveanu 2285190be6 Merge pull request #13063 from eugenp/sam/move-article-files
[BAEL-5684] Move article files to new module
2022-12-08 16:04:12 +02:00
Kilian Schneider 4d330a1b85 BAEL-5785 Map.of() vs Map.ofEntries() test (#13064)
* BAEL-5785 Map.of() vs Map.ofEntries() test

* Update pom.xml

* Update pom.xml

* Add immutable test case

* Update map naming
2022-11-28 20:33:35 -06:00
Ssam 3c57c4d566 move article files to new module 2022-11-20 12:15:45 +00:00
freelansam 5bfbf38f59 JAVA-15409: Fix formatting of POMs (#12992) 2022-11-18 00:26:06 +05:30
rehammuzzamil08 fc0c16a3ae BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String (#12827)
* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String

* BAEL-5670: Remove All Non Numeric Characters but Keep the Decimal Separator in Java String
- Move to a new module core-java-string-apis-2

* BAEL-5670: Add README.md file

* BAEL-5670: Add test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Remove test cases to handle cases where decimal sepator is not a period or dot.

* BAEL-5670: Update ordering of modules in pom.xml
2022-11-13 09:38:48 +05:30
Kai Yuan 146ffa71d0 [URI-Creation] Difference Between URI.create() and new URI() (#12937)
* [URI-Creation] Difference Between URI.create() and new URI()

* [URI-Creation] split test methods for invalid & valid inputs
2022-10-29 21:00:33 -05:00
Kai Yuan 6381f2b8ba [collect-into-treeSet] Using Streams to Collect into a TreeSet (#12834)
* [collect-into-treeSet] Using Streams to Collect into a TreeSet

* [collect-into-treeSet] move to core-java-collections-set-2
2022-10-10 19:58:20 -05:00
panagiotiskakos 8623a48204 [JAVA-13956] Moved module to default-jdk9-and-above 2022-10-06 18:13:29 +03:00
Ulisses Lima f3ef5a257f BAEL-5666 - Create Date from Unix timestamp in Java (#12650)
* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* moving SpringBootPersistenceApplication class to its own package

* from com.baeldung to com.baeldung.logging to prevent it from loading
contexts from other applications.

* Spring Data MongoDB - Configure Connection

Ready for revision.

* fixed tests to reflect article changes

* BAEL-5657

* reverting BAEL-5657

* reverting BAEL-5657

* ready for review

* removing bael-5366

* removing bael-5366

* removing extra blank space

* bael-5666

editor review

* editor review

* long literals
* junit 5
* private constructor for utils

* junit5 assertThat
2022-09-16 22:31:27 +02:00
Mateusz Szablak 7e63494eb4 BAEL-5656 Constructing a Relative Path in Java from Two Absolute Paths or URLs (#12726) 2022-09-14 10:36:21 +05:30
freelansam dc1815c10c JAVA-14673 - Fix formatting of POMs (#12722)
* JAVA-14673 - Fix formatting of POMs

* cleanup
2022-09-13 21:22:49 +05:30
Harry9656 77671ade4b JAVA-5683: Difference Between List.of and Arrays.asList (#12564)
Co-authored-by: Harpal Singh <harpal.singh@kaleyra.com>
2022-08-23 22:22:43 +01:00
Keerthi cdb19ff6d5 JAVA-12045 : move java concurrency ebook content code to common module (#12559)
* JAVA-12045 : move java concurrency ebook content code to common module

* JAVA-12045: addressed the review comments .. renamed package names and placed core-java-concurrency-simple module in pom.xml

* JAVA-12045: removed duplicate module after renaming java-simple-module to core-java-simple-module
2022-08-08 18:56:55 +05:30
sampadawagde 2b5179baba JAVA-13136: Fix formatting of POMs 2022-07-15 09:59:54 +05:30
mdabrowski-eu 40e42f8d45 BAEL-5557 Split a stream into parts (#12238)
* BAEL-5557 Split a stream into parts

* BAEL-5557 fix main pom.xml

* BAEL-5557 fix mvn profiles

* BAEL-5557 articles with equals and hashcode

* BAEL-5557 migrate assertions to assertj

* BAEL-5557 better assertions
2022-06-30 10:26:34 +01:00
sampadawagde 90ba68c233 JAVA-12730: readme changes 2022-06-26 16:52:45 +05:30
sampadawagde 16f7224c44 JAVA-12730: modify parent pom 2022-06-26 16:26:33 +05:30