Skip to content

Commit 0ef1797

Browse files
committed
Merge branch 'activerecord' of github.com:ipaulaandreea/java-design-patterns into activerecord
merging prepullrequest changes
2 parents 4b88f87 + 7e5891d commit 0ef1797

File tree

185 files changed

+437
-8
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

185 files changed

+437
-8
lines changed

.all-contributorsrc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3204,6 +3204,42 @@
32043204
"contributions": [
32053205
"translation"
32063206
]
3207+
},
3208+
{
3209+
"login": "antoheri",
3210+
"name": "Antoine Héritier",
3211+
"avatar_url": "https://avatars.githubusercontent.com/u/79988396?v=4",
3212+
"profile": "https://github.com/antoheri",
3213+
"contributions": [
3214+
"translation"
3215+
]
3216+
},
3217+
{
3218+
"login": "fishandsheep",
3219+
"name": "QinShower",
3220+
"avatar_url": "https://avatars.githubusercontent.com/u/43347407?v=4",
3221+
"profile": "https://github.com/fishandsheep",
3222+
"contributions": [
3223+
"translation"
3224+
]
3225+
},
3226+
{
3227+
"login": "LakshyaPunyani-01",
3228+
"name": "LakshyaPunyani-01",
3229+
"avatar_url": "https://avatars.githubusercontent.com/u/103628913?v=4",
3230+
"profile": "https://github.com/LakshyaPunyani-01",
3231+
"contributions": [
3232+
"code"
3233+
]
3234+
},
3235+
{
3236+
"login": "jasonjyu",
3237+
"name": "jasonjyu",
3238+
"avatar_url": "https://avatars.githubusercontent.com/u/10333076?v=4",
3239+
"profile": "https://github.com/jasonjyu",
3240+
"contributions": [
3241+
"code"
3242+
]
32073243
}
32083244
],
32093245
"contributorsPerLine": 6,

README.md

Lines changed: 7 additions & 1 deletion

abstract-document/src/test/java/com/iluwatar/abstractdocument/AbstractDocumentTest.java

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,12 +114,16 @@ void shouldUpdateExistingValue() {
114114
final String originalValue = "originalValue";
115115
final String updatedValue = "updatedValue";
116116

117+
// Initializing the value
117118
document.put(key, originalValue);
118119

120+
// Verifying that the initial value is retrieved correctly
121+
assertEquals(originalValue, document.get(key));
122+
119123
// Updating the value
120124
document.put(key, updatedValue);
121125

122-
//Verifying that the updated value is retrieved correctly
126+
// Verifying that the updated value is retrieved correctly
123127
assertEquals(updatedValue, document.get(key));
124128
}
125129
}

composite-view/web/header.jsp

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,30 @@
3939
h1 { text-align: center;}
4040
h2 { text-align: center;}
4141
h3 { text-align: center;}
42+
nav {
43+
text-align: center;
44+
margin-bottom: 20px;
45+
}
46+
.home-link {
47+
padding: 10px 20px;
48+
background-color: #007bff;
49+
color: white;
50+
text-decoration: none;
51+
border-radius: 5px;
52+
}
53+
.home-link:hover {
54+
background-color: #0056b3;
55+
}
4256
</style>
4357
</head>
4458
<body>
59+
<nav>
60+
<!-- Add a Home button that links back to the homepage -->
61+
<a href="/" class="home-link">Home</a>
62+
</nav>
63+
4564
<% String todayDateStr = (new Date().toString()); %>
4665
<h1>Today's Personalized Frontpage</h1>
47-
<h2><%=todayDateStr%></h2>
66+
<h2><%= todayDateStr %></h2>
4867
</body>
4968
</html>

hexagonal-architecture/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
<dependency>
4747
<groupId>de.flapdoodle.embed</groupId>
4848
<artifactId>de.flapdoodle.embed.mongo</artifactId>
49-
<version>4.16.2</version>
49+
<version>4.17.0</version>
5050
<scope>test</scope>
5151
</dependency>
5252
<dependency>

localization/es/abstract-document/README.md

Lines changed: 1 addition & 0 deletions

localization/es/abstract-factory/README.md

Lines changed: 1 addition & 0 deletions

localization/es/active-object/README.md

Lines changed: 1 addition & 0 deletions

localization/es/acyclic-visitor/README.md

Lines changed: 1 addition & 0 deletions

localization/es/adapter/README.md

Lines changed: 1 addition & 0 deletions

0 commit comments

Comments
 (0)