Skip to content

Commit cd8bc2f

Browse files
committed
Remove useless empty inheritDoc Javadoc tag
1 parent 12f6330 commit cd8bc2f

File tree

6 files changed

+2
-62
lines changed

6 files changed

+2
-62
lines changed

spring-test/src/main/java/org/springframework/test/context/cache/DefaultContextCache.java

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -114,18 +114,12 @@ public DefaultContextCache(int maxSize) {
114114
}
115115

116116

117-
/**
118-
* {@inheritDoc}
119-
*/
120117
@Override
121118
public boolean contains(MergedContextConfiguration key) {
122119
Assert.notNull(key, "Key must not be null");
123120
return this.contextMap.containsKey(key);
124121
}
125122

126-
/**
127-
* {@inheritDoc}
128-
*/
129123
@Override
130124
@Nullable
131125
public ApplicationContext get(MergedContextConfiguration key) {
@@ -140,9 +134,6 @@ public ApplicationContext get(MergedContextConfiguration key) {
140134
return context;
141135
}
142136

143-
/**
144-
* {@inheritDoc}
145-
*/
146137
@Override
147138
public void put(MergedContextConfiguration key, ApplicationContext context) {
148139
Assert.notNull(key, "Key must not be null");
@@ -159,9 +150,6 @@ public void put(MergedContextConfiguration key, ApplicationContext context) {
159150
}
160151
}
161152

162-
/**
163-
* {@inheritDoc}
164-
*/
165153
@Override
166154
public void remove(MergedContextConfiguration key, @Nullable HierarchyMode hierarchyMode) {
167155
Assert.notNull(key, "Key must not be null");
@@ -218,26 +206,17 @@ private void remove(List<MergedContextConfiguration> removedContexts, MergedCont
218206
removedContexts.add(key);
219207
}
220208

221-
/**
222-
* {@inheritDoc}
223-
*/
224209
@Override
225210
public int getFailureCount(MergedContextConfiguration key) {
226211
return this.failureCounts.getOrDefault(key, 0);
227212
}
228213

229-
/**
230-
* {@inheritDoc}
231-
*/
232214
@Override
233215
public void incrementFailureCount(MergedContextConfiguration key) {
234216
this.totalFailureCount.incrementAndGet();
235217
this.failureCounts.merge(key, 1, Integer::sum);
236218
}
237219

238-
/**
239-
* {@inheritDoc}
240-
*/
241220
@Override
242221
public int size() {
243222
return this.contextMap.size();
@@ -250,33 +229,21 @@ public int getMaxSize() {
250229
return this.maxSize;
251230
}
252231

253-
/**
254-
* {@inheritDoc}
255-
*/
256232
@Override
257233
public int getParentContextCount() {
258234
return this.hierarchyMap.size();
259235
}
260236

261-
/**
262-
* {@inheritDoc}
263-
*/
264237
@Override
265238
public int getHitCount() {
266239
return this.hitCount.get();
267240
}
268241

269-
/**
270-
* {@inheritDoc}
271-
*/
272242
@Override
273243
public int getMissCount() {
274244
return this.missCount.get();
275245
}
276246

277-
/**
278-
* {@inheritDoc}
279-
*/
280247
@Override
281248
public void reset() {
282249
synchronized (this.contextMap) {
@@ -287,9 +254,6 @@ public void reset() {
287254
}
288255
}
289256

290-
/**
291-
* {@inheritDoc}
292-
*/
293257
@Override
294258
public void clear() {
295259
synchronized (this.contextMap) {
@@ -298,9 +262,6 @@ public void clear() {
298262
}
299263
}
300264

301-
/**
302-
* {@inheritDoc}
303-
*/
304265
@Override
305266
public void clearStatistics() {
306267
synchronized (this.contextMap) {
@@ -309,9 +270,6 @@ public void clearStatistics() {
309270
}
310271
}
311272

312-
/**
313-
* {@inheritDoc}
314-
*/
315273
@Override
316274
public void logStatistics() {
317275
if (statsLogger.isDebugEnabled()) {

spring-test/src/main/java/org/springframework/test/context/support/AbstractTestContextBootstrapper.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -204,9 +204,6 @@ protected List<TestExecutionListener> getDefaultTestExecutionListeners() {
204204
return TestContextSpringFactoriesUtils.loadFactoryImplementations(TestExecutionListener.class);
205205
}
206206

207-
/**
208-
* {@inheritDoc}
209-
*/
210207
@SuppressWarnings("unchecked")
211208
@Override
212209
public final MergedContextConfiguration buildMergedContextConfiguration() {

spring-test/src/main/java/org/springframework/test/context/support/DefaultBootstrapContext.java

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -48,17 +48,11 @@ public DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelega
4848
this.cacheAwareContextLoaderDelegate = cacheAwareContextLoaderDelegate;
4949
}
5050

51-
/**
52-
* {@inheritDoc}
53-
*/
5451
@Override
5552
public Class<?> getTestClass() {
5653
return this.testClass;
5754
}
5855

59-
/**
60-
* {@inheritDoc}
61-
*/
6256
@Override
6357
public CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate() {
6458
return this.cacheAwareContextLoaderDelegate;

spring-web/src/main/java/org/springframework/http/client/support/InterceptingHttpAccessor.java

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*
2-
* Copyright 2002-2022 the original author or authors.
2+
* Copyright 2002-2023 the original author or authors.
33
*
44
* Licensed under the Apache License, Version 2.0 (the "License");
55
* you may not use this file except in compliance with the License.
@@ -82,9 +82,6 @@ public List<ClientHttpRequestInterceptor> getInterceptors() {
8282
return this.interceptors;
8383
}
8484

85-
/**
86-
* {@inheritDoc}
87-
*/
8885
@Override
8986
public void setRequestFactory(ClientHttpRequestFactory requestFactory) {
9087
super.setRequestFactory(requestFactory);

spring-webmvc/src/main/java/org/springframework/web/servlet/tags/form/AbstractHtmlElementTag.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -429,9 +429,6 @@ protected Map<String, Object> getDynamicAttributes() {
429429
return this.dynamicAttributes;
430430
}
431431

432-
/**
433-
* {@inheritDoc}
434-
*/
435432
@Override
436433
public void setDynamicAttribute(String uri, String localName, Object value) throws JspException {
437434
if (this.dynamicAttributes == null) {

spring-webmvc/src/main/java/org/springframework/web/servlet/view/json/MappingJackson2JsonView.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -106,9 +106,6 @@ public void setPrefixJson(boolean prefixJson) {
106106
this.jsonPrefix = (prefixJson ? ")]}', " : null);
107107
}
108108

109-
/**
110-
* {@inheritDoc}
111-
*/
112109
@Override
113110
public void setModelKey(String modelKey) {
114111
this.modelKeys = Collections.singleton(modelKey);

0 commit comments

Comments
 (0)