Commit Graph

61 Commits

Author SHA1 Message Date
Umang Budhwar
d85757d61b BAEL-4695 - Evaluating a Math Expression in Java (#10345)
* Added code for checking if a class is abstract or not.

* Renamed test name as per review comments.

* BAEL-4695 - Added code to evaluate math expressions.

* BAEL-4695 - Added test case for math function.

* BAEL-4695 Added consistent examples and entry in parent pom.

* BAEL-4695 - Added more examples
2021-01-14 17:04:00 -06:00
Eric Martin
9e01773b59 Merge pull request #10351 from SmartyAnsh/master
BAEL-4472- Binary Semaphore vs a ReentrantLock - Unit test added
2021-01-09 20:53:53 -06:00
MeenaGawande
8e7f37775c [BAEL-4720] Java File.separator vs File.pathSeparator (#10330)
* [BAEL-4720] Java File.separator vs File.pathSeparator

Removed src code and modified junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Code formatting: Removed extra spaces in the code

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added more junit tests

* [BAEL-4720] Java File.separator vs File.pathSeparator

Added new module core-java-io4 and moved the code from core-java-io3 module.

Co-authored-by: MeenaGawande <MeenaGawande@users.noreply.github.com>
2021-01-06 18:06:07 +00:00
Anshul BANSAL
5fa9e79e6b BAEL-4472- Binary Semaphore vs a ReentrantLock - new module added 2021-01-03 22:52:18 +02:00
Jonathan Cook
042d01e5e5 Merge pull request #10258 from dstr89/feature/BAEL-4717-hashmap-linkedlist-arraylist
Feature/bael 4717 hashmap linkedlist arraylist
2020-12-13 15:02:17 +01:00
Daniel Strmecki
23a4941185 BAEL-4717: add new module to parent pom 2020-12-05 09:52:32 +01:00
Loredana Crusoveanu
3b5a46519a Merge pull request #10259 from vatsalgosar/BAEL-4301
BAEL 4301
2020-11-27 12:57:29 +02:00
unknown
f54f778d76 BAEL-4301
- Created a new module core-java-char in core-java-modules modules
- Added Unit Tests for Character#isAlphabetic and Character#isLetter methods
2020-11-17 16:32:30 +05:30
Kumar Chandrakant
c0d395681d Adding source code for article tracked under BAEL-4576 (#10203)
Co-authored-by: CHANDRAKANT Kumar <kumar.chandrakant@soprabanking.com>
2020-10-29 06:11:46 +01:00
mikr
ccac9de896 Java-2394 Create default and integration profile for JDK-9 and above modules 2020-09-10 01:08:03 +02:00
davidmartinezbarua
c63b365b19 Merge pull request #9853 from rutujavjoshi/master
BAEL-4193 -updated files
2020-08-19 01:22:16 -03:00
Rutuja Joshi
28a185247c pom : added new module core-java-exceptions-3
added new module core-java-exceptions-3
2020-08-17 19:37:28 +05:30
Amit Pandey
dbb5eb5d10 added modules in parent (#9842)
* added modules in parent

* commented failed modules in pom
2020-08-17 10:33:20 +05:30
Amit Pandey
a4b4197e74 Java 2387 (#9882)
* fix junit test cases

* added module in parent build
2020-08-17 10:30:19 +05:30
mikr
caad53d4c4 JAVA-2096 Update "Create File" article 2020-07-15 12:33:27 +02:00
Eric Martin
0b19ccc180 Merge pull request #9608 from SmartyAnsh/BAEL-4175_Comparing_version_Strings_in_Java
BAEL-4175 - comparing version strings in java
2020-07-13 10:54:11 -05:00
Umang Budhwar
51252a02f6 BAEL-4089: Accesing private properties of a class in Java (#9441)
* Added code to access private properties of a class

* Removed abstractions to increase simplicity.

* Added unit test cases in givenX_whenY_thenZ format.

* Included test cases for NoSuchFieldException, NoSuchMethodException and
NullPointerException.

* Added new test case for IllegalArgumentException

* Removed test cases for getting private methods

* Added test cases for accessing all data types.

* Segregated test cases for primitive and object types. Added test case
for Autoboxing.

* Condensed fields by removing extra space.

* Added test case for widening.

* Refactored test cases to throw generic Exception

* Created new module core-java-reflection-2

* Revert "Created new module core-java-reflection-2"

This reverts commit 9568663bb2.

* Added new module core-java-reflection-2

* Removed README.MD
2020-07-12 10:50:54 -05:00
rpvilao
944725473e Merge branch 'master' into BAEL-4300 2020-07-10 09:51:15 +01:00
Anshul BANSAL
4163e5010c BAEL-4175 - moved code to a new module - core-java-string-operations-3 2020-07-09 10:13:30 +03:00
Jordan Simpson
4c9cac984d Moved pom module next to the other core-java-lang-x modules. 2020-07-08 10:54:58 -05:00
Loredana Crusoveanu
485b4e3e99 Revert "BAEL-4134" 2020-07-07 14:18:10 +03:00
Jordan Simpson
d42d817ac3 Added code examples for BAEL-4300 article. 2020-06-25 15:16:48 -05:00
François Dupire
da21b60f9a [JAVA-1657] Junit and Maven Surefire Plugin upgrade in core-java-modules (#9301)
* [JAVA-1657] core-java-modules JUnit and Maven Surefire Plugin upgrade

* [JAVA-1657] Changed sub modules parents to core-java-modules and core-java-modules to parent-java

* [JAVA-1657] Upgraded JUnit Jupiter version

* [JAVA-1657] Get JUnit 4 dependency transitively
2020-05-25 19:45:48 +05:30
dupirefr
42b0086080 [JAVA-621] Flattened modules hierarchy 2020-04-28 08:02:13 +02:00
dupirefr
635ecae691 [JAVA-621] Obsolete modules deletion
* Delete core-java-lang-oop module (remaining code
was duplicate of core-java-lang-syntax where it really belonged)

* Moved code from https://www.baeldung.com/java-eclipse-equals-and-hashcode to core-java-lang where it belong

* Delete core-java-lang-oop-2 module

* Delete core-java-lang-oop-3 module

* Delete core-java-lang-oop-4 module
2020-04-28 08:02:09 +02:00
dupirefr
825a362858 [JAVA-621] Creating core-java-lang-oop-modules module 2020-04-28 08:01:44 +02:00
dupirefr
2be3cf769a [JAVA-616] Cleaning code
* Removed core-java-arrays* modules

* Updated core-java-module/pom.xml
2020-04-17 21:01:18 +02:00
dupirefr
362191ff95 [JAVA-616] core-java-arrays-operations-advanced
* Creation

* Moved code from https://www.baeldung.com/java-array-copy

* Moved code from https://www.baeldung.com/java-arrays-deepequals

* Moved code from https://www.baeldung.com/java-array-sum-average

* Moved code from https://www.baeldung.com/java-array-intersection
2020-04-17 21:01:16 +02:00
dupirefr
e910c0a238 [JAVA-616] core-java-arrays-operations-basic
* Creation

* Moved code from https://www.baeldung.com/java-initialize-array

* Moved code from https://www.baeldung.com/java-common-array-operations

* Moved code from
https://www.baeldung.com/java-add-element-to-array-vs-list

* Moved code from https://www.baeldung.com/java-array-contains-value

* Moved code from https://www.baeldung.com/java-array-remove-element

* Moved code from https://www.baeldung.com/java-array-remove-first-element

* Moved code from https://www.baeldung.com/java-array-add-element-at-the-end
2020-04-17 21:01:13 +02:00
dupirefr
2510062202 [JAVA-616] core-java-arrays-convert
* Creation

* Moved code from https://www.baeldung.com/java-convert-float-to-byte-array

* Moved code from https://www.baeldung.com/java-stream-to-array
2020-04-17 21:01:10 +02:00
dupirefr
62f4452893 [JAVA-616] core-java-arrays-multidimensional
* Creation

* Moved code from https://www.baeldung.com/java-jagged-arrays

* Moved code from https://www.baeldung.com/java-loop-diagonal-array
2020-04-17 21:01:08 +02:00
dupirefr
7ab1ae207e [JAVA-616] core-java-arrays-guides
* Creation

* Moved code from https://www.baeldung.com/java-arrays-guide

* Moved code from https://www.baeldung.com/java-util-arrays
2020-04-17 21:01:05 +02:00
dupirefr
91a2ac8ddd [JAVA-616] core-java-arrays-sorting
* Creation

* Moved code from https://www.baeldung.com/java-sorting-arrays

* Moved code from https://www.baeldung.com/java-check-sorted-array

* Moved code from https://www.baeldung.com/java-invert-array

* Moved code from https://www.baeldung.com/java-arrays-sort-vs-parallelsort
2020-04-17 21:01:03 +02:00
sampadawagde
24b14e377a JAVA-620: parent pom changes to include new module 2020-04-13 15:10:47 +05:30
sampadawagde
b0add81c74 JAVA-1188: Moved modules to core-java-modules 2020-04-07 14:50:03 +05:30
kwoyke
7aad11669e BAEL-2681: Upgrade core-java-collections-set to Java 11 (#8998)
* BAEL-2681: Upgrade core-java-collections-set to Java 11

* BAEL-2681: Comment out core-java-collections-set from the pom.xml
2020-03-31 08:54:14 +02:00
sampadawagde
8a5d4f1a8d JAVA-626 : added new module to parent module's pom 2020-03-22 16:57:48 +05:30
amit.pandey
04c9af4965 pom formatting 2020-03-15 18:22:24 +05:30
eric-martin
f0bd269bc7 BAEL-3583: Added the core-java-security-2 module 2020-03-13 22:50:25 -05:00
Jonathan Cook
74e5e5207b Merge pull request #8592 from AlexFlorinHriscu/master
BAEL-3502 Arrays.deepEquals method examples.
2020-02-17 11:27:53 +01:00
Florin Hriscu
6581c9ca57 BAEL-3502 - Format core-java-modules pom.xml file. 2020-02-16 17:45:08 +02:00
Florin Hriscu
4c2b5c88a7 BAEL-3502 - Format pom.xml file. 2020-02-16 17:43:28 +02:00
Florin Hriscu
9ba4bc4a5c BAEL-3502 Apply correct formatter. 2020-02-16 17:34:31 +02:00
Florin Hriscu
ae672bcc5e BAEL-3502 Bind core-java-arrays-3 module to parent module. 2020-02-16 00:33:48 +02:00
amit.pandey
bab7334d78 added newly added core-java-regex module in parent pom 2020-02-05 19:57:52 +05:30
Dhawal Kapil
eed45d213c BAEL-20665 Submodules not building
- Further fixes
2020-01-12 23:40:28 +05:30
Dhawal Kapil
9b6b14a40b Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-20665
# Conflicts:
#	core-groovy-2/src/test/groovy/com/baeldung/metaprogramming/MetaprogrammingUnitTest.groovy
#	core-java-modules/pom.xml
#	pom.xml
2020-01-12 20:55:19 +05:30
Dhawal Kapil
b75658a2d4 BAEL-20655 Which sub-modules aren't being built?
- Added several missing modules in the main pom.xml
- Fixed the modules list for all the profiles
- Commented several test cases so that all modules can run and be included in the pom.xml
- Moved child modules from main pom to parent modules pom
2020-01-10 17:22:13 +05:30
Krzysztof Woyke
ad90a21491 Merge remote-tracking branch 'upstream/master' into BAEL-20573 2020-01-03 09:21:03 +01:00
kwoyke
04a571ea02 BAEL-3732: Move core-java-security-manager into core-java-security (#8460)
* BAEL-3732: Move core-java-security-manager into core-java-security

* BAEL-3732: Teardown the security manager to not interfere with other tests
2020-01-03 08:59:33 +02:00