- Timestamp:
- 06/26/19 16:02:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/encryption/io/EncryptedExpWriter.java
r1413 r1414 44 44 private static final String labelProfile = "Profile"; 45 45 private static final String labelNone = "None"; 46 protected static final String SURROGATE_TERMINATOR = TERMINATOR + "..."; 46 protected static final char TERMINATOR = 'Z'; 47 protected static final String TERMINATOR_WITH_CONTINUATION = TERMINATOR + "..."; 47 48 48 49 public EncryptedExpWriter(String encryptionLabel) { … … 132 133 133 134 if (toWrite.isSurrogate()) { 134 writeLine("SurrogateFor " + toWrite.get Classic().getID());135 writeLine("SurrogateFor " + toWrite.getPrimary().getID()); 135 136 } 136 137 … … 177 178 } 178 179 180 // write out the surrogates 179 181 List<Item> surrogates = frame.getSurrogateItemsToSave(); 180 182 if (!surrogates.isEmpty()) { … … 242 244 243 245 private void writeSurrogateTerminator() throws IOException { 244 writeLine( SURROGATE_TERMINATOR+ nl);246 writeLine(TERMINATOR_WITH_CONTINUATION + nl); 245 247 } 246 248
Note:
See TracChangeset
for help on using the changeset viewer.