Commit Graph

10385 Commits

Author SHA1 Message Date
Ali Dehghani 0987f52a88 BAEL-2306: Update Spring JNDI article (#5540) 2018-10-27 09:38:14 +02:00
Larry Chung 84ef2cd246 BAEL-2142 Code revision to WordIndexer and JUnit (#5484)
* Refactoring and Unit testing added based on Kevin Gilmore's advice of Sep 16, 2018

* Refactoring and Unit testing added based on Kevin Gilmore's advice of Sep 16, 2018

* Refactoring and Unit testing added based on Kevin Gilmore's advice of Sep 16, 2018

* Resolve merge conflict

Added dependency for org.passay and for org.apache.commons

* Create searching/WordIndexer.java

* Create WordIndexerUnitTest.java

* Updated in response to Kevin Gilmore's questions

"What happens if the string ends with the word you're searching for? Would the next iteration of the loop cause an error if index + wordLength is greater than the last position of the string? Be sure to test this scenario."

* Updated WordIndexer in response to Kevin Gilmore

Generally speaking, it's good practice to declare return types, parameters, variables using an interface rather than an implementation, if the interface is sufficient to satisfy the need. In this case, there's no reason you can't simply return a List of Integer. (Excellent point, fixed)

The two methods are identical. Isn't the first one supposed to be the naive approach? (It was a copy and paste error, fixed)

* saving changes...

* Update java-strings/src/main/java/com/baeldung/string/searching/WordIndexer.java

Co-Authored-By: codewarrior2000 <lpc34@columbia.edu>

* Update java-strings/src/main/java/com/baeldung/string/searching/WordIndexer.java

Co-Authored-By: codewarrior2000 <lpc34@columbia.edu>

* Update java-strings/src/test/java/com/baeldung/string/searching/WordIndexerUnitTest.java

Co-Authored-By: codewarrior2000 <lpc34@columbia.edu>

* Respond to Kevin Gilmore's code changes

* Debugging code change to JUnit
2018-10-26 21:06:48 -05:00
Loredana Crusoveanu 57f89ee1ee
Merge pull request #5546 from eugenp/move-graylog
move graylog ex
2018-10-26 23:32:22 +03:00
Loredana 4c3a0d7f1f move graylog ex 2018-10-26 23:25:49 +03:00
Loredana Crusoveanu dd0eefed99
Merge pull request #5543 from eugenp/lor6-patch-19
Update pom.xml
2018-10-26 22:50:32 +03:00
Tom Hombergs c4e781ca82
added link 2018-10-26 21:43:19 +02:00
Tom Hombergs 1c0bd0a01e
added link 2018-10-26 21:38:56 +02:00
Loredana Crusoveanu a9d5e2d5f0
Update pom.xml 2018-10-26 22:30:56 +03:00
Loredana Crusoveanu 8c50457533
Merge pull request #5542 from dkapil/task/BAEL-9709
Task/bael 9709
2018-10-26 22:01:19 +03:00
Dhawal Kapil bbc4cdd3f7 Merge branch 'master' of https://github.com/eugenp/tutorials into task/BAEL-9709 2018-10-26 23:56:29 +05:30
Dhawal Kapil 8c361330f1 BAEL-9709 Fix start of Boot projects with parent-boot-2 parent
-Added placeholder {start-class} tag in parent-boot-2's spring-boot-maven-plugin so that any child that has a {start-class} automatically is benefited from this plugin and wil help that child class to run
-Fix startup issues of few spring boot 2 projects
2018-10-26 23:56:07 +05:30
Eric Martin 362bd203e9
Merge pull request #5535 from eugenp/Fix-HibernateCustomTypesUnitTest
Renamed HibernateCustomTypesUnitTest
2018-10-26 00:31:34 -05:00
eric-martin ccef2f572e HibernateCustomTypesManualTest 2018-10-26 00:27:46 -05:00
eric-martin e69b7283f3 Renamed HibernateCustomTypesUnitTest 2018-10-26 00:18:26 -05:00
Eric Martin 2ac03eb218
Merge pull request #5524 from eugenp/Issue-5497
UnzipFile is vulnerable to Zip Slip #5497
2018-10-25 23:55:20 -05:00
Eric Martin 9289bf858c
Merge pull request #5534 from eugenp/Fix-SimpleDateFormatUnitTest
Fixed SimpleDateFormatUnitTest
2018-10-25 23:53:51 -05:00
Ganesh Pagade f34d44faaa fixes 2018-10-26 10:21:35 +05:30
eric-martin 8837a12608 Fixed SimpleDateFormatUnitTest 2018-10-25 23:47:46 -05:00
Alejandro Gervasio cadc14f0c9 BAEL-2299 - A CRUD web application with SpringBoot and Thymeleaf (#5530)
* Initial Commit

* Update Application.java

* Update pom.xml

* Update pom.xml

* Update pom.xml

* Update Application.java
2018-10-25 17:09:35 -07:00
José Carlos Valero Sánchez 55ccc6b433
Merge pull request #5395 from freddyaott/master
[BAEL-2264] Creating a Thread in Kotlin
2018-10-25 20:57:17 +01:00
DOHA aa8a7827f7 Merge remote-tracking branch 'eugenp/master' 2018-10-25 22:38:35 +03:00
Loredana Crusoveanu 1fe49674b3
Merge pull request #5514 from eugenp/BAEL-2222-v2
update zonedatetime test
2018-10-25 21:23:10 +03:00
Loredana Crusoveanu c3ead414f6
Merge pull request #5522 from Doha2012/master
httpOnly session
2018-10-25 21:22:24 +03:00
Loredana Crusoveanu 5e0cd159d3
Merge pull request #5505 from dkapil/task/BAEL-9040
Task/bael 9040
2018-10-25 21:14:44 +03:00
DOHA b3d4ed532b Merge remote-tracking branch 'eugenp/master' 2018-10-25 14:37:45 +03:00
Eric Martin 5140bd630d
Merge pull request #5444 from Wosin/BAEL-1463
BAEL-1463: Apache Storm Introduction
2018-10-24 20:08:48 -05:00
chandra 464189ff4e Introduction to Scala
Updated examples
2018-10-24 16:43:09 -04:00
Loredana Crusoveanu 5bc98d712f
Merge pull request #5528 from eugenp/fix-bubble-sort
fix bubble sort
2018-10-24 22:50:10 +03:00
Loredana Crusoveanu 7bd608207c fix bubble sort 2018-10-24 22:29:28 +03:00
Loredana Crusoveanu c26630f046
Merge pull request #5526 from khatwaniNikhil/BAEL-2215
Changes for BAEL-2215
2018-10-24 19:43:29 +03:00
Tino M Thomas e2aad41b78 BAEL - 2251
Moved the code from spring-boot-mvc to spring-all
2018-10-24 09:36:56 +03:00
Alfonso Lentini a828ae2137 Added comments 2018-10-23 23:40:46 +02:00
daoire e24426923e Refactor Code and add Tests (#5251) 2018-10-23 22:09:29 +02:00
José Carlos Valero Sánchez 75b2ba2efa
Merge pull request #5517 from PranayVJain/BAEL-2236
BAEL-2236: Reading a CSV file into a array
2018-10-23 19:39:13 +01:00
Dhawal Kapil 6ef143f570 BAEL-9040 Two quick improvements to the foreach article
-Added Map's forEach BiConsumer example
2018-10-23 22:00:06 +05:30
Nikhil Khatwani 2809811d9f Changes for BAEL-2215 2018-10-23 17:56:26 +05:30
Grzegorz Piwowarek 1bca2a8c54
Update README.md (#5525) 2018-10-23 04:50:09 -07:00
DomWos 6f34ca1de2 Changed the comment about random range to proper values. 2018-10-23 12:09:46 +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
eric-martin 917c64307a UnzipFile is vulnerable to Zip Slip #5497 2018-10-22 21:57:52 -05:00
DOHA 38e9149af6 httpOnly session 2018-10-22 22:39:07 +03:00
Loredana Crusoveanu 906082b26f fix formating 2018-10-22 20:05:17 +03:00
sandy03934 c533462382 Bael 2262 : Removed the basic authentication from HTTPS Enabled Application (#5516)
* BAEL-1979 Added examples for SnakeYAML Library

* BAEL-1979 Moved the snakeyaml related code to libraries module

* BAEL-1979 Removed the System.out.println() statements and converted the assertTrue to assertEquals wherever possible.

* BAEL-1979 Removed println statements, small formatting fix in pom.xml

* BAEL-1466 Added a new module for apache-geode

* BAEL-1466 Updated the Integration Tests.

* BAEL-1466 Updated the Integration Tests.

* BAEL-1466 Updated the Integration Tests.

* BAEL-1466 Removed the Unnecessary code.

* BAEL-2262 Added code for demonstration of HTTPS enabled Spring Boot Application

* BAEL-2262 Removed the Basic Authentication from the HttpsEnabledApplication.
2018-10-22 08:38:39 -07:00
Ganesh Pagade 2bca6e0c83 Merge branch 'master' of https://github.com/eugenp/tutorials into zuul_throttling 2018-10-22 19:52:24 +05:30
Ganesh Pagade 87153bd9ff minor changes 2018-10-22 19:11:40 +05:30
DomWos aed1514c0b Filtering fix. 2018-10-22 11:54:39 +02:00
DomWos 6fa2361283 Fixes according to comments. 2018-10-22 11:51:37 +02:00
Pranay jain daa1de25a2 BAEL-2236: Reading a CSV file into a array 2018-10-22 11:06:25 +05:30
José Carlos Valero Sánchez f83798f80c
Merge pull request #5512 from MrSamMillington/master
[BAEL-2256] Guide to simple date format unit test
2018-10-21 21:39:40 +01:00
Loredana Crusoveanu 6e08650b9c
Merge pull request #5432 from smmansoor/bael-2040
[BAEL-2040] Introduction to apache pulsar
2018-10-21 22:54:55 +03:00