Commit Graph

3801 Commits

Author SHA1 Message Date
gupta-ashu01 974cd750a7 Merge pull request #1 from eugenp/master
Syncing the repo
2020-07-17 12:54:04 +05:30
Loredana Crusoveanu 6c9c43e60b 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 dc06936a5d 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 c781923093ccc88bc269bea276653169065cb17b.

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

This reverts commit 2bffdf401d4e7dc2cefd7eb16357b2d51271edad.

* 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
kwoyke 60ef1c8551 JAVA-2116: Split or move libraries-data-2 module (#9716)
* JAVA-2116: Move Java-R Integration to libraries-6 module

* JAVA-2116: Move Guide to JMapper to libraries-data module
2020-07-17 07:16:41 +05:30
bfontana 2d8bc57689 Merge pull request #9648 from dpgarrett/danielg/conditionally-ignoring-tests-in-junit
BAEL-4337 Conditionalling ignoring tests in JUnit 4
2020-07-16 21:09:58 -03:00
mikr 0b083391bb JAVA-2096 Add dummy file to make sure the directory is versioned 2020-07-16 10:45:06 +02:00
kwoyke 3ccb59bf84 BAEL-3917: Fix the integrations tests in ddd (#9708) 2020-07-16 09:15:40 +02:00
gupta-ashu01 26cc3e84d2 Update README.md
Difference Between request.getSession() and request.getSession(true)
2020-07-15 21:48:11 +05:30
gupta-ashu01 2c62d0214c Add files via upload
Difference between request.getSession() and request.getSession(true)
2020-07-15 21:40:56 +05:30
davidmartinezbarua 6ebf84fcb8 Merge pull request #9652 from HelgaShiryaeva/top-k-elements-of-an-array
Top k elements of an array
2020-07-15 10:53:51 -03:00
mikr 34d2e20e56 JAVA-2096 Update "Create File" article 2020-07-15 12:33:27 +02:00
Kumar Chandrakant 7c344b57c3 Adding source code for article tracked under BAEL-4080. (#9552)
Co-authored-by: CHANDRAKANT Kumar <kumar.chandrakant@soprabanking.com>
2020-07-14 17:55:54 +02:00
Loredana Crusoveanu 8756adc2d5 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
Dhawal Kapil 3b8866e797 Merge pull request #9701 from kwoyke/JAVA-2109
JAVA-2109: Move Guide to the Java TransferQueue to the core-java-concurrency-collections-2
2020-07-14 19:59:23 +05:30
Dhawal Kapil 51276387dc Merge pull request #9700 from sampada07/JAVA-2107
JAVA-2107: Split or move spring-thymeleaf module
2020-07-14 19:50:57 +05:30
mikr 31d314f7b5 JAVA-2097 Update "Rename File" article 2020-07-14 14:11:12 +02:00
Krzysztof Woyke 81b412c6e7 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 9481177e62 JAVA-2109: Fix core-java-concurrency-collections-2 module configuration 2020-07-14 13:24:41 +02:00
sampadawagde 08d1df4513 JAVA-2107: Updated README files for article move 2020-07-14 16:09:28 +05:30
sampadawagde 096b15a11b JAVA-2107: Moved code for 1 article to spring-thymeleaf-3 2020-07-14 16:08:39 +05:30
Maiklins 0205b6d5e0 Merge pull request #62 from eugenp/master
update
2020-07-14 10:29:16 +02:00
Dhawal Kapil 251e10d591 Merge pull request #9698 from kwoyke/JAVA-2105
JAVA-2105: Move articles out of core-java-io module
2020-07-14 08:55:32 +05:30
Jonathan Cook a8dac80752 BAEL-4341 - JUnit test for System.out.println() (#9694)
* BAEL-4198 - Fix Selenium Live Tests

* BAEL-4198

* BAEL-4024 - Taking Screenshots with Selenium WebDriver

* BAEL-4341 - JUnit test for System.out.println()

Co-authored-by: Jonathan Cook <jcook@sciops.esa.int>
2020-07-13 18:46:32 -07:00
Krzysiek 845a8968c7 JAVA-2105: Move articles out of core-java-io module 2020-07-13 21:17:54 +02:00
Eric Martin 205c49b3e4 Merge pull request #9646 from alimate/BAEL-4115
BAEL-4115: Memory Address of Objects in Java
2020-07-13 11:16:45 -05:00
Mona Mohamadinia fc6dc42152 Run a Java Main Method in Maven (#9636) 2020-07-13 17:14:30 +01:00
Eric Martin db13e0ec44 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
Dhawal Kapil f04855d0c8 Merge pull request #9695 from kwoyke/JAVA-2140-kotlin
JAVA-2140: Remove Initializing Arrays in Kotlin from the core-kotlin-…
2020-07-13 20:31:47 +05:30
Krzysztof Woyke 26d9b36335 JAVA-2140: Remove Initializing Arrays in Kotlin from the core-kotlin-lang-2 2020-07-13 15:51:15 +02:00
Daniel Garrett 1145918e22 fix: replace * imports with single imports: 2020-07-13 10:07:50 +01:00
Jonathan Cook 44fd4f91b4 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 f43b2141dd BAEL-4175 - swapped argument order for assertEquals 2020-07-13 06:11:58 +03:00
Greg b43ae3412e Merge pull request #9682 from sampada07/BAEL-4019-branch
BAEL-4019: Exploring Java Security frameworks
2020-07-12 14:24:54 -04:00
Catalin Burcea ff310e08e6 BAEL-4219 - How to read .pem file to get private and public key (#9676) 2020-07-12 11:03:46 -07:00
Umang Budhwar 1a8969f376 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 9568663bb2e176eacc2119e605be76577f90b9c6.

* Added new module core-java-reflection-2

* Removed README.MD
2020-07-12 10:50:54 -05:00
Sampada 0012e59ebd 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
Eric Martin 3265a5def1 Merge pull request #9593 from shapirov103/jdbc-loading
[BAEL-4123] What is the purpose of 'Class.forName(“MY_JDBC_DRIVER”)'?
2020-07-12 10:33:32 -05:00
rpvilao e489a6be5c Merge pull request #9531 from sergio41/master
[BAEL-4084] Testing Controller Exceptions with Spring MockMvc
2020-07-12 16:03:41 +01:00
rpvilao e65e8ffab3 Merge pull request #9641 from azhwani/yamlft
BAEL-4320: Mapping list in Yaml to list of objects in Spring Boot
2020-07-12 14:46:39 +01:00
sergio41 bf1e2c09f7 [BAEL-4240] Adding Text to an Image in Java (#9642)
* [BAEL-4240] Code Upload

* [BAEL-4240] Remove double space

* [BAEL-4240] Adapting Text to the image

* [BAEL-4240] Package rename
2020-07-12 11:29:36 +01:00
Jonathan Cook 44c664a34d 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
Dhawal Kapil d4a7e1be4b Merge pull request #9683 from sampada07/JAVA-2112
JAVA-2110: Split or move guava-collections module
2020-07-12 11:08:15 +05:30
Josh Cummings 8d5e33fae6 Merge pull request #9685 from amit2103/JAVA-2119
removed RC versions from pom dependency
2020-07-11 18:12:34 -06:00
amit.pandey c78d9c867d removed RC versions from pom dependency 2020-07-12 03:00:28 +05:30
Josh Cummings c492b1e392 Merge pull request #9684 from amit2103/JAVA-2026
used properties defined in parent pom
2020-07-11 14:39:26 -06:00
Martin van Wingerden da6ee4cc12 [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 0716abb5e7 used properties defined in parent pom 2020-07-12 00:06:27 +05:30
sampadawagde f0ce9e3638 JAVA-2110: Moved 1 article from guava-collections to guava-2 2020-07-11 23:23:36 +05:30
sampadawagde d174859231 BAEL-4019: changed package name 2020-07-11 22:49:06 +05:30
sampadawagde 990e0c1512 BAEL-4019: movements for old code to accommodate new shiro application 2020-07-11 22:48:58 +05:30