Skip to content

Commit

Permalink
Issue #4581 - remove unnecessary javadoc on Override methods
Browse files Browse the repository at this point in the history
Signed-off-by: Lachlan Roberts <lachlan@webtide.com>
  • Loading branch information
lachlan-roberts committed Feb 18, 2020
1 parent 3129202 commit 55748f1
Show file tree
Hide file tree
Showing 143 changed files with 1 addition and 1,398 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -54,27 +54,18 @@ private NullTldScanner(ServletContext context, boolean namespaceAware, boolean v
super(context, namespaceAware, validation, blockExternal);
}

/**
* @see org.apache.jasper.servlet.TldScanner#scan()
*/
@Override
public void scan() throws IOException, SAXException
{
return; //do nothing
}

/**
* @see org.apache.jasper.servlet.TldScanner#getListeners()
*/
@Override
public List<String> getListeners()
{
return Collections.emptyList();
}

/**
* @see org.apache.jasper.servlet.TldScanner#scanJars()
*/
@Override
public void scanJars()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ public JettyTldPreScanned(ServletContext context, boolean namespaceAware, boolea
_jettyPreScannedURLs = preScannedTlds;
}

/**
* @see org.apache.jasper.servlet.TldPreScanned#scanJars()
*/
@Override
public void scanJars()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,6 @@ public DfltServlet()
super();
}

/**
* @see javax.servlet.http.HttpServlet#doGet(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)
*/
@Override
protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
import java.util.Map;
import java.util.Queue;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

Expand Down Expand Up @@ -94,10 +93,6 @@ protected void doGet(HttpServletRequest request, HttpServletResponse response) t
out.close();
}

/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse
* response)
*/
@Override
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -332,9 +332,6 @@ public void addDiscoverableAnnotationHandler(AbstractDiscoverableAnnotationHandl
_discoverableAnnotationHandlers.add(handler);
}

/**
* @see org.eclipse.jetty.webapp.AbstractConfiguration#configure(org.eclipse.jetty.webapp.WebAppContext)
*/
@Override
public void configure(WebAppContext context) throws Exception
{
Expand Down Expand Up @@ -371,9 +368,6 @@ public void configure(WebAppContext context) throws Exception
}
}

/**
* @see org.eclipse.jetty.webapp.AbstractConfiguration#postConfigure(org.eclipse.jetty.webapp.WebAppContext)
*/
@Override
public void postConfigure(WebAppContext context) throws Exception
{
Expand Down Expand Up @@ -563,9 +557,6 @@ protected int getMaxScanWait(WebAppContext context)
return Integer.getInteger(MAX_SCAN_WAIT, DEFAULT_MAX_SCAN_WAIT).intValue();
}

/**
* @see org.eclipse.jetty.webapp.AbstractConfiguration#cloneConfigure(org.eclipse.jetty.webapp.WebAppContext, org.eclipse.jetty.webapp.WebAppContext)
*/
@Override
public void cloneConfigure(WebAppContext template, WebAppContext context) throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,9 +43,6 @@ public DeclareRolesAnnotationHandler(WebAppContext context)
_context = context;
}

/**
* @see org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler#doHandle(java.lang.Class)
*/
@Override
public void doHandle(Class clazz)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,9 +42,6 @@ public MultiPartConfigAnnotationHandler(WebAppContext context)
_context = context;
}

/**
* @see org.eclipse.jetty.annotations.AnnotationIntrospector.AbstractIntrospectableAnnotationHandler#doHandle(java.lang.Class)
*/
@Override
public void doHandle(Class clazz)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,6 @@ public ServletContainerInitializersStarter(WebAppContext context)
_context = context;
}

/**
* Call the doStart method of the ServletContainerInitializers
*
* @see org.eclipse.jetty.util.component.AbstractLifeCycle#doStart()
*/
@Override
public void doStart()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -65,9 +65,6 @@ public ServletSecurityAnnotationHandler(WebAppContext wac)
_context = wac;
}

/**
* @see org.eclipse.jetty.annotations.AnnotationIntrospector.IntrospectableAnnotationHandler#handle(java.lang.Class)
*/
@Override
public void doHandle(Class clazz)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public WebFilterAnnotation(WebAppContext context, String className, Resource res
super(context, className, resource);
}

/**
* @see DiscoveredAnnotation#apply()
*/
@Override
public void apply()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,6 @@ public WebListenerAnnotation(WebAppContext context, String className, Resource r
super(context, className, resource);
}

/**
* @see DiscoveredAnnotation#apply()
*/
@Override
public void apply()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,9 +57,6 @@ public WebServletAnnotation(WebAppContext context, String className, Resource re
super(context, className, resource);
}

/**
* @see DiscoveredAnnotation#apply()
*/
@Override
public void apply()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -563,9 +563,6 @@ public void setWar(String path)
}
}

/**
*
*/
@Override
public void doStart()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ public JettyStopTask()
TaskLog.setTask(this);
}

/**
* @see org.apache.tools.ant.Task#execute()
*/
@Override
public void execute() throws BuildException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -254,9 +254,6 @@ public void setTempDirectory(File tempDirectory)
this.tempDirectory = tempDirectory;
}

/**
* @see org.eclipse.jetty.ant.utils.ServerProxy#start()
*/
@Override
public void start()
{
Expand Down Expand Up @@ -299,9 +296,6 @@ public void start()
}
}

/**
* @see org.eclipse.jetty.ant.utils.ServerProxy#getProxiedObject()
*/
@Override
public Object getProxiedObject()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,11 +70,6 @@ public interface ConnectionPool extends Closeable
*/
boolean remove(Connection connection);

