3 Replies Latest reply: Jan 12, 2010 3:43 AM by thomas.behr RSS

    Class does not inherit interface docs

    843810
      Hi,all.

      I have such trouble.

      For example, I have interface
      public interface IRegistryOperations{
         /**
            * Returns packages {@link janet.services.registry.RegPackage} from registry by
            * <i>filter</i> criteria.
            *
            * @param filter Contains criteria that packages must satisfy
            * @param max The max number of packages to return
            * @return The list of registry packages
            * @see Filter
            */
           public ValueList<RegPackage> getPackageList(Filter filter, int max);
      ...
      }
      I have another interface IRegistryService
      public interface IRegistryService extends IService, IRegistryOperations {
      }
      And finally I have class
      public final class RegistryServiceImpl extends ServiceBase implements IRegistryService {
      
        ...
      
          public ValueList<RegPackage> getPackageList(Filter filter, int max) {
                return _opers.getPackageList(filter, max);
           }
      ...
      As you can see interface IRegistryOperations has documented method public ValueList<RegPackage> getPackageList(Filter filter, int max). Class RegistryServiceImpl implements this interface but the method public ValueList<RegPackage> getPackageList(Filter filter, int max) is not documented in this class. In result doccheck displays such error:

      Method missing comment, but reasonably self-evident.
      It has been noticed that doccheck displays such errors only for that methods that have generic output type!


      How can I fix it?

      Thanks In Advance

      Edited by: SkovAboyV on Dec 30, 2009 6:28 AM