Uploaded image for project: 'Google Code-in'
  1. Google Code-in
  2. GCI-192

Remove the declaration of thrown exception 'org.openmrs.module.ModuleException' which is a runtime exception.

    XMLWordPrintable

    Details

    • Complexity:
      Low

      Description

      Remove the throws declaration from this line: https://github.com/openmrs/openmrs-core/blob/master/web/src/main/java/org/openmrs/module/web/filter/ModuleFilterMapping.java#L276

      Background Information: Throws declarations should not be redundant

      An exception in a throws declaration in Java is redundant if:
      It is listed multiple times
      It is a subclass of another listed exception
      It is a RuntimeException, or one of its descendants
      

        Attachments

          Activity

            People

            Assignee:
            tomekdo3 Tomasz DomagaƂa
            Reporter:
            dkayiwa Daniel Kayiwa
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Time Tracking

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 minute
                1m