tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ma...@apache.org
Subject svn commit: r832961 - in /tomcat/trunk: java/org/apache/tomcat/util/net/ webapps/examples/WEB-INF/classes/ webapps/examples/WEB-INF/classes/async/ webapps/examples/WEB-INF/classes/chat/ webapps/examples/WEB-INF/classes/compressionFilters/ webapps/examp...
Date Thu, 05 Nov 2009 01:28:52 GMT
Author: markt
Date: Thu Nov  5 01:28:51 2009
New Revision: 832961

URL: http://svn.apache.org/viewvc?rev=832961&view=rev
Log:
Add other @Override annotations identified by Eclipse

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/CookieExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/HelloWorldExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/RequestInfoExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/RequestParamExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/SessionExample.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/examples/LogTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ShowSource.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java
    tomcat/trunk/webapps/examples/WEB-INF/classes/validators/DebugValidator.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/NioBlockingSelector.java Thu Nov  5 01:28:51
2009
@@ -303,6 +303,7 @@
             return result;
         }
 
+        @Override
         public void run() {
             while (run) {
                 try {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/CookieExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/CookieExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/CookieExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/CookieExample.java Thu Nov  5 01:28:51 2009
@@ -35,6 +35,7 @@
 
     ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
     
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException
@@ -109,6 +110,7 @@
         out.println("</html>");
     }
 
+    @Override
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/HelloWorldExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/HelloWorldExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/HelloWorldExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/HelloWorldExample.java Thu Nov  5 01:28:51
2009
@@ -32,6 +32,7 @@
 public class HelloWorldExample extends HttpServlet {
 
 
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/RequestHeaderExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/RequestHeaderExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/RequestHeaderExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/RequestHeaderExample.java Thu Nov  5 01:28:51
2009
@@ -35,6 +35,7 @@
 
     ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
     
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException
@@ -79,6 +80,7 @@
         out.println("</table>");
     }
 
+    @Override
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/RequestInfoExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/RequestInfoExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/RequestInfoExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/RequestInfoExample.java Thu Nov  5 01:28:51
2009
@@ -36,6 +36,7 @@
 
     ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
 
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException
@@ -103,6 +104,7 @@
 	
     }
 
+    @Override
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/RequestParamExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/RequestParamExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/RequestParamExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/RequestParamExample.java Thu Nov  5 01:28:51
2009
@@ -36,6 +36,7 @@
 
     ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
     
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException
@@ -96,6 +97,7 @@
         out.println("</html>");
     }
 
+    @Override
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/SessionExample.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/SessionExample.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/SessionExample.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/SessionExample.java Thu Nov  5 01:28:51
2009
@@ -35,6 +35,7 @@
 
     ResourceBundle rb = ResourceBundle.getBundle("LocalStrings");
     
+    @Override
     public void doGet(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException
@@ -130,6 +131,7 @@
         out.println("</html>");
     }
 
+    @Override
     public void doPost(HttpServletRequest request,
                       HttpServletResponse response)
         throws IOException, ServletException

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/async/Stockticker.java Thu Nov  5 01:28:51
2009
@@ -151,10 +151,12 @@
             return df.format(lastchange);
         }
 
+        @Override
         public int hashCode() {
             return symbol.hashCode();
         }
 
+        @Override
         public boolean equals(Object other) {
             if (other instanceof Stock) {
                 return this.symbol.equals(((Stock) other).symbol);
@@ -163,6 +165,7 @@
             }
         }
 
+        @Override
         public String toString() {
             StringBuilder buf = new StringBuilder("STOCK#");
             buf.append(getSymbol());
@@ -176,6 +179,7 @@
 
         }
 
+        @Override
         public Object clone() {
             Stock s = new Stock(this.getSymbol(), this.getValue());
             s.setLastChange(this.getLastChange());

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/chat/ChatServlet.java Thu Nov  5 01:28:51
2009
@@ -43,6 +43,7 @@
         new ArrayList<HttpServletResponse>();
     protected MessageSender messageSender = null;
     
+    @Override
     public void init() throws ServletException {
         messageSender = new MessageSender();
         Thread messageSenderThread = 
@@ -51,6 +52,7 @@
         messageSenderThread.start();
     }
 
+    @Override
     public void destroy() {
         connections.clear();
         messageSender.stop();
@@ -162,6 +164,7 @@
         }
     }
 
