Commit Graph

1308 Commits

Author SHA1 Message Date
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 4e5302ddf5 8- Eighth commit to split core-java. This commit includes:
* Creating core-java-lang and core-java-arrays README files
* Cleaning core-java README file
2018-11-10 16:04:32 -02:00
geroza 2380a4abad 7- Seventh commit for splitting core-java module task. This commit includes:
* Cleaning core-java-lang pom
* Cleaning core-java-arrays pom
* Fixing core-java artifact version, not using property
2018-11-10 13:25:10 -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
cdjole 2d872af165 Circle class update. (#5648) 2018-11-09 10:25:50 -08:00
Emily Cheyne abe483a85f
Merge pull request #5637 from kcacademic/character-encoding
BAEL-2300: Adding files for the tutorial on character encoding.
2018-11-09 08:14:37 -08:00
Rahul Srivastava 4590bb37f1 Deleting html file 2018-11-09 11:01:57 +05:30
cdjole 6a352be977 Calculate circle area. (#5644) 2018-11-08 16:07:59 -08:00
charlesgonzales 23143a0c17 Bi-monthly test fix - BAEL-10195 (#5626)
* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD
2018-11-08 21:23:23 +01:00
Rahul Srivastava 6dd09ae35d New line in Java for HTML and Changing HTML file 2018-11-08 15:39:06 +05:30
Kumar Chandrakant 6f9e1fd103 BAEL-2300: Adding files for the tutorial on character encoding. 2018-11-08 15:13:12 +05:30
Emily Cheyne ee0d4c103a
BAEL-2250 updated readme (#5631) 2018-11-06 10:46:21 -08:00
Kumar Chandrakant e52a4d0ce6 Handshake failures (#5624)
* BAEL-2250: Adding files for the article on SSL handshake failure.

* BAEL-2250 cleanup formatting

* Applied review feedback on the article.

* Adding cipher suite and protocol selection in server and client

* Corrected some code conventions.

* Revert: BAEL-2250 cleanup formatting

* Made further changes for the review comments on the tutorial.

* Fixed some formatting issues.
2018-11-05 15:51:10 -08:00
Rahul Srivastava b9b4cec7ae Adding new line to a string in Java 2018-11-05 13:29:42 +05:30
KevinGilmore f2d3c040a7
BAEL-2015: add link back to article (#5619) 2018-11-04 13:10:56 -06:00
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
Loredana Crusoveanu 4337ccb909
Update README.md 2018-11-03 22:57:18 +02:00
Emily Cheyne a4c624349b
Update README.md (#5591) 2018-10-31 10:47:32 -07: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
Kumar Chandrakant 0690a6332e BAEL-2250: Adding files for the article on SSL handshake failure. (#5541)
* BAEL-2250: Adding files for the article on SSL handshake failure.

* BAEL-2250 cleanup formatting

* Applied review feedback on the article.

* Adding cipher suite and protocol selection in server and client

* Corrected some code conventions.

* Revert: BAEL-2250 cleanup formatting
2018-10-27 20:22:33 -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
charlesgonzales fc13924962 Bi-monthly fix (BAEL-9663) (#5523)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md
2018-10-23 01:57:41 -07: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
Loredana Crusoveanu 7d7cae7b0b
Merge pull request #5485 from eugenp/thombergs-patch-8
Added link
2018-10-19 20:57:35 +03:00
Loredana Crusoveanu edf4098bf4
Merge pull request #5403 from eugenp/thombergs-patch-7
added link
2018-10-19 20:57:21 +03:00
Loredana Crusoveanu 5e3f5a9706
Merge pull request #5457 from eugenp/BAEL-9635
move tests in junit-5
2018-10-19 20:54:54 +03:00
Tom Hombergs be4c65f0a3
Merge branch 'master' into thombergs-patch-7 2018-10-18 21:18:02 +02:00
Tom Hombergs cb9ffa4a4a
Update README.md 2018-10-18 21:16:33 +02:00
fanatixan 03065a43e9 moving heap sort from core-java to algorithms (#5475) 2018-10-17 12:54:35 -07:00
José Carlos Valero Sánchez 90978bf35e
Merge pull request #5370 from FDPro/master
dupirefr/dupire.francois+pro@gmail.com [BAEL-2183] Arrays in Java
2018-10-16 09:05:17 +01:00
Tom Hombergs 5e791c56a1 removed unneccessary folder 2018-10-15 23:12:19 +02:00
Loredana Crusoveanu 2db4d4091e modify link 2018-10-14 22:44:56 +03: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
amit2103 1820b2c37f [BAEL-9514] - Added Junit 5 @DisplayName annotation example 2018-10-14 01:37:11 +05:30
Loredana Crusoveanu b2bea50bc5
Merge pull request #5436 from Doha2012/master
fix MockitoJUnitRunner deprecated import
2018-10-13 11:29:33 +03:00
DOHA ac8742cfff fix MockitoJUnitRunner deprecated import 2018-10-13 01:47:27 +03:00
Rokon Uddin Ahmed 3c35e25015 BAEL-9344 (#5435)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md
2018-10-12 22:22:56 +02:00
Nikhil Khatwani e5be99d328 Changes for BAEL-2288 2018-10-09 23:16:56 +05:30
Tom Hombergs 369d471b8f
added link 2018-10-08 20:35:36 +02:00
Loredana Crusoveanu 3479be7b06
Merge pull request #5383 from divyum/master
remove duplicate and broken Java UUID tutorial link
2018-10-07 11:18:20 +03:00
Eugen 166534ce50
Update README.md 2018-10-05 22:11:46 +02:00
Divyum Rastogi b4f2f430bf remove duplicate and broken Java UUID tutorial link 2018-10-04 00:54:56 +05:30
Tom Hombergs 2784b3de4c removed unnecessary Mockito and refactored test method name 2018-10-01 21:06:19 +02:00
Tom Hombergs 0f18f2844d
Merge pull request #5307 from grigoriosdimopoulos/BAEL2150
[BAEL2150] Nth root in Java
2018-10-01 20:55:49 +02:00
dupirefr 8ca0e9a847 [BAEL-2183] Arrays manipulations 2018-10-01 19:30:04 +02:00
ramansahasi 317ed150a1 BAEL-2015 Memory leaks in Java (#5295)
* BAEL-2015_Memory_leaks_in_Java

* Ignored tests

* Update NonStaticFieldsDemo.java

* Corrected class name

* converted tabspaces to whitespaces
2018-09-30 20:59:53 -05:00
Shubhra Srivastava b4aa279eaa BALE-2224 Ternary Operator In Java (#5362) 2018-09-30 14:52:49 -07:00
charlesgonzales 4cbc8d0bac To add/fix links (Team Jira BAEL-9015) (#5332)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Create README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-27 09:09:58 +02:00
myluckagain 5e8076dddd BAEL-2182 (#5257)
* BAEL-2182

* refactoring
2018-09-23 07:43:20 +02:00
Grigorios Dimopoulos 5b78803c1f [BAEL2150] Code for the related article, about nth root in java. 2018-09-22 17:37:09 +03:00
Akash Pandey 6995a96704 BAEL-2159: Mini Article on "Separate double into integer and decimal parts" (#5300) 2018-09-21 11:31:47 +02:00
Eric Martin fe3bf7487d
Merge pull request #5248 from asturcon/heapDump
BAEL-2171 - Different Ways to Capture Java Heap Dumps
2018-09-19 20:56:07 -05:00
José Carlos Valero Sánchez 8cf4000544
Merge pull request #5293 from RanjeetKaur17/develop.0.3.0
Changes to directly create ZoneOffset using offset value rather using…
2018-09-19 21:23:06 +02:00
Sam Millington 4d2780379d Password Hashing, PBKDF2 and SHA-512
Issue: BAEL-2164
2018-09-19 10:29:04 -06:00
RanjeetKaur17 4be74d00d1 Changes to directly create ZoneOffset using offset value rather using ZoneRules. 2018-09-19 10:38:11 +04:00
Marcos Lopez Gonzalez a48f385176 File creation for dump changed 2018-09-17 18:13:09 +02:00
José Carlos Valero Sánchez 096f17f30e
Merge pull request #5234 from RanjeetKaur17/develop.0.3.0
Adding Examples for ZonedDateTime, OffsetDateTime and OffsetTime
2018-09-16 23:37:07 +02:00
Marcos Lopez Gonzalez f83b1268cc Merge branch 'masterEugen' into heapDump 2018-09-13 22:38:12 +02:00
Marcos Lopez Gonzalez 597602a478 BAEL-2171 - java heap dumps 2018-09-13 22:37:40 +02:00
Josh Cummings 1a06dfb941
Floating-point Formatting (#5244)
These samples show some different approaches for formatting a
floating-point value into a String, while removing its decimal part.

Included is a benchmark to show how each approach performs.

Issue: BAEL-2152
2018-09-13 06:42:33 -06:00
daoire 6009c4f910 Updates to Double to string 2018-09-12 20:35:59 +01:00
RanjeetKaur17 e8a48fbad2 Removing unused file. 2018-09-12 20:11:40 +04:00
RanjeetKaur17 33e7ce89ce Adding Examples for ZonedDateTime, OffsetDateTime and OffsetTime 2018-09-12 20:09:27 +04:00
daoire d037c59c3c
Merge pull request #5197 from vaibs28/master
BAEL-2152
2018-09-09 20:17:56 +01:00
Vaibhav Sahay c98a0234ae
Delete DoubletoString.java 2018-09-08 10:04:07 +05:30
Vaibhav Sahay 6b5204cf47
BAEL-2152 Convert double to String
Code snippet for converting and formatting double to String
2018-09-08 09:59:28 +05:30
Vaibhav Sahay 9aa085292d
import NumberFormat 2018-09-08 00:27:15 +05:30
Vaibhav Sahay 37544c141b
added formatting using Locales 2018-09-08 00:25:25 +05:30
Rokon Uddin Ahmed fccf56fdc2 BAEL-8287 (#5180)
* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.MD

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Create README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md

* Update README.md
2018-09-07 13:56:13 +03:00
daoire 1dab83863b
Update README.md 2018-09-07 07:41:52 +01:00
Vaibhav Sahay 0da07de99e
BAEL-2152
code snippet for converting double to String
2018-09-05 19:09:31 +05:30
Donato Rimenti 2a66773c7c [BAEL-1935] Synthetic Class in Java (#5122)
* BAEL-1935: Synthetic Class in Java

* Converted tabs to spaces
2018-09-03 19:05:41 +02:00
Predrag Maric a32904fc19
BAEL-2151 code moved to algorithms module (#5141) 2018-09-02 12:06:04 +02:00
Swapan Pramanick b7aa6a2caa BAEL-2140 (#5092) 2018-09-02 07:08:12 +02:00
myluckagain de84251d48 fix y-coord (#5124)
BAEL-2151 fix y-coord
2018-09-01 09:54:59 +02:00
myluckagain 3824590375 float to double (#5118) 2018-08-30 23:42:16 +02:00
myluckagain 2a12e9abd4 BAEL-2151 (#5087)
BAEL-2151
2018-08-30 00:56:21 +02:00
Kacper c4cb6eec73 Move optional to java-8-core (#5105) 2018-08-29 06:51:41 -07:00
Kacper 8ac53f70c4 Optional or else throw (#5088)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow

* fix test
2018-08-27 22:21:33 +02:00
amit2103 c5e1d6f0ef [BAEL-8456] - Moved more articles into 'java-dates' module 2018-08-26 00:49:30 +05:30
amit2103 3bd1ed4ece [BAEL-8456] - Moved Java Date articles into a new module - 'java-dates' 2018-08-25 17:44:06 +05:30
Kacper 9b343be45e BAEL-2122 Optional or else throw (#5047)
* Throw and throws in Java

* BAEL-2122 | throw exception in optional

* BAEL-2122 | optional orelsethrow
2018-08-24 13:18:30 +02:00
daoire 2779300352
Merge pull request #4898 from Kirti-Deo/master
BAEL-2024 : java.lang.ClassCastException: java.util.Arrays$ArrayList cannot be cast to java.util.ArrayList
2018-08-24 07:59:47 +01:00
Kirti Deo 7afb1b2dc8 BAEL-2024 : Fixed review comments by Darragh. 2018-08-22 20:17:33 +05:30
sachin fb0023286a BAEL-7674: Let's make sure our logging configuration has the same pattern 2018-08-21 18:22:53 -04:00
daoire cae45a3be6
Update README.md 2018-08-21 07:06:37 +01:00
Loredana Crusoveanu 32f2daa7f2
Merge pull request #4964 from dkapil/story/BAEL-7636
BAEL-7636 Add the missing plugin versions in the tutorial repo
2018-08-21 08:33:37 +03:00
Kirti Deo 8136464a6e BAEL-2024 : ClassCastException : Fixing review comments 2018-08-20 21:12:40 +05:30