Commit Graph

1313 Commits

Author SHA1 Message Date
Joao Esperancinha
c22df76e94 [BAEL-4281] Naming convention and conversion to assertJ 2020-07-21 07:53:52 +02:00
Joao Esperancinha
9787fc6f0f [BAEL-4281] moves example module 2020-07-21 07:53:45 +02:00
Dhawal Kapil
a77c33f065 Merge pull request #9370 from mangstadt/patch-1
Use ServiceLoader class to obtain service instance
2020-07-21 06:41:51 +05:30
Ali Dehghani
22ed93798e Polish. 2020-07-20 21:00:35 +04:30
Ali Dehghani
df19c359b5 Polish. 2020-07-20 20:07:37 +04:30
Ali Dehghani
78ad55fc37 A Guide to BitSet in Java 2020-07-20 20:04:15 +04:30
Josh Cummings
9ad51d16f4 Merge pull request #9687 from sampada07/JAVA-619
JAVA-619: Split or move core-java-modules/core-java-io-apis module
2020-07-18 09:29:08 -06:00
Loredana
7af5d25d0e JAVA-2096 remove unused dependencies 2020-07-17 09:33:34 +03:00
Loredana Crusoveanu
8d1c5ab2df Merge pull request #9707 from Maiklins/JAVA-2096-update-Create-File-article
JAVA-2096 Update "Create File" article
2020-07-17 09:27:47 +03:00
SauDev
07522864be BAEL-4135 - When are static variables initialized? (#9607)
* Hexagonal Architecture in Java

A quick and practical example of Hexagonal Architecture in Java

* Fixed code formatting issues

* When are static variables initialized

Sample class and test class.

* Revert "When are static variables initialized"

This reverts commit c781923093.

* Revert "Revert "When are static variables initialized""

This reverts commit 2bffdf401d.

* New java module for static variable

Created a new core-java-lang-3 module for static variables.

* PR review changes: Added more scenarios to the static variable test

Covered the following cases:
1. Variable initialization in a static block
2. Variable initialization in a static nested class
2020-07-16 23:13:25 -07:00
mikr
f0711c5692 JAVA-2096 Add dummy file to make sure the directory is versioned 2020-07-16 10:45:06 +02:00
mikr
caad53d4c4 JAVA-2096 Update "Create File" article 2020-07-15 12:33:27 +02:00
root
bf8c6a5ed7 Merge remote-tracking branch 'upstream/master' into BAEL_4302 2020-07-14 19:03:16 +00:00
root
2fcc943808 Code Review BAEL-4302 2020-07-14 18:59:16 +00:00
Loredana Crusoveanu
aa9b86f829 Merge pull request #9702 from Maiklins/JAVA-2097-update-Rename-File-article
Java-2097 update rename file article
2020-07-14 17:45:20 +03:00
mikr
663f9f2424 JAVA-2097 Update "Rename File" article 2020-07-14 14:11:12 +02:00
Krzysztof Woyke
242db170bc JAVA-2109: Move Guide to the Java TransferQueue to the core-java-concurrency-collections-2 2020-07-14 13:30:03 +02:00
Krzysztof Woyke
b0887b33ed JAVA-2109: Fix core-java-concurrency-collections-2 module configuration 2020-07-14 13:24:41 +02:00
Krzysiek
f0aefb34fa JAVA-2105: Move articles out of core-java-io module 2020-07-13 21:17:54 +02:00
Eric Martin
6d085ce9f1 Merge pull request #9646 from alimate/BAEL-4115
BAEL-4115: Memory Address of Objects in Java
2020-07-13 11:16:45 -05: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
Jonathan Cook
d24502fa7c Merge pull request #9419 from alexbaeldung/tutorial/Convert-an-array-of-primitives
feat: Convert an array of primitives to a List
2020-07-13 08:29:23 +02:00
Anshul BANSAL
30ff1a1a14 BAEL-4175 - swapped argument order for assertEquals 2020-07-13 06:11:58 +03:00
Catalin Burcea
6acb954c1b BAEL-4219 - How to read .pem file to get private and public key (#9676) 2020-07-12 11:03:46 -07: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
Sampada
54380db8d9 JAVA-2111: Split or move core-java-jvm module (#9688)
* JAVA-2111: Moved boolean Memory Layout article

* JAVA-2111: Moved Shutdown Hooks article

* JAVA-2111: Updated README files

* JAVA-2111: Fixed prev link
2020-07-12 21:05:16 +05:30
Jonathan Cook
5a097e9496 Merge pull request #9660 from martinvw/feature/BAEL-4213
[BAEL-4213] Why are local variables thread safe
2020-07-12 09:31:37 +02:00
sampadawagde
b696129396 JAVA-619: Split or move core-java-modules/core-java-io-apis module 2020-07-12 08:56:13 +05:30
Martin van Wingerden
bf7925e10a [BAEL-4213] Why are local variables thread safe
Added two small example for article about thread-safety for local variables.
2020-07-11 21:31:16 +02:00
amit.pandey
c03b88763e used properties defined in parent pom 2020-07-12 00:06:27 +05:30
rpvilao
d9ee24d824 Update pom.xml 2020-07-10 20:32:25 +02:00
Jordan Simpson
0ab28367a1 Update StringToBooleanUnitTest.java 2020-07-10 08:52:48 -05:00
rpvilao
944725473e Merge branch 'master' into BAEL-4300 2020-07-10 09:51:15 +01:00
Amy DeGregorio
62cf3c00a0 BAEL 4157 Move examples to new core-java-lang-3 module (#9678) 2020-07-10 08:15:07 +02:00
Dhawal Kapil
8feb276af3 Merge pull request #9675 from kwoyke/JAVA-2106
JAVA-2106: Move Java Convert PDF to Base64 to the pdf module
2020-07-10 09:29:22 +05:30
Eric Martin
3176df025f Merge pull request #9626 from alimate/BAEL-4138
BAEL-4138: Measuring the Object Sizes in JVM
2020-07-09 19:32:11 -05:00
Krzysiek
dbd6c254ff JAVA-2106: Move Java Convert PDF to Base64 to the pdf module 2020-07-09 18:44:46 +02:00
Anshul BANSAL
932183fabd POM fixes 2020-07-09 10:19:08 +03: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
Anshul BANSAL
d09094c994 correct import 2020-07-09 10:02:05 +03:00
Anshul Bansal
ae4fac587a used assertFalse in place of assertEquals 2020-07-09 10:01:20 +03:00
Anshul Bansal
803c9167ae Update core-java-modules/core-java-string-operations-2/src/test/java/com/baeldung/versioncomparison/VersionComparisonUnitTest.java
Co-authored-by: KevinGilmore <kpg102@gmail.com>
2020-07-09 09:59:50 +03:00
kwoyke
d81153ca8d JAVA-2108: Move Introduction to Protonpack to the libraries-6 (#9673) 2020-07-09 08:39:13 +05:30
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
root
646496d2ca BAEL-4302 : How can I list all classes loaded in a specific class loader 2020-07-06 16:10:46 +00:00
Josh Cummings
06563f464c Merge pull request #9595 from amit2103/JAVA-2019
Align module names, folder names and artifact id
2020-07-06 07:42:02 -06:00
amit.pandey
c0c8af7484 pom formatting - arrang tags as per standard order 2020-07-06 17:36:09 +05:30
Ali Dehghani
010bee00f6 Memory Address of Objects in Java 2020-07-06 12:06:26 +04:30
Eric Martin
5a71c30121 Merge pull request #9584 from alimate/BAEL-4295
BAEL-4295: When Does Java Throw the ExceptionInInitializerError?
2020-07-05 13:55:10 -05:00