859 Commits

Author SHA1 Message Date
Urvy Agrawal
1ed8fcf9dc BAEL-2323 Java Native Keyword (#6038)
-Moved files to core-java-lang module
2018-12-31 13:26:19 -08:00
amit2103
c61ac5101e [BAEL-11401] - Moved articles out of core-java (part 2) 2018-12-29 21:54:59 +05:30
Yatendra Goel
33ba36dc41 BAEL-2307: Added Code to add SAN needed by Chrome to the X509 Certificate 2018-12-29 13:30:46 +05:30
Loredana Crusoveanu
9a2f8a87a4
Merge branch 'master' into BAEL-10836 2018-12-27 22:26:35 +02:00
Loredana Crusoveanu
4600c02f84
Merge pull request #5990 from faabianr/BAEL-2454
BAEL-2454 Add new section in Java Http Request article
2018-12-26 20:10:07 +02:00
Loredana
fb66f1bc78 move networking articles, update readme 2018-12-25 14:05:10 +02:00
Fabian Rivera
48c0b83978 BAEL-2454 Add missing disconnect call on open connections 2018-12-24 17:46:12 -06:00
Fabian Rivera
cdaf0b46bf BAEL-2454 Reading the error response and building the full response
BAEL-2454 Add examples for reading response content on failed requests. Add example on how to build full response string.
2018-12-24 17:44:09 -06:00
amit2103
ec53cb77ac [BAEL-9044] - Moved articles out of core-java 2018-12-23 16:32:19 +05:30
amit2103
bba9a99f32 [BAEL-10836] - Create core-java-collections-list module 2018-12-23 01:15:24 +05:30
Urvy Agrawal
c28fa5541d BAEL-2323 Adding files for native keyword tutorial (#5913)
* BAEL-2323 Adding files for native keyword tutorial

* junit test files and native library

* update test method name
2018-12-19 10:56:14 -08:00
amit2103
7073c4a3e5 [BAEL-9643] - Added missing code in the properties article 2018-12-09 20:16:50 +05:30
amit2103
ea70595615 [BAEL-9643] - Create code for Properties article 2018-12-09 00:36:34 +05:30
Loredana Crusoveanu
5871653e65
Update and rename OptimizedMatcherUnitTest.java to OptimizedMatcherManualTest.java 2018-11-28 23:42:40 +02:00
Loredana Crusoveanu
034d71d3b7
Merge pull request #5782 from kcacademic/graphs-java
BAEL-2334: Adding file for the tutorial on Graph in Java
2018-11-28 21:09:24 +02:00
Josh Cummings
c81567741e
Move ClassName to core-java-lang (#5796)
Issue: BAEL-2309
2018-11-28 10:02:09 -07:00
Kumar Chandrakant
7410f52561 Changed the source files for incorporating review comments on the tutorial. 2018-11-28 01:00:16 +05:30
Loredana
4c1f773d07 move constructors to java lang module 2018-11-22 22:59:37 +02:00
François Dupire
076de3f006 BAEL-2309 Retrieving a Class Name in Java (#5716)
* [BAEL-2309] SomeClass and its test

* [BAEL-2309] Fixing test naming

* [BAEL-2309] Changed name for RetrievingClassName

* [BAEL-2309] Updating package name

* [BAEL-2309] Fix comment mistake

* [BAEL-2309] Fixing test class name
2018-11-22 08:22:47 -08:00
Kumar Chandrakant
56ab8e2049 BAEL-2334: Adding file for the tutorial on Graph in Java 2018-11-22 15:29:58 +05:30
getwordsdone
4d30ff3b43 A Guide to Constructors
Issue: BAEL-2345
2018-11-19 22:01:31 -07:00
Seun Matt
5145b90099 added example code for BAEL-2366 (#5730) 2018-11-19 09:37:13 -08:00
Loredana Crusoveanu
702495be5f
Merge pull request #5721 from eugenp/fix-matcher-test
fix regex matcher unit test
2018-11-18 19:51:25 +02:00
Loredana
3fa720b91e fix regex matcher unit test 2018-11-18 19:35:28 +02:00
Alejandro Gervasio
86184f8270 BAEL-2312 - Abstract Classes in Java (#5704)
* Initial Commit

* Fixed project files

* Update UppercaseFileReaderUnitTest.java

* Update UppercaseFileReaderUnitTest.java

* Refactored File Reader SubClasses

* Update UppercaseFileReaderUnitTest.java
2018-11-18 09:54:57 -06:00
amit2103
99b8077bba [BAEL-10302] - Moved articles to core-java-collections 2018-11-16 16:06:20 +05:30
freddyaott
42fac5dbcf Java Math (#5684) 2018-11-14 18:54:16 -08:00
geroza
55ba7955f9 Fixed:
* SimpleDateFormatUnitTest test, which relied on the system locale, thus making it platform dependent
* UppercaseFileReaderUnitTest, LowercaseFileReaderUnitTest and StandardFileReaderUnitTest, which were using an approach that seems to be efficient only on Windows; on Linux it raises an exception. The new approach should be good for all cases, but we need testing on a Windows environment
2018-11-13 00:36:08 -02:00
Loredana Crusoveanu
8d9f995624
Merge pull request #5649 from rozagerardo/geroza/BAEL-9549_reduce-articles-in-core-java
[BAEL-9549] reduce core-java module migrating code to core-java-lang and core-java-arrays
2018-11-11 13:47:28 +02:00
geroza
6634c0e100 6 - Sixth commit to split core-java module. This commit includes:
* fixiing failing unit tests, moving required resources to new modules
2018-11-10 12:55:07 -02:00
geroza
7249a2c88d 5 - Fifth commit to split core-java. This one includes:
* to core-java-lang:
  * https://www.baeldung.com/java-separate-double-into-integer-decimal-parts
  * https://www.baeldung.com/java-sneaky-throws
  * https://www.baeldung.com/java-inheritance-composition
* to core-java-array:
  * https://www.baeldung.com/java-array-copy
  * https://www.baeldung.com/java-initialize-array
  * https://www.baeldung.com/java-array-contains-value
  * https://www.baeldung.com/java-invert-array
  * https://www.baeldung.com/java-array-sum-average
  * https://www.baeldung.com/java-jagged-arrays
  * https://www.baeldung.com/java-util-arrays
  * https://www.baeldung.com/java-common-array-operations (from core-java-collections)
2018-11-10 11:13:04 -02:00
geroza
55c49b25f1 4- Fourth commit for core-java module splitting. This commit includes:
* to core-java-lang:
  * https://www.baeldung.com/java-stack-overflow-error
  * https://www.baeldung.com/java-new-custom-exception
  * https://www.baeldung.com/java-exceptions
  * https://www.baeldung.com/java-final-finally-finalize
  * https://www.baeldung.com/java-static-dynamic-binding
  * https://www.baeldung.com/java-throw-throws
  * https://www.baeldung.com/java-synthetic
  * https://www.baeldung.com/java-switch
  * https://www.baeldung.com/modulo-java
  * https://www.baeldung.com/java-ternary-operator
2018-11-10 10:29:12 -02:00
geroza
61574b7228 3-Third commit for articles:
* to core-java-lang:
  * https://www.baeldung.com/java-lang-system
  * https://www.baeldung.com/java-type-erasure
  * https://www.baeldung.com/java-assert
  * https://www.baeldung.com/java-pass-by-value-or-pass-by-reference
  * https://www.baeldung.com/java-variable-method-hiding
  * https://www.baeldung.com/java-access-modifiers
  * https://www.baeldung.com/java-super
  * https://www.baeldung.com/java-this
  * https://www.baeldung.com/java-immutable-object
  * https://www.baeldung.com/java-classnotfoundexception-and-noclassdeffounderror
  * https://www.baeldung.com/infinite-loops-java (changes for this were included in commit 1, with other loop-related examples)
2018-11-10 01:21:58 -02:00
geroza
64a22eec31 2 - Second commit for articles:
* to core-java-lang:
  * https://www.baeldung.com/java-inner-interfaces
  * https://www.baeldung.com/java-polymorphism
  * https://www.baeldung.com/java-recursion
  * https://www.baeldung.com/java-finalize
  * https://www.baeldung.com/java-method-overload-override
  * https://www.baeldung.com/java-deep-copy
  * https://www.baeldung.com/java-inheritance
  * https://www.baeldung.com/java-type-casting
  * https://www.baeldung.com/java-final
  * https://www.baeldung.com/a-guide-to-java-enums
2018-11-10 00:37:39 -02:00
geroza
792d6f6cc4 First commit to migrate the following articles from core-java:
* to core-java-lang:
  * https://www.baeldung.com/java-reflection
  * https://www.baeldung.com/java-generics
  * https://www.baeldung.com/java-eclipse-equals-and-hashcode
  * https://www.baeldung.com/java-chained-exceptions
  * https://www.baeldung.com/java-primitive-conversions //to package
  * https://www.baeldung.com/java-method-reflection
  * https://www.baeldung.com/java-enum-iteration
  * https://www.baeldung.com/java-reflection-change-annotation-params
  * https://www.baeldung.com/java-dynamic-proxies
  * https://www.baeldung.com/java-double-brace-initialization
  * https://www.baeldung.com/java-hashcode
  * https://www.baeldung.com/java-diamond-operator
  * https://www.baeldung.com/java-static (?https://github.com/eugenp/tutorials/pull/3392)
  * https://www.baeldung.com/java-comparator-comparable
  * https://www.baeldung.com/java-continue-and-break
  * https://www.baeldung.com/java-initialization
  * https://www.baeldung.com/java-nested-classes
  * https://www.baeldung.com/java-loops
  * https://www.baeldung.com/java-varargs
2018-11-09 22:22:33 -02:00
Kumar Chandrakant
6f9e1fd103 BAEL-2300: Adding files for the tutorial on character encoding. 2018-11-08 15:13:12 +05:30
Alejandro Gervasio
c7b7d94409 BAEL-2312 - Abstract Classes in Java (#5598)
* Initial Commit

* Add files via upload

* Update UppercaseFileReaderUnitTest.java
2018-11-03 22:06:46 -05:00
Jonathan Cook
afc62ca73b BAEL-2193 - Merge 2 java.util.Properties objects (#5571)
* BAEL-2268 - Guide to JerseyTest
-  second attempt without formatting changes

* BAEL-2268 - Guide to JerseyTest

- Add line break to end of file

* BAEL-2193 - Merge 2 java.util.Properties objects

* BAEL-2193 - Merge 2 java.util.Properties object
2018-10-30 07:23:43 -07:00
Loredana Crusoveanu
4e53cd8046
Merge pull request #5373 from eugenp/fix-nth-root
removed unnecessary Mockito and refactored test method name
2018-10-27 11:17:14 +03:00
Eric Martin
9289bf858c
Merge pull request #5534 from eugenp/Fix-SimpleDateFormatUnitTest
Fixed SimpleDateFormatUnitTest
2018-10-25 23:53:51 -05:00
eric-martin
8837a12608 Fixed SimpleDateFormatUnitTest 2018-10-25 23:47:46 -05:00
daoire
e24426923e Refactor Code and add Tests (#5251) 2018-10-23 22:09:29 +02:00
Sam Millington
06be85c4a1
Added 'thens' to conform with given_when_then format 2018-10-21 18:06:39 +01:00
Sjmillington
a7276eb191 [BAEL-2256] Guide to simple date format unit tests 2018-10-21 17:42:54 +01:00
amit2103
6be1833b3d [BAEL-9550] - Moved GuavaBiMapUnitTest from core-java to java-collections-map module 2018-10-20 23:11:32 +05:30
fanatixan
03065a43e9 moving heap sort from core-java to algorithms (#5475) 2018-10-17 12:54:35 -07:00
Tom Hombergs
5e791c56a1 removed unneccessary folder 2018-10-15 23:12:19 +02:00
amit2103
6b5a6aaf2d Merge branch 'master' of https://github.com/eugenp/tutorials into BAEL-9635 2018-10-14 23:05:55 +05:30
fanatixan
285219c54c Bael-2210 - Heap Sort (#5446)
* implementing heap

* Heap sort refactor
2018-10-14 10:08:11 -07:00
amit2103
b5dcb13c41 [BAEL-9635] - Moved Junit vs TestNg junit code examples to junit-5 module from core-java 2018-10-14 18:13:40 +05:30