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

ToStringService uses @Override annotation improperly

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: 5.1.0.0
    • Fix Version/s: 5.1.0.0
    • Component/s: tapestry-core
    • Labels:
      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

            • Assignee:
              hlship Howard M. Lewis Ship
              Reporter:
              fern Fernando Padilla
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: