Method access permissions cc4m_logo_inline

IDFCNS-25
TitleMethod access permissions shall not differ from those of a superclass.
PriorityMandatory
Severity level1
DescriptionMethod access permissions of a class shall equal those of its superclass(es) (if any).
RationaleDefining inconsistent method access permissions results in a runtime error.

Avoid:

classdef Table
    methods (protected)
        computeMass(obj)
    end
end

classdef Desk < Table
    methods
        function computeMass(obj)
            ...
        end
    end
end

Instead use:

classdef Table
    methods (protected)
        computeMass(obj)
    end
end

classdef Desk < Table
    methods (protected)
        function computeMass(obj)
            ...
        end
    end
end