Skip to content

Commit 9eeb5a5

Browse files
committed
Polishing
Change GitHub issue references to the GH-nnn format.
1 parent 54d3588 commit 9eeb5a5

File tree

4 files changed

+11
-11
lines changed

4 files changed

+11
-11
lines changed

Diff for: src/test/java/org/springframework/data/jpa/domain/SpecificationUnitTests.java

+2-2
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@ void complexSpecificationsShouldBeSerializable() {
147147
assertThat(transferredSpecification).isNotNull();
148148
}
149149

150-
@Test // #2146
150+
@Test // GH-2146
151151
void andCombinesSpecificationsInOrder() {
152152

153153
Predicate firstPredicate = mock(Predicate.class);
@@ -162,7 +162,7 @@ void andCombinesSpecificationsInOrder() {
162162
verify(builder).and(firstPredicate, secondPredicate);
163163
}
164164

165-
@Test // #2146
165+
@Test // GH-2146
166166
void orCombinesSpecificationsInOrder() {
167167

168168
Predicate firstPredicate = mock(Predicate.class);

Diff for: src/test/java/org/springframework/data/jpa/repository/AbstractPersistableIntegrationTests.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ void equalsWorksForProxiedEntities() {
6868
assertThat(proxy).isEqualTo(proxy);
6969
}
7070

71-
@Test // gh-1697
71+
@Test // GH-1697
7272
void equalsWorksForProxiedEntitiesUsingGetById() {
7373

7474
CustomAbstractPersistable entity = repository.saveAndFlush(new CustomAbstractPersistable());

Diff for: src/test/java/org/springframework/data/jpa/repository/UserRepositoryTests.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ void savesCollectionCorrectly() throws Exception {
171171
.containsExactlyInAnyOrder(firstUser, secondUser, thirdUser);
172172
}
173173

174-
@Test // gh-2148
174+
@Test // GH-2148
175175
void savesAndFlushesCollectionCorrectly() {
176176

177177
assertThat(repository.saveAllAndFlush(asList(firstUser, secondUser, thirdUser))) //
@@ -183,7 +183,7 @@ void savingEmptyCollectionIsNoOp() throws Exception {
183183
assertThat(repository.saveAll(new ArrayList<>())).isEmpty();
184184
}
185185

186-
@Test // gh-2148
186+
@Test // GH-2148
187187
void savingAndFlushingEmptyCollectionIsNoOp() {
188188
assertThat(repository.saveAllAndFlush(new ArrayList<>())).isEmpty();
189189
}
@@ -1000,7 +1000,7 @@ void looksUpEntityReference() {
10001000
assertThat(result).isEqualTo(firstUser);
10011001
}
10021002

1003-
@Test // gh-1697
1003+
@Test // GH-1697
10041004
void looksUpEntityReferenceUsingGetById() {
10051005

10061006
flushTestUsers();
@@ -1123,7 +1123,7 @@ void saveAndFlushShouldSupportReturningSubTypesOfRepositoryEntity() {
11231123
assertThat(user.getEmailAddress()).isEqualTo(savedUser.getEmailAddress());
11241124
}
11251125

1126-
@Test // gh-2148
1126+
@Test // GH-2148
11271127
void saveAllAndFlushShouldSupportReturningSubTypesOfRepositoryEntity() {
11281128

11291129
repository.deleteAll();

Diff for: src/test/java/org/springframework/data/jpa/repository/query/QueryUtilsIntegrationTests.java

+4-4
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ void createsJoinForOptionalOneToOneInReverseDirection() {
116116
});
117117
}
118118

119-
@Test // gh-2111
119+
@Test // GH-2111
120120
void createsLeftJoinForOptionalToOneWithNestedNonOptional() {
121121

122122
CriteriaBuilder builder = em.getCriteriaBuilder();
@@ -132,7 +132,7 @@ void createsLeftJoinForOptionalToOneWithNestedNonOptional() {
132132
assertThat(getInnerJoins(leftJoin)).isEmpty(); // no inner join customer
133133
}
134134

135-
@Test // gh-2111
135+
@Test // GH-2111
136136
void createsLeftJoinForNonOptionalToOneWithNestedOptional() {
137137

138138
CriteriaBuilder builder = em.getCriteriaBuilder();
@@ -151,7 +151,7 @@ void createsLeftJoinForNonOptionalToOneWithNestedOptional() {
151151
assertThat(getInnerJoins(leftJoin)).isEmpty(); // no inner join customer
152152
}
153153

154-
@Test // gh-2111
154+
@Test // GH-2111
155155
void reusesLeftJoinForNonOptionalToOneWithNestedOptional() {
156156

157157
CriteriaBuilder builder = em.getCriteriaBuilder();
@@ -175,7 +175,7 @@ void reusesLeftJoinForNonOptionalToOneWithNestedOptional() {
175175
assertThat(getNonInnerJoins(leftJoin)).hasSize(1); // left join customer
176176
}
177177

178-
@Test // gh-2111
178+
@Test // GH-2111
179179
void reusesInnerJoinForNonOptionalToOneWithNestedOptional() {
180180

181181
CriteriaBuilder builder = em.getCriteriaBuilder();

0 commit comments

Comments
 (0)