From b8191927e86a3d445080208fd22328fe7161f989 Mon Sep 17 00:00:00 2001 From: Darin Kelkhoff Date: Sun, 11 May 2025 20:33:07 -0500 Subject: [PATCH] Remove zombie code --- .../actions/processes/QProcessPayload.java | 38 ------------------- 1 file changed, 38 deletions(-) diff --git a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/actions/processes/QProcessPayload.java b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/actions/processes/QProcessPayload.java index aad533bb..7daa9fd0 100644 --- a/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/actions/processes/QProcessPayload.java +++ b/qqq-backend-core/src/main/java/com/kingsrook/qqq/backend/core/model/actions/processes/QProcessPayload.java @@ -78,51 +78,13 @@ public class QProcessPayload try { List fieldList = getFieldList(this.getClass()); - // originalRecordValues = new HashMap<>(); for(QRecordEntityField qRecordEntityField : fieldList) { Serializable value = processState.getValues().get(qRecordEntityField.getFieldName()); Object typedValue = qRecordEntityField.convertValueType(value); qRecordEntityField.getSetter().invoke(this, typedValue); - // originalRecordValues.put(qRecordEntityField.getFieldName(), value); } - - // for(QRecordEntityAssociation qRecordEntityAssociation : getAssociationList(this.getClass())) - // { - // List associatedRecords = qRecord.getAssociatedRecords().get(qRecordEntityAssociation.getAssociationAnnotation().name()); - // if(associatedRecords == null) - // { - // qRecordEntityAssociation.getSetter().invoke(this, (Object) null); - // } - // else - // { - // List associatedEntityList = new ArrayList<>(); - // for(QRecord associatedRecord : CollectionUtils.nonNullList(associatedRecords)) - // { - // associatedEntityList.add(QRecordEntity.fromQRecord(qRecordEntityAssociation.getAssociatedType(), associatedRecord)); - // } - // qRecordEntityAssociation.getSetter().invoke(this, associatedEntityList); - // } - // } - - // for(QRecordEntityAssociation qRecordEntityAssociation : getAssociationList(this.getClass())) - // { - // List associatedRecords = qRecord.getAssociatedRecords().get(qRecordEntityAssociation.getAssociationAnnotation().name()); - // if(associatedRecords == null) - // { - // qRecordEntityAssociation.getSetter().invoke(this, (Object) null); - // } - // else - // { - // List associatedEntityList = new ArrayList<>(); - // for(QRecord associatedRecord : CollectionUtils.nonNullList(associatedRecords)) - // { - // associatedEntityList.add(QRecordEntity.fromQRecord(qRecordEntityAssociation.getAssociatedType(), associatedRecord)); - // } - // qRecordEntityAssociation.getSetter().invoke(this, associatedEntityList); - // } - // } } catch(Exception e) {