Uploaded image for project: 'Tapestry 5'
  1. Tapestry 5
  2. TAP5-444

ToStringService uses @Override annotation improperly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Trivial
    • Resolution: Fixed
    • 5.1.0.0
    • 5.1.0.0
    • tapestry-core
    • None

    Description

      Eclipse flags an error, since you are annotating @Override, while the interface is not actually overriding a parent interface. This could be debated, but it would just be nice to just remove it..

      Index: tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/internal/ToStringService.java
      ===================================================================
      — tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/internal/ToStringService.java (revision 732923)
      +++ tapestry-ioc/src/test/java/org/apache/tapestry5/ioc/internal/ToStringService.java (working copy)
      @@ -19,6 +19,5 @@
      */
      public interface ToStringService

      { - @Override String toString(); }

      Attachments

        Activity

          People

            hlship Howard Lewis Ship
            fern Fernando Padilla
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: