Skip to content

Commit

Permalink
Remove useless empty inheritDoc Javadoc tag
Browse files Browse the repository at this point in the history
  • Loading branch information
snicoll committed Dec 22, 2023
1 parent 12f6330 commit cd8bc2f
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 62 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -114,18 +114,12 @@ public DefaultContextCache(int maxSize) {
}


/**
* {@inheritDoc}
*/
@Override
public boolean contains(MergedContextConfiguration key) {
Assert.notNull(key, "Key must not be null");
return this.contextMap.containsKey(key);
}

/**
* {@inheritDoc}
*/
@Override
@Nullable
public ApplicationContext get(MergedContextConfiguration key) {
Expand All @@ -140,9 +134,6 @@ public ApplicationContext get(MergedContextConfiguration key) {
return context;
}

/**
* {@inheritDoc}
*/
@Override
public void put(MergedContextConfiguration key, ApplicationContext context) {
Assert.notNull(key, "Key must not be null");
Expand All @@ -159,9 +150,6 @@ public void put(MergedContextConfiguration key, ApplicationContext context) {
}
}

/**
* {@inheritDoc}
*/
@Override
public void remove(MergedContextConfiguration key, @Nullable HierarchyMode hierarchyMode) {
Assert.notNull(key, "Key must not be null");
Expand Down Expand Up @@ -218,26 +206,17 @@ private void remove(List<MergedContextConfiguration> removedContexts, MergedCont
removedContexts.add(key);
}

/**
* {@inheritDoc}
*/
@Override
public int getFailureCount(MergedContextConfiguration key) {
return this.failureCounts.getOrDefault(key, 0);
}

/**
* {@inheritDoc}
*/
@Override
public void incrementFailureCount(MergedContextConfiguration key) {
this.totalFailureCount.incrementAndGet();
this.failureCounts.merge(key, 1, Integer::sum);
}

/**
* {@inheritDoc}
*/
@Override
public int size() {
return this.contextMap.size();
Expand All @@ -250,33 +229,21 @@ public int getMaxSize() {
return this.maxSize;
}

/**
* {@inheritDoc}
*/
@Override
public int getParentContextCount() {
return this.hierarchyMap.size();
}

/**
* {@inheritDoc}
*/
@Override
public int getHitCount() {
return this.hitCount.get();
}

/**
* {@inheritDoc}
*/
@Override
public int getMissCount() {
return this.missCount.get();
}

/**
* {@inheritDoc}
*/
@Override
public void reset() {
synchronized (this.contextMap) {
Expand All @@ -287,9 +254,6 @@ public void reset() {
}
}

/**
* {@inheritDoc}
*/
@Override
public void clear() {
synchronized (this.contextMap) {
Expand All @@ -298,9 +262,6 @@ public void clear() {
}
}

/**
* {@inheritDoc}
*/
@Override
public void clearStatistics() {
synchronized (this.contextMap) {
Expand All @@ -309,9 +270,6 @@ public void clearStatistics() {
}
}

/**
* {@inheritDoc}
*/
@Override
public void logStatistics() {
if (statsLogger.isDebugEnabled()) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -204,9 +204,6 @@ protected List<TestExecutionListener> getDefaultTestExecutionListeners() {
return TestContextSpringFactoriesUtils.loadFactoryImplementations(TestExecutionListener.class);
}

/**
* {@inheritDoc}
*/
@SuppressWarnings("unchecked")
@Override
public final MergedContextConfiguration buildMergedContextConfiguration() {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -48,17 +48,11 @@ public DefaultBootstrapContext(Class<?> testClass, CacheAwareContextLoaderDelega
this.cacheAwareContextLoaderDelegate = cacheAwareContextLoaderDelegate;
}

/**
* {@inheritDoc}
*/
@Override
public Class<?> getTestClass() {
return this.testClass;
}

/**
* {@inheritDoc}
*/
@Override
public CacheAwareContextLoaderDelegate getCacheAwareContextLoaderDelegate() {
return this.cacheAwareContextLoaderDelegate;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright 2002-2022 the original author or authors.
* Copyright 2002-2023 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
Expand Down Expand Up @@ -82,9 +82,6 @@ public List<ClientHttpRequestInterceptor> getInterceptors() {
return this.interceptors;
}

/**
* {@inheritDoc}
*/
@Override
public void setRequestFactory(ClientHttpRequestFactory requestFactory) {
super.setRequestFactory(requestFactory);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -429,9 +429,6 @@ protected Map<String, Object> getDynamicAttributes() {
return this.dynamicAttributes;
}

/**
* {@inheritDoc}
*/
@Override
public void setDynamicAttribute(String uri, String localName, Object value) throws JspException {
if (this.dynamicAttributes == null) {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,6 @@ public void setPrefixJson(boolean prefixJson) {
this.jsonPrefix = (prefixJson ? ")]}', " : null);
}

/**
* {@inheritDoc}
*/
@Override
public void setModelKey(String modelKey) {
this.modelKeys = Collections.singleton(modelKey);
Expand Down

0 comments on commit cd8bc2f

Please sign in to comment.