Details

    • Type: Language-Specification
    • Status: Active
    • Resolution: Unresolved
    • Labels:
      None
    • Impact:
      Unknown 'null' severity
    • Likelihood:
      Unknown 'null' severity

      Description

      Noncompliant Code Example

      public void doSomething() {                
        super.doSomething();
      }
      
      @Override
      public boolean isLegal(Action action) {      
        return super.isLegal(action);
      }
      

      Compliant Solution

      @Override
      public boolean isLegal(Action action) {         // Compliant - not simply forwarding the call
        return super.isLegal(new Action(/* ... */));
      }
      
      @Id
      @Override
      public int getId() {                            // Compliant - there is annotation different from @Override
        return super.getId();
      }
      

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            ann.campbell.2 Ann Campbell
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated: