- Timestamp:
- 12/04/19 17:11:03 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/org/expeditee/gui/FrameIO.java
r1487 r1491 1145 1145 // if its a new frame or an existing Exp frame... 1146 1146 if (fullPath == null || fullPath.endsWith(ExpReader.EXTENTION)) { 1147 1148 // *** Don't you need to take the *name* of the frame in to account???? 1149 // *** to rule out the credentials frame? 1150 String framesetName = toSave.getFramesetName(); 1151 String enryptionLabel = toSave.getEncryptionLabel(); 1152 1153 if (toSave.getNumber() != AuthenticatorBrowser.CREDENTIALS_FRAME && 1154 toSave.getEncryptionLabel() != null) { 1155 // *** wasted repeat of getEncryptionLabel() 1156 // does the order of the above if statement matter? 1157 writer = new EncryptedExpWriter(toSave.getEncryptionLabel()); 1158 // **** If this doesn't take an encryption label, then why bother 1159 // making it explicitly the EcryptedExpReader, given that 1160 // 'redirectTo()' below doesn't 1161 savedVersion = EncryptedExpReader.getVersion(fullPath); 1147 1148 if (toSave.isEncryptableFrame()) { 1149 String encryptionLabel = toSave.getEncryptionLabel(); 1150 writer = new EncryptedExpWriter(encryptionLabel); 1162 1151 } else { 1163 1152 writer = new ExpWriter(); 1164 savedVersion = ExpReader.getVersion(fullPath);1165 1153 } 1154 savedVersion = ExpReader.getVersion(fullPath); 1166 1155 1167 1156 // Is the file this would be saved to a redirect?
Note:
See TracChangeset
for help on using the changeset viewer.