You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Reflection is used in combination with InternalTask to determine the type of task. This could be solved by including all relevant operations in the same interface or by requesting the interface that is needed, e.g. asReadWriteTask(), as ReadOnlyTask() etc. The task type must then be available (getTaskType()), so that an implementation can throw UnsupportedOperationException if the task isn't of the requested type.
Reflection is used in combination with InternalTask to determine the type of task. This could be solved by including all relevant operations in the same interface or by requesting the interface that is needed, e.g. asReadWriteTask(), as ReadOnlyTask() etc. The task type must then be available (getTaskType()), so that an implementation can throw UnsupportedOperationException if the task isn't of the requested type.
See also #15
The text was updated successfully, but these errors were encountered: