mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-03 23:53:15 -04:00
Documentation cleanup (#612)
* Added the `@Deprecated` tag to instances where is was mentioned in documentation, but not for the actual code itself. Changed one documentation link pointing at a non-existing item. * As per PR suggestion.
This commit is contained in:
@@ -357,6 +357,7 @@ public abstract class GenericFilter implements Filter, FilterConfig, Serializabl
|
||||
*
|
||||
* @deprecated For compatibility only, use {@link #init init} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
@SuppressWarnings("UnusedDeclaration")
|
||||
public void setFilterConfig(final FilterConfig pFilterConfig) {
|
||||
try {
|
||||
|
@@ -337,6 +337,7 @@ public final class ServletUtil {
|
||||
* @deprecated Use {@link javax.servlet.http.HttpServletRequest#getRequestURL()}
|
||||
* instead.
|
||||
*/
|
||||
@Deprecated
|
||||
static StringBuffer buildHTTPURL(final HttpServletRequest pRequest) {
|
||||
StringBuffer resultURL = new StringBuffer();
|
||||
|
||||
|
@@ -271,9 +271,10 @@ public class HTTPCache {
|
||||
* cannot be created.
|
||||
* @deprecated Use {@link #HTTPCache(File, long, int, int, boolean)} instead.
|
||||
*/
|
||||
@Deprecated
|
||||
public HTTPCache(final String pName, final ServletContext pContext,
|
||||
final int pDefaultCacheExpiryTime, final int pMaxMemCacheSize,
|
||||
final int pMaxCachedEntites, final boolean pDeleteCacheOnExit) {
|
||||
final int pDefaultCacheExpiryTime, final int pMaxMemCacheSize,
|
||||
final int pMaxCachedEntites, final boolean pDeleteCacheOnExit) {
|
||||
this(
|
||||
getTempFolder(pName, pContext),
|
||||
pDefaultCacheExpiryTime, pMaxMemCacheSize, pMaxCachedEntites, pDeleteCacheOnExit,
|
||||
|
@@ -146,7 +146,7 @@ public abstract class ImageFilter extends GenericFilter {
|
||||
* @param pRequest the original request
|
||||
* @return the new response, or {@code pResponse} if the response is already wrapped
|
||||
*
|
||||
* @see com.twelvemonkeys.servlet.image.ImageServletResponseWrapper
|
||||
* @see com.twelvemonkeys.servlet.image.ImageServletResponseImpl
|
||||
*/
|
||||
private ImageServletResponse createImageServletResponse(final ServletRequest pRequest, final ServletResponse pResponse) {
|
||||
if (pResponse instanceof ImageServletResponseImpl) {
|
||||
|
Reference in New Issue
Block a user