Fixed a bug in the AuthoringStepsValidator
parent
7fc2202933
commit
cbaaab2ccf
|
|
@ -95,9 +95,12 @@ public class AuthoringStepsValidator {
|
|||
return false;
|
||||
}
|
||||
|
||||
return item.getClass().isAssignableFrom(
|
||||
stepAnnotation.supportedDocumentType()
|
||||
);
|
||||
return stepAnnotation
|
||||
.supportedDocumentType()
|
||||
.isAssignableFrom(item.getClass());
|
||||
// return item.getClass().isAssignableFrom(
|
||||
// stepAnnotation.supportedDocumentType()
|
||||
// );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue