OrchestrationTarget target = orchestration.getTarget();
if (target != null) {
Object[] entityObjs = target.getAllExisting();
if (entityObjs.length == 1) {
Object entityObj = entityObjs[0];
if (entityObj instanceof Entity) {
ent = (Entity) entityObj;
}
}
}
if (target != null) {
Object[] entityObjs = target.getAllExisting();
if (entityObjs.length == 1) {
Object entityObj = entityObjs[0];
if (entityObj instanceof Entity) {
ent = (Entity) entityObj;
}
}
}
No comments:
Post a Comment