Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: annotate with @Override #1192

Merged
merged 14 commits into from May 13, 2018
Merged

docs: annotate with @Override #1192

merged 14 commits into from May 13, 2018

Conversation

apetro
Copy link
Member

@apetro apetro commented May 11, 2018

The build logs have a bunch of warning: [MissingOverride] noise. Add the suggested @Override annotations and thereby reduce the noise.

Checklist

Addresses:

/uPortal/uPortal-portlets/src/main/java/org/apereo/portal/portlets/statistics/TabRenderStatisticsController.java:159: warning: [MissingOverride] createColumnDiscriminatorMap implements method in BaseStatisticsReportController; expected @OverRide
            createColumnDiscriminatorMap(TabRenderReportForm form) {
            ^
    (see http://errorprone.info/bugpattern/MissingOverride)
Addresses

/uPortal/uPortal-portlets/src/main/java/org/apereo/portal/portlets/statistics/BasePortletLayoutStatisticsController.java:134: warning: [MissingOverride] createColumnDiscriminatorMap implements method in BaseStatisticsReportController; expected @OverRide
            createColumnDiscriminatorMap(F form) {
            ^
    (see http://errorprone.info/bugpattern/MissingOverride)
Addresses 

/uPortal/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/Precedence.java:33: warning: [MissingOverride] toString overrides method in Object; expected @OverRide
    public String toString() {
                  ^
    (see http://errorprone.info/bugpattern/MissingOverride)
Addresses

/uPortal/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/MissingPortletDefinition.java:323: warning: [MissingOverride] setDescription implements method in IPortletType; expected @OverRide
        public void setDescription(String descr) {}
                    ^
    (see http://errorprone.info/bugpattern/MissingOverride)
Addresses

/uPortal/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/MissingPortletDefinition.java:222: warning: [MissingOverride] setType implements method in IPortletDefinition; expected @OverRide
    public void setType(IPortletType channelType) {}
                ^
    (see http://errorprone.info/bugpattern/MissingOverride)
addresses

/uPortal/uPortal-layout/uPortal-layout-impl/src/main/java/org/apereo/portal/layout/dlm/LPAResetParameter.java:43: warning: [MissingOverride] perform implements method in ILayoutProcessingAction; expected @OverRide
    public void perform() throws PortalException {
                ^
    (see http://errorprone.info/bugpattern/MissingOverride)
@ChristianMurphy ChristianMurphy added this to the 5.1.1 milestone May 11, 2018
Copy link
Member

@ChristianMurphy ChristianMurphy left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @apetro! LGTM

@apetro apetro changed the title WIP: docs: annotate with @Override docs: annotate with @Override May 11, 2018
@ChristianMurphy ChristianMurphy merged commit ec4a8b9 into master May 13, 2018
@ChristianMurphy ChristianMurphy deleted the annotate-overrides branch May 13, 2018 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants