Fixed a bug in the AuthoringStepsValidator

deploy_packages_to_gitea
Jens Pelzetter 2022-07-13 20:16:46 +02:00
parent 7fc2202933
commit cbaaab2ccf
1 changed files with 6 additions and 3 deletions

View File

@ -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()
// );
}
}