- if (! (entity instanceof EntityUploadedMedia)) {
- throw new ProducerExc("MediaGeneratingProducerNode: value of '"+mediaEntityKey+"' is not an uploaded media EntityAdapter, but a " + entity.getClass().getName() + " adapter");
+ if (!(entity instanceof EntityUploadedMedia)) {
+ throw new ProducerExc("MediaGeneratingProducerNode: value of '" +
+ mediaEntityKey + "' is not an uploaded media EntityAdapter, but a " +
+ entity.getClass().getName() + " adapter");