Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
239 commits
Select commit Hold shift + click to select a range
21bd180
BAEL-1461
Thoughtscript Apr 19, 2018
594b6dd
BAEL-1461 refactored
Thoughtscript Apr 27, 2018
2636f0c
BAEL-1461: Combined modules and refactored
Thoughtscript May 2, 2018
e90737e
Add files via upload
jabyte May 3, 2018
0c60928
Delete WorkingWithArraysInThymeleafApplication.java
jabyte May 3, 2018
afb5fd3
Removed white-spacing conflict
Thoughtscript May 7, 2018
936dc5e
Add files via upload
jabyte May 10, 2018
77227cd
Create continents.html
jabyte May 10, 2018
769dfd7
Add files via upload
jabyte May 10, 2018
c3c8b73
Update pom.xml
jabyte May 10, 2018
517b6d4
Update pom.xml
jabyte May 10, 2018
ddd6019
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 10, 2018
300d600
Update ArrayController.java
jabyte May 10, 2018
26521fb
Update continents.html
jabyte May 10, 2018
6d7d894
Delete ArrayController.java
jabyte May 10, 2018
5deaa41
Add files via upload
jabyte May 10, 2018
bc4594d
Update ThymeleafArrayController.java
jabyte May 10, 2018
8aad495
Update continents.html
jabyte May 10, 2018
012bf35
Update pom.xml
jabyte May 10, 2018
4e4b65c
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 10, 2018
86b4b39
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 11, 2018
460c314
Update pom.xml
jabyte May 11, 2018
a4c5020
Update continents.html
jabyte May 11, 2018
c510a4e
Update pom.xml
jabyte May 11, 2018
08d5edb
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 11, 2018
ab93b62
Update pom.xml
jabyte May 11, 2018
a9827c6
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 11, 2018
22ee523
Update pom.xml
jabyte May 11, 2018
7ceb31f
Update pom.xml
jabyte May 11, 2018
fdaa866
Update pom.xml
jabyte May 11, 2018
a27ef5a
Update pom.xml
jabyte May 11, 2018
c2d37e9
Update WorkingWithArraysInThymeleafApplication.java
jabyte May 11, 2018
1d94492
Array declared and initialized in one line.
jabyte May 18, 2018
5a92adb
Typo
meltahawy May 22, 2018
d5177c1
Added for eval article
priyeshmashelkar May 23, 2018
5268c3e
Removed unused code
priyeshmashelkar May 23, 2018
c170f21
Used log() in StockClient and formatted in eclipse
priyeshmashelkar May 24, 2018
4725718
Merge remote-tracking branch 'origin/master'
priyeshmashelkar May 24, 2018
c0852bf
Added model class
priyeshmashelkar May 24, 2018
a4a8e1d
BAEL-1792 overview of visitor design pattern
den315 May 27, 2018
f1d4024
Added springbootnonwebapp project code
May 30, 2018
1395211
Merge branch 'master' into hemantvsn_SpringBootNonWebApp_30May18
pivovarit Jun 6, 2018
b11033b
Merge pull request #1 from eugenp/master
chandra1123 Jun 10, 2018
98d37d0
Removed the controller
hemantvsn Jun 11, 2018
0a29248
Merge branch 'masterEugen'
marcos-lg Jun 12, 2018
400f86a
Removed 2 classes for main and other for Runner. Replaced them with a…
Jun 15, 2018
39916c3
Merge branch 'masterEugen'
marcos-lg Jun 18, 2018
5d589d3
convert string to tiltle case
marcos-lg Jun 20, 2018
5de26d0
Merge branch 'masterEugen' into tutorials/titleCase
marcos-lg Jun 20, 2018
dfbd91a
renamed test class
marcos-lg Jun 20, 2018
9241c90
Update SpringBootConsoleApplication.java
hemantvsn Jun 22, 2018
ca5d22f
Merge branch 'masterEugen'
marcos-lg Jun 23, 2018
914859d
Date without time
marcos-lg Jun 24, 2018
6f125f2
tests date without time
marcos-lg Jun 24, 2018
8a96035
Logged the arguements of run method
hemantvsn Jun 25, 2018
1609a9a
BAEL-1474 Take2 (#4566)
psevestre Jun 26, 2018
7e0d553
* Added code for BAEL-1899 get start and end of a day (#4567)
rozagerardo Jun 26, 2018
d1e092b
Examples of Reflection in Kotlin (#4483)
sazzer Jun 26, 2018
a0b0e1c
Java Custom Exception
gangadkho Jun 26, 2018
287d0a0
BAEL-1732 - Java with ANTLR (#4243)
mkuligowski Jun 26, 2018
642eaa2
BAEL-1891 interpreter design pattern in java
den315 Jun 26, 2018
d5013d5
Merge branch 'master' of https://github.com/eugenp/tutorials
den315 Jun 26, 2018
08b589e
BAEL-1892 Get Integer Values from Date
dkapil Jun 25, 2018
36dd488
Merge pull request #4538 from asturcon/tutorials/dateWithoutTime
lor6 Jun 26, 2018
07f3ab6
Merge pull request #4517 from asturcon/tutorials/titleCase
lor6 Jun 26, 2018
0e97b9d
Add the code snippets of the Kotlin String Template article (#4541)
veontomo Jun 26, 2018
b1b34e2
BAEL-1924 (#4573)
abialas Jun 26, 2018
9c8d31a
BAEL 1793 Adding PageImpl for pagination (#4371)
mmchsusan Jun 27, 2018
e3978a5
Bael 4461 3 (#4557)
amit2103 Jun 27, 2018
5d2d793
GWT app new branch
MherBaghinyan Jun 27, 2018
c23d32e
Merge remote-tracking branch 'upstream/master' into BAEL-1743_
MherBaghinyan Jun 27, 2018
52b1f32
GWT app new branch
MherBaghinyan Jun 27, 2018
c23ac47
Commit for Eval Article pull request
smokeyrobot May 2, 2018
b567959
Revert "Commit for Eval Article pull request"
smokeyrobot May 2, 2018
7e8dd88
Merge pull request #4369 from hemantvsn/hemantvsn_SpringBootNonWebApp…
eric-martin Jun 28, 2018
0d84a49
BAEL-1896: Guide to GregorianCalendar
Jun 28, 2018
e065d94
Merge pull request #4571 from den314/master
thombergs Jun 28, 2018
d834de3
[BAEL-1753] added ToDo application controllers
smmansoor Jun 28, 2018
528a945
Merge remote-tracking branch 'upstream/master'
smmansoor Jun 29, 2018
0c1cee1
Please enter the commit message for your changes. Lines starting
priyeshmashelkar Jun 29, 2018
b1d194c
BAEL-1815: RomanNumeral and RomanArabicConverter (#4565)
eric-martin Jun 29, 2018
ebed45b
Pivovarit patch 4 (#4570)
harriteja Jun 29, 2018
b741e4e
Added model class
priyeshmashelkar May 24, 2018
9da2a97
Added test classes for BAEL-1907
priyeshmashelkar Jun 29, 2018
0fd7481
Merge pull request #4581 from smmansoor/master
thombergs Jun 29, 2018
6656f45
BAEL-1783 (#4545)
andrea-ligios Jun 30, 2018
c66845c
BAEL-1474 take2 - Code cleanup (#4585)
psevestre Jun 30, 2018
b6ca7d5
BAEL-1908 Initial Commit
smokeyrobot Jun 30, 2018
4e785fd
BAEL-1760 Console I/O in Java (#4379)
IvanLjubicic Jun 30, 2018
f6f62ea
BAEL-1727 (#4575)
Jun 30, 2018
172eb6c
BAEL-1774: Moved SpringBootConsoleApplication from spring-boot to
eric-martin Jun 30, 2018
97a2e6b
Merge pull request #4587 from eugenp/BAEL-1774
eric-martin Jun 30, 2018
f4d9ba7
[BAEL-7057] - Fixed Junits in Jenkins for libraries-data Module (#4588)
amit2103 Jun 30, 2018
76317f8
Merge branch 'master' into master
lor6 Jun 30, 2018
2191bb6
BAEL-1896 Added test cases
Jun 30, 2018
111c39d
Update README files (#4589)
KevinGilmore Jun 30, 2018
97bddd2
BAEL-1924 (#4590)
abialas Jun 30, 2018
00a14a6
fix surefire version
lor6 Jun 30, 2018
aae4c26
add java configuration
Doha2012 Jun 30, 2018
f3b612a
Merge pull request #4593 from eugenp/ldap-surefire
lor6 Jul 1, 2018
0a5b8c3
update to spring 5
lor6 Jul 1, 2018
6a3608b
Merge pull request #4596 from Doha2012/master
lor6 Jul 1, 2018
bafa167
Merge pull request #4598 from eugenp/update-dispatcher
lor6 Jul 1, 2018
92340e9
[BAEL-1847] Iterate Backwards through a List (#4540)
theawesomenayak Jul 1, 2018
06577f1
update to spring 5
lor6 Jul 1, 2018
f9ea250
Update README.md
lor6 Jul 1, 2018
b0c0bbc
Merge pull request #4601 from eugenp/update-valid
lor6 Jul 1, 2018
0cd8031
update to spring 5
lor6 Jul 1, 2018
d148e78
Merge pull request #4602 from eugenp/lor6-patch-3
lor6 Jul 1, 2018
9c82a74
Merge pull request #4603 from eugenp/spring-rest-update
lor6 Jul 1, 2018
2d6136b
Merge pull request #4568 from gangadkho/master
lor6 Jul 1, 2018
c0aaed7
[BAEL-1930] Encryption and decryption of files using JDK
kiview Jul 1, 2018
3e3e577
Deleted file from evaluation
priyeshmashelkar Jul 2, 2018
c7d58f3
Delete file from evaluation
priyeshmashelkar Jul 2, 2018
44caf3b
Deleted file from evaluation
priyeshmashelkar Jul 2, 2018
92acea6
Context and Servlet Initialization Parameters (#4594)
Jul 3, 2018
add380d
Merge pull request #4611 from priyeshmashelkar/master
thombergs Jul 3, 2018
1487b91
BAEL-1896. Fixed Junits
Jul 3, 2018
396df6f
[BAEL-1753] Moved Kotlin-ktor in core-kotlin module
smmansoor Jul 3, 2018
a5f2fd1
removed unwanted files
smmansoor Jul 3, 2018
66f0687
removed unwanted files
smmansoor Jul 3, 2018
34bb168
Updated gitignore
smmansoor Jul 3, 2018
4230806
Merge branch 'master' into master
lor6 Jul 3, 2018
f0d2c54
Merge pull request #4163 from jabyte/master
lor6 Jul 3, 2018
8a2514d
Merge pull request #4317 from meltahawy/patch-1
lor6 Jul 3, 2018
5515220
Add BAEL-1919 embedded MongoDB test samples (#4580)
mikewojtyna Jul 3, 2018
6d60eab
BAEL-1896: Refactored names
Jul 4, 2018
400e13d
Merge remote-tracking branch 'upstream/master'
smmansoor Jul 4, 2018
a78aef2
Delete kotlin-ktor module
smmansoor Jul 4, 2018
66ede7f
Improvements (#4610)
Jul 4, 2018
6cae548
Merge pull request #2 from eugenp/master
chandra1123 Jul 4, 2018
463d159
Added unit test for Thread.join method
chandra1123 Jul 4, 2018
3b3008b
Merge pull request #4623 from chandra1123/BAEL-1757-3
lor6 Jul 4, 2018
684324f
Update download servlet to try-with-resources block. (#4453)
pauljervis Jul 4, 2018
4615e16
Use BufferedReader when decrypting
Jul 4, 2018
bbd23ad
Merge pull request #4578 from MherBaghinyan/BAEL-1743_
eric-martin Jul 4, 2018
0630938
Merged: removed readme, fixed pom.xml
Thoughtscript Jul 5, 2018
f06f061
Merge pull request #4007 from Thoughtscript/BAEL-1461
lor6 Jul 5, 2018
234107f
BAEL-1933 Added code examples and unit tests for creating symbolic li…
timoteoponce Jul 5, 2018
59277b4
BAEL-1846: Java Image to Base64 String (#4600)
nnhai1991 Jul 5, 2018
bebaf6d
BAEL-1776: Add description and change module name (#4607)
fscorro Jul 6, 2018
f086ae7
BAEL-7217 (#4637)
cody756 Jul 6, 2018
178aa88
Moved code from spring-boot to testing-modules/mockito
priyeshmashelkar Jul 6, 2018
8e3fdf0
Merge branch 'master' of https://github.com/priyeshmashelkar/tutorials
priyeshmashelkar Jul 6, 2018
11edaaf
BAEL-1712 Fix tests in libraries project (#4630)
dkapil Jul 6, 2018
e8a7396
Merge pull request #4618 from smmansoor/master
thombergs Jul 6, 2018
56c27f3
Micronaut server
michael-pratt Jul 5, 2018
a49358c
More server stuff; create client and test
michael-pratt Jul 6, 2018
b4969dd
Rename directory, new concerete client example
Jul 6, 2018
14a571a
[BAEL-1835] Creating empty Maven Java project with compiler plugin
Jul 6, 2018
3a9ca3b
[BAEL-1835] Adding dummy application and Java service
Jul 6, 2018
0810f9f
[BAEL-1835] Added packaging jar to pom
Jul 6, 2018
2059cb1
[BAEL-1835] Updated pom to handle Kotlin and Java sources compiling
Jul 6, 2018
b9e6222
[BAEL-1835] Added dummy KotlinService
Jul 7, 2018
60702c1
[BAEL-1835] Fixing indent and organization
Jul 7, 2018
2201a8d
bael-1874 (#4574)
myluckagain Jul 7, 2018
da1db70
Update FileEncrypterDecrypterIntegrationTest.java
lor6 Jul 7, 2018
e78ca7c
Merge pull request #4606 from kiview/bael-1930-encrypt
lor6 Jul 7, 2018
41b8473
Merge remote-tracking branch 'eugenp/master'
Doha2012 Jul 7, 2018
3786d4e
* Added code for BAEL-1972 (#4632)
rozagerardo Jul 8, 2018
a35890b
Cleaned up pom.xml - switched to BOM for better top-level management …
Thoughtscript Jul 8, 2018
8fb3459
cleanup work
Jul 8, 2018
3b7cb37
BAEL-1165 Resilience4j (#4312)
denis-zhdanov Jul 8, 2018
28166a7
Fixed spring-session integration tests (#4650)
amit2103 Jul 8, 2018
f3237ef
Bael 1908 - Guide to SqlResultSetMapping (#4586)
smokeyrobot Jul 8, 2018
30b4394
BAEL-1921 - added example code and unit test for GlobalExceptionHandl…
mrudav-shukla Jul 8, 2018
6be948a
BAEL-1354 Guide to microservice with meecrowave (#4612)
dhruba619 Jul 8, 2018
e5f2714
Update and add README files (#4657)
KevinGilmore Jul 8, 2018
4ff269f
upgrade email article, move to spring-mvc-simple
lor6 Jul 8, 2018
88d17fa
remove email module
lor6 Jul 8, 2018
387d93e
BAEL-1901 Add hours to Date in Java (#4599)
shubhi22 Jul 8, 2018
28cbbe0
remove email module
lor6 Jul 8, 2018
9c8973f
Refactored Junits
Jul 8, 2018
ee98d75
BAEL-1901: AssertJ Fix (#4660)
shubhi22 Jul 8, 2018
3484250
added link
thombergs Jul 8, 2018
9c728db
upgrade to spring 5, remove extra code
lor6 Jul 8, 2018
6c1de58
Merge pull request #4658 from eugenp/upgrade-email
lor6 Jul 8, 2018
0e66fe1
upgrade webflow
lor6 Jul 8, 2018
455385d
Merge pull request #4579 from amitabhmandal/BAEL-1896
thombergs Jul 8, 2018
a373d08
BAEL-1691 comparing embedded servlet containers in spring boot
chrisoberle Jul 8, 2018
d48389c
Merge pull request #4662 from eugenp/thombergs-patch-16
thombergs Jul 8, 2018
63e55f2
Added source files for BAEL-1867
Tonnix Jul 9, 2018
1e69e96
Added test file for BAEL-1867
Tonnix Jul 9, 2018
c51a976
BAEL-1555 (#4652)
Thoughtscript Jul 9, 2018
692eafa
Fix Trie implementation (#4668)
pivovarit Jul 9, 2018
9b27ab5
upgrade to spring boot 2
Doha2012 Jul 9, 2018
db00197
Merge pull request #4670 from Tonnix/master
lor6 Jul 9, 2018
a1dab9a
refactor test
lor6 Jul 9, 2018
eeb28b0
Merge pull request #4674 from eugenp/BAEL-1867-v2
lor6 Jul 9, 2018
66f2263
add new is to string test
lor6 Jul 9, 2018
016509a
Merge pull request #4663 from eugenp/upgrade-xml
lor6 Jul 9, 2018
acf7313
Merge pull request #4664 from eugenp/upgrade-webflow
lor6 Jul 9, 2018
5abfd44
fix parent
Doha2012 Jul 9, 2018
ca1a1d7
Context and Servlet Initialization Parameters (#4656)
Jul 10, 2018
0ad3423
how to trigger and stop scheduled batch job (#4671)
mmchsusan Jul 10, 2018
f959cbe
Merge pull request #4672 from Doha2012/master
lor6 Jul 10, 2018
d9d8f16
Fixed spring-mvc-java, spring-cloud-rest-discovery-server apache-solr…
amit2103 Jul 10, 2018
fed95f4
Merge branch 'master' into master
lor6 Jul 10, 2018
30fef21
Merge pull request #4649 from FDPro/master
lor6 Jul 10, 2018
6444267
PR for last fixes after editors review (#4678)
cmlavila Jul 10, 2018
c3cc97e
Merge pull request #4675 from eugenp/is-string
lor6 Jul 10, 2018
2022b7f
Merge pull request #4665 from chrisoberle/master
thombergs Jul 10, 2018
a3f6ad6
Renamed unit test
priyeshmashelkar Jul 10, 2018
cab2e35
Merge pull request #4682 from priyeshmashelkar/master
thombergs Jul 11, 2018
7ab2a2c
moven kotlin-maven project
lor6 Jul 11, 2018
2c7729c
BAEL-1908 Editor Feedback - simplification of Entity
smokeyrobot Jul 11, 2018
c23c128
Merge branch 'master' into bael-1908
smokeyrobot Jul 11, 2018
1a6c4e8
Merge pull request #4685 from eugenp/BAEL-1835-v2
lor6 Jul 11, 2018
2c1fe27
BAEL-1795 add link back to article (#4684)
KevinGilmore Jul 11, 2018
0ec8fff
BAEL - 1916 (#4679)
tinomthomas Jul 12, 2018
cddf858
BAEL-5246: pom cleanup (#4620)
naturalprogrammer Jul 12, 2018
6335e28
BAEL-1911 - Spring session with JDBC (#4689)
aravind-r-ranganathan Jul 12, 2018
34f4a6b
Bael-1965: using awaitility in test (#4691)
mmchsusan Jul 12, 2018
9b89244
[BAEL-7574] - Fixed integration tests for spring-rest-simple module
mmchsusan Jul 12, 2018
1b64219
Merge branch 'master' of https://github.com/eugenp/tutorials into BAE…
amit2103 Jul 12, 2018
ed872e6
BAEL-1897: Code check-on for (http://jira.baeldung.com/browse/BAEL-18…
abh-swar Jul 12, 2018
a16ec5a
Fixed integration tests for spring-all, data-flow-server, spring-clou…
amit2103 Jul 12, 2018
8270c6d
BAEL-1987 Fix Tests and Compilation In All Projects (#4693)
dkapil Jul 12, 2018
7e16275
BAEL-7390 - add/fix links (#4697)
charlesgonzales Jul 13, 2018
7b68989
Bael 4461 3 (#4695)
amit2103 Jul 13, 2018
9e2f9b7
fix splitter pattern
lor6 Jul 13, 2018
d075e24
BAEL-1917 spring security login page with react
daologger Jul 13, 2018
5a5ac7b
BAEL-1987 Fix Tests and Compilation In All Projects (#4699)
dkapil Jul 13, 2018
6200d88
add spring-security-react to parent pom
daologger Jul 13, 2018
06b4145
Merge branch 'master' of https://github.com/eugenp/tutorials into BAE…
amit2103 Jul 13, 2018
fc722ec
[BAEL-7614] - Upgraded spring-boot and spring-test version to fix int…
amit2103 Jul 13, 2018
86ae048
[BAEL-7614] - Renamed integration test to live test as live solr serv…
amit2103 Jul 13, 2018
ab0a251
revert travis and pom changes
daologger Jul 13, 2018
1f26ae8
Merge pull request #4704 from amit2103/BAEL-4461-3
lor6 Jul 13, 2018
66b0ce2
BAEL - 1916 (#4705)
tinomthomas Jul 13, 2018
918e6a7
Merge pull request #4686 from smokeyrobot/bael-1908
thombergs Jul 13, 2018
6a89139
Merge pull request #4703 from aietcn/master
thombergs Jul 13, 2018
de2afd7
Merge pull request #4702 from eugenp/guava-splitter-fix
lor6 Jul 14, 2018
b44883b
BAEL-1889 - Let's move the Java Number articles into a new module (#4…
JonCook Jul 14, 2018
c5c23ae
setting war plugin version
Jul 14, 2018
44b61ab
BAEL-1914 (#4713)
danielguedesb Jul 15, 2018
b3b91b9
plugin cleanup
Jul 15, 2018
22b7cf7
plugin cleanup
Jul 15, 2018
9498477
BAEL-1914 (#4718)
danielguedesb Jul 15, 2018
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitmodules

This file was deleted.

4 changes: 2 additions & 2 deletions JGit/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>JGitSnippets</artifactId>
Expand Down Expand Up @@ -45,7 +46,6 @@
</dependencies>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<org.eclipse.jgit.version>4.5.0.201609210915-r</org.eclipse.jgit.version>
</properties>

Expand Down
15 changes: 7 additions & 8 deletions Twitter4J/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>

<groupId>com.mabsisa</groupId>
<artifactId>Twitter4J</artifactId>
<packaging>jar</packaging>
Expand All @@ -14,17 +15,11 @@
<version>1.0.0-SNAPSHOT</version>
</parent>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
<java.version>1.8</java.version>
</properties>

<dependencies>
<dependency>
<groupId>org.twitter4j</groupId>
<artifactId>twitter4j-stream</artifactId>
<version>4.0.6</version>
<version>${twitter4j-stream.version}</version>
</dependency>
</dependencies>

Expand All @@ -49,4 +44,8 @@
</plugins>
</build>

<properties>
<twitter4j-stream.version>4.0.6</twitter4j-stream.version>
</properties>

</project>
10 changes: 1 addition & 9 deletions activejdbc/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>activejdbc</artifactId>
Expand All @@ -15,12 +15,6 @@
</parent>

<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>${junit.version}</version>
<scope>test</scope>
</dependency>
<dependency>
<groupId>org.javalite</groupId>
<artifactId>activejdbc</artifactId>
Expand Down Expand Up @@ -133,10 +127,8 @@
</pluginRepositories>

<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<activejdbc.version>1.4.13</activejdbc.version>
<environments>development.test,development</environments>
<org.slf4j.version>1.7.9</org.slf4j.version>
<mysql.connector.version>5.1.34</mysql.connector.version>
</properties>

Expand Down
2 changes: 1 addition & 1 deletion akka-streams/pom.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<artifactId>akka-streams</artifactId>
<name>akka-streams</name>
Expand Down
5 changes: 3 additions & 2 deletions algorithms/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
- [Ant Colony Optimization](http://www.baeldung.com/java-ant-colony-optimization)
- [Validating Input With Finite Automata in Java](http://www.baeldung.com/java-finite-automata)
- [Introduction to Jenetics Library](http://www.baeldung.com/jenetics)
- [Check If a Number Is Prime in Java](http://www.baeldung.com/java-prime-numbers)
- [Example of Hill Climbing Algorithm](http://www.baeldung.com/java-hill-climbing-algorithm)
- [Monte Carlo Tree Search for Tic-Tac-Toe Game](http://www.baeldung.com/java-monte-carlo-tree-search)
- [String Search Algorithms for Large Texts](http://www.baeldung.com/java-full-text-search-algorithms)
Expand All @@ -21,4 +20,6 @@
- [Create a Sudoku Solver in Java](http://www.baeldung.com/java-sudoku)
- [Displaying Money Amounts in Words](http://www.baeldung.com/java-money-into-words)
- [A Collaborative Filtering Recommendation System in Java](http://www.baeldung.com/java-collaborative-filtering-recommendations)
- [Find All Pairs of Numbers in an Array That Add Up to a Given Sum](http://www.baeldung.com/java-algorithm-number-pairs-sum)
- [Converting Between Roman and Arabic Numerals in Java](http://www.baeldung.com/java-convert-roman-arabic)
- [Practical Java Examples of the Big O Notation](http://www.baeldung.com/java-algorithm-complexity)
- [Find the Middle Element of a Linked List](http://www.baeldung.com/java-linked-list-middle-element)
3 changes: 1 addition & 2 deletions algorithms/pom.xml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.baeldung</groupId>
<artifactId>algorithms</artifactId>
Expand Down Expand Up @@ -79,7 +79,6 @@
</reporting>

<properties>
<exec-maven-plugin.version>1.5.0</exec-maven-plugin.version>
<lombok.version>1.16.12</lombok.version>
<commons-math3.version>3.6.1</commons-math3.version>
<tradukisto.version>1.0.1</tradukisto.version>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@
import com.baeldung.algorithms.ga.ant_colony.AntColonyOptimization;
import com.baeldung.algorithms.ga.binary.SimpleGeneticAlgorithm;
import com.baeldung.algorithms.slope_one.SlopeOne;
import com.baeldung.algorithms.pairsaddupnumber.FindPairs;

public class RunAlgorithm {

Expand Down Expand Up @@ -39,12 +38,6 @@ public static void main(String[] args) throws InstantiationException, IllegalAcc
case 5:
System.out.println("Please run the DijkstraAlgorithmTest.");
break;
case 6:
final FindPairs findPairs = new FindPairs();
final int[] input = {1, 4, 3, 2, 1, 4, 4, 3, 3};
final int sum = 6;
findPairs.execute(input, sum);
break;
default:
System.out.println("Unknown option");
break;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ public class MonteCarloTreeSearch {

private static final int WIN_SCORE = 10;
private int level;
private int oponent;
private int opponent;

public MonteCarloTreeSearch() {
this.level = 3;
Expand All @@ -32,11 +32,11 @@ public Board findNextMove(Board board, int playerNo) {
long start = System.currentTimeMillis();
long end = start + 60 * getMillisForCurrentLevel();

oponent = 3 - playerNo;
opponent = 3 - playerNo;
Tree tree = new Tree();
Node rootNode = tree.getRoot();
rootNode.getState().setBoard(board);
rootNode.getState().setPlayerNo(oponent);
rootNode.getState().setPlayerNo(opponent);

while (System.currentTimeMillis() < end) {
// Phase 1 - Selection
Expand Down Expand Up @@ -93,7 +93,7 @@ private int simulateRandomPlayout(Node node) {
State tempState = tempNode.getState();
int boardStatus = tempState.getBoard().checkStatus();

if (boardStatus == oponent) {
if (boardStatus == opponent) {
tempNode.getParent().getState().setWinScore(Integer.MIN_VALUE);
return boardStatus;
}
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
package com.baeldung.algorithms.romannumerals;

import java.util.List;

class RomanArabicConverter {

public static int romanToArabic(String input) {
String romanNumeral = input.toUpperCase();
int result = 0;

List<RomanNumeral> romanNumerals = RomanNumeral.getReverseSortedValues();

int i = 0;

while ((romanNumeral.length() > 0) && (i < romanNumerals.size())) {
RomanNumeral symbol = romanNumerals.get(i);
if (romanNumeral.startsWith(symbol.name())) {
result += symbol.getValue();
romanNumeral = romanNumeral.substring(symbol.name().length());
} else {
i++;
}
}
if (romanNumeral.length() > 0) {
throw new IllegalArgumentException(input + " cannot be converted to a Roman Numeral");
}

return result;
}

public static String arabicToRoman(int number) {
if ((number <= 0) || (number > 4000)) {
throw new IllegalArgumentException(number + " is not in range (0,4000]");
}

List<RomanNumeral> romanNumerals = RomanNumeral.getReverseSortedValues();

int i = 0;
StringBuilder sb = new StringBuilder();

while (number > 0 && i < romanNumerals.size()) {
RomanNumeral currentSymbol = romanNumerals.get(i);
if (currentSymbol.getValue() <= number) {
sb.append(currentSymbol.name());
number -= currentSymbol.getValue();
} else {
i++;
}
}
return sb.toString();
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
package com.baeldung.algorithms.romannumerals;

import java.util.Arrays;
import java.util.Comparator;
import java.util.List;
import java.util.stream.Collectors;

enum RomanNumeral {
I(1), IV(4), V(5), IX(9), X(10), XL(40), L(50), XC(90), C(100), CD(400), D(500), CM(900), M(1000);

private int value;

RomanNumeral(int value) {
this.value = value;
}

public int getValue() {
return value;
}

public static List<RomanNumeral> getReverseSortedValues() {
return Arrays.stream(values())
.sorted(Comparator.comparing((RomanNumeral e) -> e.value).reversed())
.collect(Collectors.toList());
}
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
package com.baeldung.algorithms.romannumerals;

import static org.assertj.core.api.Assertions.assertThat;

import org.junit.Test;

public class RomanArabicConverterUnitTest {

@Test
public void given2018Roman_WhenConvertingToArabic_ThenReturn2018() {

String roman2018 = "MMXVIII";

int result = RomanArabicConverter.romanToArabic(roman2018);

assertThat(result).isEqualTo(2018);
}

@Test
public void given1999Arabic_WhenConvertingToRoman_ThenReturnMCMXCIX() {

int arabic1999 = 1999;

String result = RomanArabicConverter.arabicToRoman(arabic1999);

assertThat(result).isEqualTo("MCMXCIX");
}

}
Loading