+    @Override
     protected void service(HttpServletRequest request, HttpServletResponse response)
         throws IOException, ServletException {
         // Compatibility method: equivalent method using the regular connection model

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionFilterTestServlet.java
Thu Nov  5 01:28:51 2009
@@ -30,6 +30,7 @@
 
 public class CompressionFilterTestServlet extends HttpServlet {
 
+    @Override
     public void doGet(HttpServletRequest request, HttpServletResponse response)
         throws ServletException, IOException {
 

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionResponseStream.java
Thu Nov  5 01:28:51 2009
@@ -130,6 +130,7 @@
      * Close this output stream, causing any buffered data to be flushed and
      * any further output data to throw an IOException.
      */
+    @Override
     public void close() throws IOException {
 
         if (debug > 1) {
@@ -164,6 +165,7 @@
      * Flush any buffered data for this output stream, which also causes the
      * response to be committed.
      */
+    @Override
     public void flush() throws IOException {
 
         if (debug > 1) {
@@ -201,6 +203,7 @@
      *
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public void write(int b) throws IOException {
 
         if (debug > 1) {
@@ -226,6 +229,7 @@
      *
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public void write(byte b[]) throws IOException {
 
         write(b, 0, b.length);
@@ -243,6 +247,7 @@
      *
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public void write(byte b[], int off, int len) throws IOException {
 
         if (debug > 1) {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/compressionFilters/CompressionServletResponseWrapper.java
Thu Nov  5 01:28:51 2009
@@ -100,6 +100,7 @@
     /**
      * Set content type
      */
+    @Override
     public void setContentType(String contentType) {
         if (debug > 1) {
             System.out.println("setContentType to "+contentType);
@@ -173,6 +174,7 @@
      *
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public void flushBuffer() throws IOException {
         if (debug > 1) {
             System.out.println("flush buffer @ CompressionServletResponseWrapper");
@@ -188,6 +190,7 @@
      *  already been called for this response
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public ServletOutputStream getOutputStream() throws IOException {
 
         if (writer != null)
@@ -210,6 +213,7 @@
      *  already been called for this response
      * @exception IOException if an input/output error occurs
      */
+    @Override
     public PrintWriter getWriter() throws IOException {
 
         if (writer != null)
@@ -239,7 +243,7 @@
 
     }
 
-
+    @Override
     public void setContentLength(int length) {
         // Don't, as compression will change it
     }

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ExampleTagBase.java Thu Nov  5
01:28:51 2009
@@ -21,40 +21,49 @@
 
 public abstract class ExampleTagBase extends BodyTagSupport {
 
+    @Override
     public void setParent(Tag parent) {
         this.parent = parent;
     }
 
+    @Override
     public void setBodyContent(BodyContent bodyOut) {
         this.bodyOut = bodyOut;
     }
 
+    @Override
     public void setPageContext(PageContext pageContext) {
         this.pageContext = pageContext;
     }
 
+    @Override
     public Tag getParent() {
         return this.parent;
     }
     
+    @Override
     public int doStartTag() throws JspException {
         return SKIP_BODY;
     }
 
+    @Override
     public int doEndTag() throws JspException {
         return EVAL_PAGE;
     }
     
 
+    @Override
     public void doInitBody() throws JspException {
         // Default implementations for BodyTag methods as well
         // just in case a tag decides to implement BodyTag.
     }
 
+    @Override
     public int doAfterBody() throws JspException {
         return SKIP_BODY;
     }
 
+    @Override
     public void release() {
         bodyOut = null;
         pageContext = null;

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTag.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTag.java Thu Nov  5 01:28:51
2009
@@ -53,16 +53,19 @@
      *
      * @return EVAL_BODY_INCLUDE
      */
+    @Override
     public int doStartTag() throws JspException {
         i = 0;
 	return EVAL_BODY_BUFFERED;
     }
 
+    @Override
     public void doInitBody() throws JspException {
         pageContext.setAttribute("member", atts[i]);
         i++;
     }
     
+    @Override
     public int doAfterBody() throws JspException {
         try {
             if (i == 3) {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/examples/FooTagExtraInfo.java Thu Nov  5
01:28:51 2009
@@ -19,6 +19,7 @@
 import javax.servlet.jsp.tagext.*;
 
 public class FooTagExtraInfo extends TagExtraInfo {
+    @Override
     public VariableInfo[] getVariableInfo(TagData data) {
         return new VariableInfo[] 
             {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/examples/LogTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/examples/LogTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/examples/LogTag.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/examples/LogTag.java Thu Nov  5 01:28:51
2009
@@ -38,10 +38,12 @@
             toBrowser = false;
     }
 
+    @Override
     public int doStartTag() throws JspException {
         return EVAL_BODY_BUFFERED;
     }
     
+    @Override
     public int doAfterBody() throws JspException {
         try {
             String s = bodyOut.getString();

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ShowSource.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ShowSource.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ShowSource.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/examples/ShowSource.java Thu Nov  5 01:28:51
2009
@@ -34,6 +34,7 @@
         this.jspFile = jspFile;
     }
 
+    @Override
     public int doEndTag() throws JspException {
 	if ((jspFile.indexOf( ".." ) >= 0) ||
             (jspFile.toUpperCase().indexOf("/WEB-INF/") != 0) ||

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/filters/ExampleFilter.java Thu Nov  5 01:28:51
2009
@@ -123,6 +123,7 @@
     /**
      * Return a String representation of this object.
      */
+    @Override
     public String toString() {
 
 	if (filterConfig == null)

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/EchoAttributesTag.java
Thu Nov  5 01:28:51 2009
@@ -35,6 +35,7 @@
     private ArrayList<String> keys = new ArrayList<String>();
     private ArrayList<Object> values = new ArrayList<Object>();
 
+    @Override
     public void doTag() throws JspException, IOException {
 	JspWriter out = getJspContext().getOut();
 	for( int i = 0; i < keys.size(); i++ ) {

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/FindBookSimpleTag.java
Thu Nov  5 01:28:51 2009
@@ -33,6 +33,7 @@
     private static final String BOOK_AUTHOR = "J. R. R. Tolkein";
     private static final String BOOK_ISBN = "0618002251";
 
+    @Override
     public void doTag() throws JspException {
         BookBean book = new BookBean( BOOK_TITLE, BOOK_AUTHOR, BOOK_ISBN );
         getJspContext().setAttribute( this.var, book );

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/HelloWorldSimpleTag.java
Thu Nov  5 01:28:51 2009
@@ -26,6 +26,7 @@
  * SimpleTag handler that prints "Hello, world!"
  */
 public class HelloWorldSimpleTag extends SimpleTagSupport {
+    @Override
     public void doTag() throws JspException, IOException {
 	getJspContext().getOut().write( "Hello, world!" );
     }

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/RepeatSimpleTag.java
Thu Nov  5 01:28:51 2009
@@ -29,6 +29,7 @@
 public class RepeatSimpleTag extends SimpleTagSupport {
     private int num;
 
+    @Override
     public void doTag() throws JspException, IOException {
         for (int i=0; i<num; i++) {
             getJspContext().setAttribute("count", String.valueOf( i + 1 ) );

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/ShuffleSimpleTag.java
Thu Nov  5 01:28:51 2009
@@ -32,6 +32,7 @@
     private JspFragment fragment2;
     private JspFragment fragment3;
 
+    @Override
     public void doTag() throws JspException, IOException {
         switch( (int)(Math.random() * 6) ) {
             case 0:

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
(original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/jsp2/examples/simpletag/TileSimpleTag.java
Thu Nov  5 01:28:51 2009
@@ -29,6 +29,7 @@
     private String color;
     private String label;
 
+    @Override
     public void doTag() throws JspException, IOException {
 	getJspContext().getOut().write( 
 	    "<td width=\"32\" height=\"32\" bgcolor=\"" + this.color + 

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/servletToJsp.java Thu Nov  5 01:28:51 2009
@@ -18,6 +18,7 @@
 
 public class servletToJsp extends HttpServlet {
 
+    @Override
     public void doGet (HttpServletRequest request,
 		       HttpServletResponse response) {
 

Modified: tomcat/trunk/webapps/examples/WEB-INF/classes/validators/DebugValidator.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/webapps/examples/WEB-INF/classes/validators/DebugValidator.java?rev=832961&r1=832960&r2=832961&view=diff
==============================================================================
--- tomcat/trunk/webapps/examples/WEB-INF/classes/validators/DebugValidator.java (original)
+++ tomcat/trunk/webapps/examples/WEB-INF/classes/validators/DebugValidator.java Thu Nov 
5 01:28:51 2009
@@ -57,6 +57,7 @@
      * @param uri The value of the URI argument in this directive
      * @param page The page data for this page
      */
+    @Override
     public ValidationMessage[] validate(String prefix, String uri,
                                         PageData page) {
 



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message