Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[pull] master from iluwatar:master #136

Open
wants to merge 577 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
577 commits
Select commit Hold shift + click to select a range
cee255e
docs: update mvc
iluwatar May 26, 2024
1786a78
docs: update mvi
iluwatar May 26, 2024
fe49ea8
docs: update mvvm
iluwatar May 26, 2024
6ff2009
docs: update monad
iluwatar May 26, 2024
a0f90fa
docs: update monitor & monostate
iluwatar May 26, 2024
533ca0d
docs: update multiton
iluwatar May 26, 2024
cc232ee
docs: update mute idiom
iluwatar May 26, 2024
27ef340
docs: update naked objects
iluwatar May 26, 2024
1e2dbf2
docs: update notification
iluwatar May 26, 2024
42db186
docs: update null object
iluwatar May 26, 2024
6f46fbb
docs: update object mother
iluwatar May 26, 2024
5e13382
docs: update object pool
iluwatar May 26, 2024
f655cee
docs: update observer
iluwatar May 26, 2024
e1e5a15
docs: update optimistic locking
iluwatar May 26, 2024
eb6da73
docs: update page controller
iluwatar May 26, 2024
15b916a
docs: update page object
iluwatar May 26, 2024
3a569a6
docs: update parameter object
iluwatar May 27, 2024
3cd86ab
docs: update partial response
iluwatar May 27, 2024
78ce689
docs: update pipeline
iluwatar May 27, 2024
f8fef02
docs: update poison pill
iluwatar May 27, 2024
bfff01d
docs: update presentation-model
iluwatar May 27, 2024
562e4cd
docs: update private class data
iluwatar May 27, 2024
188fff2
docs: update producer-consumer
iluwatar May 27, 2024
8e88155
docs: update promise
iluwatar May 27, 2024
839beb2
docs: update property
iluwatar May 27, 2024
94b9022
docs: update prototype
iluwatar May 27, 2024
f71aa86
docs: update proxy
iluwatar May 27, 2024
0d35b4a
refactor: rename queue based load leveling
iluwatar May 27, 2024
3824eff
docs: update reactor
iluwatar May 27, 2024
90bc1cf
docs: update registry
iluwatar May 27, 2024
7d69275
docs: update repository
iluwatar May 27, 2024
42a73e5
docs: update raii
iluwatar May 27, 2024
2411c9c
docs: update retry
iluwatar May 27, 2024
6f52cc1
docs: update role object
iluwatar May 27, 2024
37f4758
docs: update saga
iluwatar May 27, 2024
a4cf4cd
docs: update separated interface
iluwatar May 27, 2024
1af54ab
docs: update serialized entity
iluwatar May 27, 2024
6bf960a
docs: update serialized lob
iluwatar May 27, 2024
216428e
docs: update servant
iluwatar May 27, 2024
13dcb94
docs: update server session
iluwatar May 27, 2024
0918074
docs: update service layer
iluwatar May 27, 2024
b4c3ddf
docs: update service locator
iluwatar May 27, 2024
1e93895
docs: update service to worker
iluwatar May 27, 2024
26d7d55
docs: update sharding
iluwatar May 27, 2024
e8f3636
docs: update single table inheritance
iluwatar May 27, 2024
4efd714
docs: update singleton
iluwatar May 27, 2024
822bcd0
docs: update spatial partitition
iluwatar May 27, 2024
42ea146
docs: update special case
iluwatar May 27, 2024
07d56c7
docs: update specification
iluwatar May 27, 2024
f7f318a
docs: update state
iluwatar May 27, 2024
10f3798
docs: update step builder
iluwatar May 27, 2024
aed840d
docs: update strangler
iluwatar May 27, 2024
201675d
docs: update strategy
iluwatar May 27, 2024
d4f8063
docs: update subclass sandbox
iluwatar May 27, 2024
13d35ec
docs: update table module
iluwatar May 27, 2024
8372d92
docs: update template method
iluwatar May 27, 2024
a6458c4
docs: update throttling
iluwatar May 27, 2024
f4e2c7f
docs: update tolerant reader
iluwatar May 27, 2024
2d1b756
docs: update trampoline
iluwatar May 27, 2024
4b5f34e
docs: update transaction script
iluwatar May 27, 2024
d26454a
docs: update twin
iluwatar May 27, 2024
0abb75a
docs: update type object
iluwatar May 27, 2024
790d2d6
docs: update unit of work
iluwatar May 27, 2024
723b1bf
docs: update method
iluwatar May 27, 2024
5d44152
docs: update value object
iluwatar May 27, 2024
3eb5813
docs: update version number
iluwatar May 27, 2024
cca57bf
docs: update virtual proxy
iluwatar May 27, 2024
2bbf893
docs: update visitor
iluwatar May 27, 2024
26579fe
docs: update active object
iluwatar May 27, 2024
4652842
build(deps-dev): bump org.assertj:assertj-core from 3.25.3 to 3.26.0 …
dependabot[bot] May 28, 2024
584e949
docs: updates to several patterns
iluwatar May 28, 2024
68ef414
docs: update README.md
iluwatar May 29, 2024
684b2e2
feat: Function composition (#2954)
Adelechka Jun 1, 2024
bf83888
docs: update aggregator microservices
iluwatar Jun 1, 2024
ec5d08e
refactor: rename microservices patterns
iluwatar Jun 1, 2024
acb2eae
docs: update function composition
iluwatar Jun 2, 2024
d4b0f3d
refactor: update microservice pattern names & fix links
iluwatar Jun 2, 2024
dd38bd3
fix: Version number pattern update overwritten #2968 (#2980)
Avinash2110 Jun 2, 2024
1c478a5
docs: add Avinash2110 as a contributor for code (#2981)
allcontributors[bot] Jun 2, 2024
c5de9f6
docs: update delegation
iluwatar Jun 2, 2024
d872bf9
docs: update function composition
iluwatar Jun 3, 2024
ed90c41
refactor: Refactor commander (#2983)
Mayankchoudhary294 Jun 4, 2024
f25bd11
docs: add Mayankchoudhary294 as a contributor for code (#2985)
allcontributors[bot] Jun 4, 2024
205dc1f
build(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin (#…
dependabot[bot] Jun 4, 2024
f0611bc
docs: update Commander
iluwatar Jun 4, 2024
f42e60c
refactor: Resolved issue #2979 Refactor Front Controller (#2986)
Mayankchoudhary294 Jun 6, 2024
f8c7c04
build(deps): bump com.fasterxml.jackson.core:jackson-core (#2941)
dependabot[bot] Jun 6, 2024
cb946c0
deps: Upgraded Guice dependency to 6.0.0 (#2989)
Mayankchoudhary294 Jun 7, 2024
6cd2d03
docs: Content SEO updates (#2990)
iluwatar Jun 8, 2024
f9946de
docs: fix yaml
iluwatar Jun 8, 2024
aa2b190
docs: fix poison pill yaml
iluwatar Jun 8, 2024
a27e092
refactor: Refactor Layered Architecture pattern #2936 (#2938)
romannimets Jun 15, 2024
8734890
docs: add romannimets as a contributor for code (#2996)
allcontributors[bot] Jun 15, 2024
3ce7c33
docs: update layered architecture
iluwatar Jun 15, 2024
589c6d7
build(deps-dev): bump org.htmlunit:htmlunit from 4.1.0 to 4.2.0 (#2993)
dependabot[bot] Jun 15, 2024
1990dbe
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Jun 15, 2024
c9e29ac
build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin (#…
dependabot[bot] Jun 15, 2024
5dce3d8
build(deps): bump org.apache.maven.plugins:maven-compiler-plugin (#2992)
dependabot[bot] Jun 15, 2024
e65f4d6
build(deps): bump jakarta.servlet:jakarta.servlet-api (#2997)
dependabot[bot] Jun 19, 2024
fab64a2
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#2998)
dependabot[bot] Jun 19, 2024
823d057
fix: Issue 2975 Refactored Visitor (#3001)
Joel-Dandin Jun 30, 2024
d6f2cf2
docs: add Joel-Dandin as a contributor for code (#3003)
allcontributors[bot] Jun 30, 2024
d1c58cd
build(deps-dev): bump org.htmlunit:htmlunit from 4.2.0 to 4.3.0 (#3004)
dependabot[bot] Jul 7, 2024
990cfbf
build(deps): bump org.eclipse.jetty:jetty-maven-plugin (#3009)
dependabot[bot] Jul 11, 2024
8e51bd4
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Jul 11, 2024
f22eda8
build(deps): bump com.fasterxml.jackson.core:jackson-databind (#3010)
dependabot[bot] Jul 11, 2024
1d454f7
build(deps): bump com.fasterxml.jackson.core:jackson-core (#3008)
dependabot[bot] Jul 11, 2024
9c43d85
feat: Distributed tracing (#3006)
244Walyson Jul 20, 2024
7812bf6
docs: add 244Walyson as a contributor for code (#3017)
allcontributors[bot] Jul 20, 2024
5720116
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Jul 20, 2024
61e767d
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#3013)
dependabot[bot] Jul 20, 2024
6ab6c3c
build(deps-dev): bump org.assertj:assertj-core from 3.26.0 to 3.26.3 …
dependabot[bot] Jul 20, 2024
836542e
deps: Use the latest h2 version in serialized lob (#3018)
iluwatar Jul 20, 2024
186b28f
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Jul 23, 2024
4cb8eed
build(deps-dev): bump org.htmlunit:htmlunit from 4.3.0 to 4.4.0 (#3023)
dependabot[bot] Aug 1, 2024
007dcb1
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Aug 1, 2024
8bd3175
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#3031)
dependabot[bot] Sep 22, 2024
24b4586
fix: Video.toString() outputs an illegal json string (#3032)
Xcyq Oct 6, 2024
539fda2
docs: add Xcyq as a contributor for code (#3045)
allcontributors[bot] Oct 6, 2024
57baf13
docs: add Ritabrata1080 as a contributor for review (#3046)
allcontributors[bot] Oct 6, 2024
ace3c4d
build(deps): bump org.slf4j:slf4j-api from 2.0.13 to 2.0.16 (#3026)
dependabot[bot] Oct 6, 2024
fcb0698
build(deps-dev): bump org.awaitility:awaitility from 4.2.1 to 4.2.2 (…
dependabot[bot] Oct 6, 2024
53b973e
chore: bump github actions to use latest versions (#3033)
trivikr Oct 6, 2024
084817f
docs: add trivikr as a contributor for code (#3047)
allcontributors[bot] Oct 6, 2024
7472d2f
build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin (#…
dependabot[bot] Oct 13, 2024
4c043e5
translation: Add French translation for anti-corruption-layer & Build…
vvanghelle Oct 13, 2024
69eace4
docs: add vvanghelle as a contributor for translation (#3060)
allcontributors[bot] Oct 13, 2024
b82cdf7
build(deps): bump com.mycila:license-maven-plugin from 4.5 to 4.6 (#3…
dependabot[bot] Oct 13, 2024
f1a73e3
translattion: Translation of business-deleagate in french (#3050)
antoheri Oct 20, 2024
083a46f
docs: add antoheri as a contributor for translation (#3071)
allcontributors[bot] Oct 20, 2024
0da8643
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Oct 20, 2024
b00b8aa
fix: add shortTitle column to Chinese readme (#3056)
fishandsheep Oct 20, 2024
ede0fc1
docs: add fishandsheep as a contributor for translation (#3072)
allcontributors[bot] Oct 20, 2024
7c8802e
fix: add shortTitle to es and ko localization readmes
iluwatar Oct 20, 2024
076863b
feat: Added Home button to composite view appllication header for eas…
LakshyaPunyani-01 Nov 3, 2024
337f045
docs: add LakshyaPunyani-01 as a contributor for code (#3080)
allcontributors[bot] Nov 3, 2024
cb1b0b2
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#3063)
dependabot[bot] Nov 3, 2024
6e0df3f
build(deps): bump org.eclipse.jetty:jetty-maven-plugin (#3065)
dependabot[bot] Nov 3, 2024
af0b901
build(deps-dev): bump org.htmlunit:htmlunit from 4.4.0 to 4.5.0 (#3073)
dependabot[bot] Nov 3, 2024
1575b56
feat: Added to AbstractDocumentTest verification of originalValue in …
jasonjyu Nov 3, 2024
f48c686
docs: add jasonjyu as a contributor for code (#3081)
allcontributors[bot] Nov 3, 2024
a50a45a
build(deps): bump org.apache.maven.plugins:maven-checkstyle-plugin (#…
dependabot[bot] Nov 10, 2024
094027e
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Nov 10, 2024
e761d78
refactor: Updated switch expression (#3030)
ambiguousdino Nov 10, 2024
25bb77e
docs: add jeffmorrison as a contributor for code (#3088)
allcontributors[bot] Nov 10, 2024
2a2c560
feat: Idempotent Consumer Microservice Pattern #2683 (#3082)
dmgodoy Nov 11, 2024
82e30ab
docs: add dmgodoy as a contributor for code (#3089)
allcontributors[bot] Nov 11, 2024
97de002
fix: Executable JAR: Include project version in final name (#3090)
apophizzz Nov 15, 2024
0d63c95
docs: add apophizzz as a contributor for code (#3095)
allcontributors[bot] Nov 15, 2024
391aec4
build(deps): bump com.fasterxml.jackson.core:jackson-core (#3091)
dependabot[bot] Nov 15, 2024
8a0f433
docs: Translate the Factory-Method pattern to Korean (#3094)
proceane Nov 15, 2024
f9945c9
docs: add proceane as a contributor for translation (#3096)
allcontributors[bot] Nov 15, 2024
b383d2e
build(deps): bump org.sonarsource.scanner.maven:sonar-maven-plugin (#…
dependabot[bot] Dec 1, 2024
0f27139
fix: Fix typo (#3100)
mammadyahyayev Dec 1, 2024
b375919
docs: add mammadyahyayev as a contributor for doc (#3102)
allcontributors[bot] Dec 1, 2024
297e429
fix: Reduce High severity issues reported by SonarCloud #2865 (#3103)
SalmaAzeem Dec 7, 2024
fc07a38
docs: add SalmaAzeem as a contributor for code (#3132)
allcontributors[bot] Dec 7, 2024
adbddcb
build(deps-dev): bump org.htmlunit:htmlunit from 4.5.0 to 4.7.0 (#3104)
dependabot[bot] Dec 7, 2024
eead12d
docs: added arabic translations to README files (#2273) (#3107)
mayatarek Dec 8, 2024
f1a0ad8
feat: Update index.jsp (#3066)
CodeMaverick-143 Dec 8, 2024
b9ff511
docs: add mayatarek as a contributor for translation (#3138)
allcontributors[bot] Dec 9, 2024
8938054
docs: add CodeMaverick-143 as a contributor for code (#3139)
allcontributors[bot] Dec 9, 2024
eb7a0df
fix: Move from deprecated stale bot to stale action
iluwatar Jan 5, 2025
c5a6862
feat: Implemented the Table Inheritance pattern (#3105)
HabibaMekay Jan 6, 2025
84a1818
docs: add HabibaMekay as a contributor for code (#3165)
allcontributors[bot] Jan 6, 2025
ac53960
build(deps-dev): bump de.flapdoodle.embed:de.flapdoodle.embed.mongo (…
dependabot[bot] Jan 6, 2025
cdb78d7
feat: Money pattern (#3109)
Ahmed-Taha-981 Jan 6, 2025
ebcc070
docs: add Ahmed-Taha-981 as a contributor for code (#3166)
allcontributors[bot] Jan 6, 2025
5ba4570
feat: Implemented the Template View pattern (#1320) (#3110)
malak-elbanna Jan 6, 2025
60e2129
docs: add malak-elbanna as a contributor for code (#3167)
allcontributors[bot] Jan 6, 2025
afcd964
fix: Fixed some typos (#3153)
depthlending Jan 6, 2025
c06bd2c
docs: add depthlending as a contributor for doc (#3168)
allcontributors[bot] Jan 6, 2025
ab59dfe
feat: Added Microservices UI Client side composition #2698 (#3062)
TarunVishwakarma1 Jan 6, 2025
caa51bd
docs: add TarunVishwakarma1 as a contributor for code (#3169)
allcontributors[bot] Jan 6, 2025
bcad5b1
fix: fix filename of README.md
iluwatar Jan 6, 2025
8cb7c9a
feat: Implementation of session facade design pattern #1278 (#3121)
shahdhoss Jan 11, 2025
aedbe16
docs: add shahdhoss as a contributor for code (#3173)
allcontributors[bot] Jan 11, 2025
b419f84
fix: Fix stale action configuration
iluwatar Jan 12, 2025
1bfdf21
ci: Add presubmit AI reviews
iluwatar Jan 12, 2025
fee3c43
fix: Update presubmit action
iluwatar Jan 12, 2025
03f0bee
doc: Update PR template
iluwatar Jan 12, 2025
f0f4c7d
build(deps): bump com.fasterxml.jackson.core:jackson-core (#3171)
dependabot[bot] Jan 12, 2025
49172dd
fix: Minor misspelling (#3161)
Jan 13, 2025
07c82e4
docs: add mehdirahimi as a contributor for code (#3175)
allcontributors[bot] Jan 13, 2025
2a261cd
chore: Remove obsolete update-header.sh (#3174)
clintaire Jan 13, 2025
3a1a714
docs: add clintaire as a contributor for code (#3176)
allcontributors[bot] Jan 13, 2025
21115f4
feat: implemented the bloC design pattern issue #2374 (#3128)
darkhyper24 Jan 16, 2025
9ad38a4
docs: add darkhyper24 as a contributor for code (#3181)
allcontributors[bot] Jan 16, 2025
a25b6a0
feat: Implemented Monolithic Architecture according to the guidelines…
MohanedAtef238 Feb 15, 2025
39e4d6a
docs: add MohanedAtef238 as a contributor for code (#3187)
allcontributors[bot] Feb 15, 2025
be08156
build(deps): bump org.apache.maven.plugins:maven-surefire-plugin (#3085)
dependabot[bot] Feb 16, 2025
2e7eef1
fix: typos in documentation files (#3186)
maximevtush Feb 16, 2025
fb92682
docs: add maximevtush as a contributor for code (#3188)
allcontributors[bot] Feb 16, 2025
e17f138
build(deps-dev): bump org.testng:testng from 7.7.1 to 7.11.0 (#3190)
dependabot[bot] Feb 18, 2025
6785b53
feat: Added Map Reduce Design Pattern (#3184)
hvgh88 Feb 22, 2025
851ebba
docs: add hvgh88 as a contributor for code (#3191)
allcontributors[bot] Feb 22, 2025
1f44a8c
docs: add CQRS architecture diagram
iluwatar Feb 23, 2025
4e16d4b
docs: update cqrs docs
iluwatar Feb 23, 2025
2e40cc0
docs: add eda architecture diagram
iluwatar Feb 23, 2025
f3c4a83
docs: add flux architecture diagram and fix #3193 duplicate content i…
iluwatar Feb 28, 2025
609bf8e
build(deps): bump org.assertj:assertj-core from 3.24.2 to 3.27.3 (#3194)
dependabot[bot] Feb 28, 2025
a10c392
docs: add event sourcing architecture diagram
iluwatar Feb 28, 2025
546c7ec
docs: add front controller architecture diagram
iluwatar Mar 1, 2025
eee7575
docs: add hexagonal architecture diagram
iluwatar Mar 1, 2025
d0701d6
docs: add intercepting filter architecture diagram
iluwatar Mar 2, 2025
d78337e
docs: add layered architecture diagram
iluwatar Mar 3, 2025
e24739c
build(deps): bump org.slf4j:slf4j-api from 2.0.16 to 2.0.17 (#3198)
dependabot[bot] Mar 4, 2025
3034732
docs: add microservices aggregator architecture diagram
iluwatar Mar 4, 2025
b993805
docs: add mvc architecture diagram
iluwatar Mar 4, 2025
d36eeec
docs: add mvi architecture diagram
iluwatar Mar 5, 2025
4a96f2d
docs: add mvp architecture diagram
iluwatar Mar 6, 2025
511f008
docs: add mvvm architecture diagram
iluwatar Mar 7, 2025
0904e2d
docs: add monolithic architecture diagram
iluwatar Mar 9, 2025
74f5fdf
docs: add naked objects architecture diagram
iluwatar Mar 9, 2025
8a2c779
docs: add page controller architecture diagram
iluwatar Mar 9, 2025
fbde009
docs: add presentation model architecture diagram
iluwatar Mar 11, 2025
1726749
docs: add service layer architecture diagram
iluwatar Mar 11, 2025
457858c
translation: Translation of the Singleton pattern to Portuguese (#3201)
smile-ab Mar 18, 2025
e403df8
docs: add smile-ab as a contributor for translation (#3208)
allcontributors[bot] Mar 18, 2025
19d9d31
feat: Fix Singleton typo and extend reflection handling to remaining …
smile-ab Mar 18, 2025
29d1e30
docs: add smile-ab as a contributor for code (#3209)
allcontributors[bot] Mar 18, 2025
845a428
build(deps): bump org.projectlombok:lombok from 1.18.24 to 1.18.36 (#…
dependabot[bot] Mar 18, 2025
66768fc
translation: Added and translated map-reduce README.md to Spanish. (#…
Francisco-G-P Mar 18, 2025
8164b97
docs: add Francisco-G-P as a contributor for translation (#3210)
allcontributors[bot] Mar 18, 2025
a89cf98
docs: Improve Anti-Corruption-Layer README(#3200) (#3206)
Duartegdm Mar 18, 2025
0b1933e
docs: add Duartegdm as a contributor for doc (#3211)
allcontributors[bot] Mar 18, 2025
dd8b9b3
fix: Set locale in tests to be able to run locally. Remove logging de…
iluwatar Mar 18, 2025
894ae8f
fix: add missing property
iluwatar Mar 18, 2025
baf2efa
translation: German Translation for abstract-document and improved Ma…
DenizAltunkapan Mar 23, 2025
abfb137
docs: add DenizAltunkapan as a contributor for translation (#3216)
allcontributors[bot] Mar 23, 2025
adf5b62
feat: Add Service Stub Pattern using Sentiment Analysis example (#3215)
johnklint81 Mar 23, 2025
02ae009
docs: add johnklint81 as a contributor for code (#3217)
allcontributors[bot] Mar 23, 2025
770a85e
docs: update abstract document readme
iluwatar Mar 23, 2025
7effd99
docs: update abstract factory readme
iluwatar Mar 23, 2025
0f19b47
docs: update active object readme
iluwatar Mar 23, 2025
3dc27b2
docs: escape angle brackets to fix html build
iluwatar Mar 24, 2025
324dad5
docs: update acyclic visitor documentation
iluwatar Mar 24, 2025
3a5553b
build(deps): bump jakarta.persistence:jakarta.persistence-api (#3218)
dependabot[bot] Mar 25, 2025
51d5ef1
build(deps): bump logback.version from 1.5.6 to 1.5.18 (#3219)
dependabot[bot] Mar 25, 2025
a6c7d3d
feat: Java 21 update (#3213)
iluwatar Mar 25, 2025
5a371a4
fix: remove urm-maven-plugin from the build
iluwatar Mar 25, 2025
ed4a756
fix: fix template-method mockito tests
iluwatar Mar 25, 2025
afa4518
fix: fix templateview mockito tests
iluwatar Mar 25, 2025
371439a
fix: remove mockito test
iluwatar Mar 25, 2025
0ca162a
deps: Refactor dependencies (#3224)
iluwatar Mar 29, 2025
4185571
feat: add publish-subscribe design pattern (#2898) (#3223)
sanurah Mar 30, 2025
b7b0a35
docs: add sanurah as a contributor for code (#3234)
allcontributors[bot] Mar 30, 2025
b1b6e82
docs: add missing licence headers
iluwatar Mar 30, 2025
9073b78
fix: resolve SonarCloud issue in dirty flag / App.java #2865 (#3236)
2897robo Mar 31, 2025
914e4f9
docs: add 2897robo as a contributor for code (#3237)
allcontributors[bot] Mar 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
docs: update method
iluwatar committed May 27, 2024
commit 723b1bf31185762f64605992e9e3bf95d6a274ca
69 changes: 55 additions & 14 deletions update-method/README.md
Original file line number Diff line number Diff line change
@@ -49,7 +49,7 @@ public class World {
entities = new ArrayList<>();
isRunning = false;
}
// ...
// Other properties and methods...
}
```

@@ -124,23 +124,64 @@ public void addEntity(Entity entity) {
In the `App` class, we can see how the `World` class and its methods are used to create a game world, add entities to it, and start the game loop.

```java
var world = new World();
var skeleton1 = new Skeleton(1, 10);
var skeleton2 = new Skeleton(2, 70);
var statue = new Statue(3, 20);
world.addEntity(skeleton1);
world.addEntity(skeleton2);
world.addEntity(statue);
world.run();
Thread.sleep(GAME_RUNNING_TIME);
world.stop();
@Slf4j
public class App {

private static final int GAME_RUNNING_TIME = 2000;

public static void main(String[] args) {
try {
var world = new World();
var skeleton1 = new Skeleton(1, 10);
var skeleton2 = new Skeleton(2, 70);
var statue = new Statue(3, 20);
world.addEntity(skeleton1);
world.addEntity(skeleton2);
world.addEntity(statue);
world.run();
Thread.sleep(GAME_RUNNING_TIME);
world.stop();
} catch (InterruptedException e) {
LOGGER.error(e.getMessage());
}
}
}
```

This is a basic implementation of the Update Method pattern. In a real-world application, the `Entity` class would likely have additional methods and properties, and the `update` method would contain more complex logic to simulate the entity's behavior.
Console output:

## Class diagram
```
14:46:33.181 [main] INFO com.iluwatar.updatemethod.World -- Start game.
14:46:33.280 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 11.
14:46:33.281 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 71.
14:46:33.452 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 12.
14:46:33.452 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 72.
14:46:33.621 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 13.
14:46:33.621 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 73.
14:46:33.793 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 14.
14:46:33.793 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 74.
14:46:33.885 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 15.
14:46:33.885 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 75.
14:46:34.113 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 16.
14:46:34.113 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 76.
14:46:34.324 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 17.
14:46:34.324 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 77.
14:46:34.574 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 18.
14:46:34.575 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 78.
14:46:34.730 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 19.
14:46:34.731 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 79.
14:46:34.803 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 20.
14:46:34.803 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 80.
14:46:34.979 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 21.
14:46:34.979 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 81.
14:46:35.045 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 22.
14:46:35.046 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 82.
14:46:35.187 [main] INFO com.iluwatar.updatemethod.World -- Stop game.
14:46:35.288 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 1 is on position 23.
14:46:35.289 [Thread-0] INFO com.iluwatar.updatemethod.Skeleton -- Skeleton 2 is on position 83.
```

![Update Method](./etc/update-method.urm.png "Update Method pattern class diagram")
This is a basic implementation of the Update Method pattern. In a real-world application, the `Entity` class would likely have additional methods and properties, and the `update` method would contain more complex logic to simulate the entity's behavior.

## Applicability