/**
* Closes this ConnectionPool.
*
* @see #isClosed()
*/
@Override
void close();

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -81,9 +81,6 @@ public void put(@Name("name") String name, @Name("value") String value)
_map.put(name, value);
}

/**
* @see org.eclipse.jetty.deploy.ConfigurationManager#getProperties()
*/
@Override
public Map<String, String> getProperties()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,6 @@ public void setNamespace(String namespace)
_namespace = namespace;
}

/**
* @see org.eclipse.jetty.server.session.SessionDataStoreFactory#getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
*/
@Override
public SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -171,9 +171,6 @@ public String toString()
return _delegate.toString();
}

/**
* @see com.sun.net.httpserver.HttpsExchange#getSSLSession()
*/
@Override
public SSLSession getSSLSession()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,18 +28,12 @@
public class Http1FieldPreEncoder implements HttpFieldPreEncoder
{

/**
* @see org.eclipse.jetty.http.HttpFieldPreEncoder#getHttpVersion()
*/
@Override
public HttpVersion getHttpVersion()
{
return HttpVersion.HTTP_1_0;
}

/**
* @see org.eclipse.jetty.http.HttpFieldPreEncoder#getEncodedField(org.eclipse.jetty.http.HttpHeader, java.lang.String, java.lang.String)
*/
@Override
public byte[] getEncodedField(HttpHeader header, String headerString, String value)
{
Expand Down
4 changes: 0 additions & 4 deletions jetty-http/src/main/java/org/eclipse/jetty/http/MetaData.java
Original file line number Diff line number Diff line change
Expand Up @@ -109,10 +109,6 @@ public long getContentLength()
return _contentLength;
}

/**
* @return an iterator over the HTTP fields
* @see #getFields()
*/
@Override
public Iterator<HttpField> iterator()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -31,18 +31,12 @@
public class HpackFieldPreEncoder implements HttpFieldPreEncoder
{

/**
* @see org.eclipse.jetty.http.HttpFieldPreEncoder#getHttpVersion()
*/
@Override
public HttpVersion getHttpVersion()
{
return HttpVersion.HTTP_2;
}

/**
* @see org.eclipse.jetty.http.HttpFieldPreEncoder#getEncodedField(org.eclipse.jetty.http.HttpHeader, java.lang.String, java.lang.String)
*/
@Override
public byte[] getEncodedField(HttpHeader header, String name, String value)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,6 @@ public void setQueryManager(QueryManager queryManager)
_queryManager = queryManager;
}

/**
* @see org.eclipse.jetty.server.session.SessionDataStore#load(String)
*/
@Override
protected void doStart() throws Exception
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,6 @@ public void setInfinispanIdleTimeoutSec(int infinispanIdleTimeoutSec)
_infinispanIdleTimeoutSec = infinispanIdleTimeoutSec;
}

/**
* @see org.eclipse.jetty.server.session.SessionDataStoreFactory#getSessionDataStore(org.eclipse.jetty.server.session.SessionHandler)
*/
@Override
public SessionDataStore getSessionDataStore(SessionHandler handler) throws Exception
{
Expand Down
12 changes: 0 additions & 12 deletions jetty-io/src/main/java/org/eclipse/jetty/io/ByteArrayEndPoint.java
Original file line number Diff line number Diff line change
Expand Up @@ -355,9 +355,6 @@ public boolean hasMore()
return getOutput().position() > 0;
}

/*
* @see org.eclipse.io.EndPoint#fill(org.eclipse.io.Buffer)
*/
@Override
public int fill(ByteBuffer buffer) throws IOException
{
Expand Down Expand Up @@ -400,9 +397,6 @@ else if (filled < 0)
return filled;
}

/*
* @see org.eclipse.io.EndPoint#flush(org.eclipse.io.Buffer, org.eclipse.io.Buffer, org.eclipse.io.Buffer)
*/
@Override
public boolean flush(ByteBuffer... buffers) throws IOException
{
Expand Down Expand Up @@ -450,9 +444,6 @@ public boolean flush(ByteBuffer... buffers) throws IOException
return flushed;
}

/**
*
*/
@Override
public void reset()
{
Expand All @@ -465,9 +456,6 @@ public void reset()
super.reset();
}

/*
* @see org.eclipse.io.EndPoint#getConnection()
*/
@Override
public Object getTransport()
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -179,10 +179,6 @@ public void setCommitted(boolean commitState)
this.commitState = commitState;
}

/**
* @throws LoginException if unable to abort
* @see javax.security.auth.spi.LoginModule#abort()
*/
@Override
public boolean abort() throws LoginException
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -94,9 +94,6 @@ public String getAuthMethod()
return "JASPI";
}

/**
* @see org.eclipse.jetty.security.authentication.LoginAuthenticator#login(java.lang.String, java.lang.Object, javax.servlet.ServletRequest)
*/
@Override
public UserIdentity login(String username, Object password, ServletRequest request)
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,18 +69,12 @@ public void putUser(String username, Credential credential, String[] roles)
_roles.put(username, roles);
}

/**
* @see org.eclipse.jetty.security.AbstractLoginService#loadRoleInfo(org.eclipse.jetty.security.AbstractLoginService.UserPrincipal)
*/
@Override
protected String[] loadRoleInfo(UserPrincipal user)
{
return _roles.get(user.getName());
}

/**
* @see org.eclipse.jetty.security.AbstractLoginService#loadUserInfo(java.lang.String)
*/
@Override
protected UserPrincipal loadUserInfo(String username)
{
Expand Down
Loading

0 comments on commit 55748f1

Please sign in to comment.