Skip to content

Commit

Permalink
Merge branch 'master' into activerecord
Browse files Browse the repository at this point in the history
  • Loading branch information
ipaulaandreea authored Nov 5, 2024
2 parents 26a31de + f48c686 commit 7e5891d
Show file tree
Hide file tree
Showing 185 changed files with 437 additions and 8 deletions.
36 changes: 36 additions & 0 deletions .all-contributorsrc
Original file line number Diff line number Diff line change
Expand Up @@ -3204,6 +3204,42 @@
"contributions": [
"translation"
]
},
{
"login": "antoheri",
"name": "Antoine Héritier",
"avatar_url": "https://avatars.githubusercontent.com/u/79988396?v=4",
"profile": "https://github.com/antoheri",
"contributions": [
"translation"
]
},
{
"login": "fishandsheep",
"name": "QinShower",
"avatar_url": "https://avatars.githubusercontent.com/u/43347407?v=4",
"profile": "https://github.com/fishandsheep",
"contributions": [
"translation"
]
},
{
"login": "LakshyaPunyani-01",
"name": "LakshyaPunyani-01",
"avatar_url": "https://avatars.githubusercontent.com/u/103628913?v=4",
"profile": "https://github.com/LakshyaPunyani-01",
"contributions": [
"code"
]
},
{
"login": "jasonjyu",
"name": "jasonjyu",
"avatar_url": "https://avatars.githubusercontent.com/u/10333076?v=4",
"profile": "https://github.com/jasonjyu",
"contributions": [
"code"
]
}
],
"contributorsPerLine": 6,
Expand Down
8 changes: 7 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
[![Coverage](https://sonarcloud.io/api/project_badges/measure?project=iluwatar_java-design-patterns&metric=coverage)](https://sonarcloud.io/dashboard?id=iluwatar_java-design-patterns)
[![Join the chat at https://gitter.im/iluwatar/java-design-patterns](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/iluwatar/java-design-patterns?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
<!-- ALL-CONTRIBUTORS-BADGE:START - Do not remove or modify this section -->
[![All Contributors](https://img.shields.io/badge/all_contributors-351-orange.svg?style=flat-square)](#contributors-)
[![All Contributors](https://img.shields.io/badge/all_contributors-355-orange.svg?style=flat-square)](#contributors-)
<!-- ALL-CONTRIBUTORS-BADGE:END -->

<br/>
Expand Down Expand Up @@ -528,6 +528,12 @@ This project is licensed under the terms of the MIT license.
<td align="center" valign="top" width="16.66%"><a href="https://github.com/Ritabrata1080"><img src="https://avatars.githubusercontent.com/u/60834250?v=4?s=100" width="100px;" alt="Ritabrata"/><br /><sub><b>Ritabrata</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/pulls?q=is%3Apr+reviewed-by%3ARitabrata1080" title="Reviewed Pull Requests">👀</a></td>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/trivikr"><img src="https://avatars.githubusercontent.com/u/16024985?v=4?s=100" width="100px;" alt="Trivikram Kamat"/><br /><sub><b>Trivikram Kamat</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=trivikr" title="Code">💻</a></td>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/vvanghelle"><img src="https://avatars.githubusercontent.com/u/3204600?v=4?s=100" width="100px;" alt="Vincent Vanghelle"/><br /><sub><b>Vincent Vanghelle</b></sub></a><br /><a href="#translation-vvanghelle" title="Translation">🌍</a></td>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/antoheri"><img src="https://avatars.githubusercontent.com/u/79988396?v=4?s=100" width="100px;" alt="Antoine Héritier"/><br /><sub><b>Antoine Héritier</b></sub></a><br /><a href="#translation-antoheri" title="Translation">🌍</a></td>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/fishandsheep"><img src="https://avatars.githubusercontent.com/u/43347407?v=4?s=100" width="100px;" alt="QinShower"/><br /><sub><b>QinShower</b></sub></a><br /><a href="#translation-fishandsheep" title="Translation">🌍</a></td>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/LakshyaPunyani-01"><img src="https://avatars.githubusercontent.com/u/103628913?v=4?s=100" width="100px;" alt="LakshyaPunyani-01"/><br /><sub><b>LakshyaPunyani-01</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=LakshyaPunyani-01" title="Code">💻</a></td>
</tr>
<tr>
<td align="center" valign="top" width="16.66%"><a href="https://github.com/jasonjyu"><img src="https://avatars.githubusercontent.com/u/10333076?v=4?s=100" width="100px;" alt="jasonjyu"/><br /><sub><b>jasonjyu</b></sub></a><br /><a href="https://github.com/iluwatar/java-design-patterns/commits?author=jasonjyu" title="Code">💻</a></td>
</tr>
</tbody>
</table>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -114,12 +114,16 @@ void shouldUpdateExistingValue() {
final String originalValue = "originalValue";
final String updatedValue = "updatedValue";

// Initializing the value
document.put(key, originalValue);

// Verifying that the initial value is retrieved correctly
assertEquals(originalValue, document.get(key));

// Updating the value
document.put(key, updatedValue);

//Verifying that the updated value is retrieved correctly
// Verifying that the updated value is retrieved correctly
assertEquals(updatedValue, document.get(key));
}
}
21 changes: 20 additions & 1 deletion composite-view/web/header.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -39,11 +39,30 @@
h1 { text-align: center;}
h2 { text-align: center;}
h3 { text-align: center;}
nav {
text-align: center;
margin-bottom: 20px;
}
.home-link {
padding: 10px 20px;
background-color: #007bff;
color: white;
text-decoration: none;
border-radius: 5px;
}
.home-link:hover {
background-color: #0056b3;
}
</style>
</head>
<body>
<nav>
<!-- Add a Home button that links back to the homepage -->
<a href="/" class="home-link">Home</a>
</nav>

<% String todayDateStr = (new Date().toString()); %>
<h1>Today's Personalized Frontpage</h1>
<h2><%=todayDateStr%></h2>
<h2><%= todayDateStr %></h2>
</body>
</html>
2 changes: 1 addition & 1 deletion hexagonal-architecture/pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
<dependency>
<groupId>de.flapdoodle.embed</groupId>
<artifactId>de.flapdoodle.embed.mongo</artifactId>
<version>4.16.2</version>
<version>4.17.0</version>
<scope>test</scope>
</dependency>
<dependency>
Expand Down
1 change: 1 addition & 0 deletions localization/es/abstract-document/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Abstract Document
shortTitle: Abstract Document
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/abstract-factory/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Abstract Factory
shortTitle: Abstract Factory
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/active-object/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Active Object
shortTitle: Active Object
category: Concurrency
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/acyclic-visitor/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Acyclic Visitor
shortTitle: Acyclic Visitor
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/adapter/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Adapter
shortTitle: Adapter
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/aggregator-microservices/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Aggregator Microservices
shortTitle: Aggregator Microservices
category: Architectural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/ambassador/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Ambassador
shortTitle: Ambassador
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/api-gateway/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: API Gateway
shortTitle: API Gateway
category: Architectural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/arrange-act-assert/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Arrange/Act/Assert
shortTitle: Arrange/Act/Assert
category: Idiom
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/async-method-invocation/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Async Method Invocation
shortTitle: Async Method Invocation
category: Concurrency
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/balking/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Balking
shortTitle: Balking
category: Concurrency
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/bridge/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Bridge
shortTitle: Bridge
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/builder/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Builder
shortTitle: Builder
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/business-delegate/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Business Delegate
shortTitle: Business Delegate
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/bytecode/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Bytecode
shortTitle: Bytecode
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/chain-of-responsibility/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Chain of responsibility
shortTitle: Chain of responsibility
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/client-session/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Client Session
shortTitle: Client Session
category: Behavioral
language: es
tags:
Expand Down
1 change: 1 addition & 0 deletions localization/es/collecting-parameter/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Collecting Parameter
shortTitle: Collecting Parameter
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/command/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Command
shortTitle: Command
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/commander/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Commander
shortTitle: Commander
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/composite-entity/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Composite Entity
shortTitle: Composite Entity
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/composite-view/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Composite View
shortTitle: Composite View
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/composite/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Composite
shortTitle: Composite
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/context-object/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Context object
shortTitle: Context object
category: Creational
language: es
tags:
Expand Down
1 change: 1 addition & 0 deletions localization/es/converter/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Converter
shortTitle: Converter
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/data-locality/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Data Locality
shortTitle: Data Locality
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/decorator/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Decorator
shortTitle: Decorator
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/delegation/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Delegation
shortTitle: Delegation
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/dependency-injection/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Dependency Injection
shortTitle: Dependency Injection
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/dirty-flag/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Dirty Flag
shortTitle: Dirty Flag
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/double-buffer/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Double Buffer
shortTitle: Double Buffer
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/embedded-value/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Embedded Value
shortTitle: Embedded Value
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/event-aggregator/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Event Aggregator
shortTitle: Event Aggregator
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/extension-objects/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Extension objects
shortTitle: Extension objects
category: Behavioral
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/facade/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Facade
shortTitle: Facade
category: Structural
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/factory-kit/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Factory Kit
shortTitle: Factory Kit
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/factory-method/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Factory Method
shortTitle: Factory Method
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/factory/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Factory
shortTitle: Factory
category: Creational
language: es
tag:
Expand Down
1 change: 1 addition & 0 deletions localization/es/feature-toggle/README.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
---
title: Feature Toggle
shortTitle: Feature Toggle
category: Behavioral
language: es
tag:
Expand Down
Loading

0 comments on commit 7e5891d

Please sign in to comment.