Uploaded image for project: 'Isis'
  1. Isis
  2. ISIS-2773

Extend FixtureScript API to allow checking of optional params

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.0-M5
    • Fix Version/s: 2.0.0-M6
    • Component/s: Isis Core
    • Labels:
      None

      Description

      refactor this hack:

      public class FixtureScript {
        ...
        protected <T> void optionalParam(
          final String parameterName, final ExecutionContext ec, final Class<T> cls) {
          try {
              checkParam(parameterName, ec, cls);
          } catch (IllegalArgumentException e) {
              // Do nothing
          }
        }
      }
       

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                danhaywood Daniel Keir Haywood
                Reporter:
                danhaywood Daniel Keir Haywood
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: