objectPicture = (ObjectPicture) in.readObject();
if (objectPicture != null) {
List list=objectPicture.getObjectList();
for (int l=0; l<list.size(); l++){
if (list.get(l) instanceof Symbols){
Symbols symbols=(Symbols)list.get(l);
if (symbols.getType().equals("defect") && symbols.getDefect().getConstructionDefectId()!=null && symbols.getDefect().getConstructionDefectId().equals(constructionDefect.getConstructionDefectId())){
objectPicture.deleteObject(symbols);
}
}
}
}