Changeset 1417 for trunk


Ignore:
Timestamp:
07/24/19 13:37:28 (5 years ago)
Author:
bln4
Message:

Removed redundancy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/org/expeditee/items/Item.java

    r1415 r1417  
    27482748                setPosition(newX, getY());
    27492749               
    2750                 if (isSurrogate()) {
    2751                         surrogatePropertyInheritance.put(DefaultFrameWriter.POSITION_STR, false);
    2752                         Item primary = getPrimary();
    2753                         if (subjectToInheritanceCheckOnSave(DefaultFrameWriter.POSITION_STR)) {
    2754                                 EncryptionDetail inheritanceCheckOnSave = new EncryptionDetail(EncryptionDetail.Type.InheritanceCheckOnSave);
    2755                                 primary.primaryPropertyEncryption.put(DefaultFrameWriter.POSITION_STR, inheritanceCheckOnSave);
    2756                         }
    2757                 }
     2750//              if (isSurrogate()) {
     2751//                      surrogatePropertyInheritance.put(DefaultFrameWriter.POSITION_STR, false);
     2752//                      Item primary = getPrimary();
     2753//                      if (subjectToInheritanceCheckOnSave(DefaultFrameWriter.POSITION_STR)) {
     2754//                              EncryptionDetail inheritanceCheckOnSave = new EncryptionDetail(EncryptionDetail.Type.InheritanceCheckOnSave);
     2755//                              primary.primaryPropertyEncryption.put(DefaultFrameWriter.POSITION_STR, inheritanceCheckOnSave);
     2756//                      }
     2757//              }
    27582758        }
    27592759
     
    27672767                setPosition(getX(), newY);
    27682768               
    2769                 if (isSurrogate()) {
    2770                         surrogatePropertyInheritance.put(DefaultFrameWriter.POSITION_STR, false);
    2771                         Item primary = getPrimary();
    2772                         if (subjectToInheritanceCheckOnSave(DefaultFrameWriter.POSITION_STR)) {
    2773                                 EncryptionDetail inheritanceCheckOnSave = new EncryptionDetail(EncryptionDetail.Type.InheritanceCheckOnSave);
    2774                                 primary.primaryPropertyEncryption.put(DefaultFrameWriter.POSITION_STR, inheritanceCheckOnSave);
    2775                         }
    2776                 }
     2769//              if (isSurrogate()) {
     2770//                      surrogatePropertyInheritance.put(DefaultFrameWriter.POSITION_STR, false);
     2771//                      Item primary = getPrimary();
     2772//                      if (subjectToInheritanceCheckOnSave(DefaultFrameWriter.POSITION_STR)) {
     2773//                              EncryptionDetail inheritanceCheckOnSave = new EncryptionDetail(EncryptionDetail.Type.InheritanceCheckOnSave);
     2774//                              primary.primaryPropertyEncryption.put(DefaultFrameWriter.POSITION_STR, inheritanceCheckOnSave);
     2775//                      }
     2776//              }
    27772777        }
    27782778
Note: See TracChangeset for help on using the changeset viewer.