Skip to content

Commit d9cfaee

Browse files
author
kevin.w.wall
committed
Fix typo of spelling for file name used for portable serialization. This should fix bug that was causing one of the .ser files to be left lying around sometimes.
1 parent 332ad2c commit d9cfaee

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

src/test/java/org/owasp/esapi/crypto/CipherTextTest.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ public class CipherTextTest {
4343
@BeforeClass public static void preCleanup() {
4444
// These two calls have side-effects that cause FindBugs to complain.
4545
new File("ciphertext.ser").delete();
46-
new File("ciphertext-porta.bleser").delete();
46+
new File("ciphertext-portable.ser").delete();
4747
}
4848

4949
@Before
@@ -63,7 +63,7 @@ public void tearDown() throws Exception {
6363
if ( POST_CLEANUP ) {
6464
// These two calls have side-effects that cause FindBugs to complain.
6565
new File("ciphertext.ser").delete();
66-
new File("ciphertext-portal.ser").delete();
66+
new File("ciphertext-portable.ser").delete();
6767
}
6868
}
6969

@@ -201,7 +201,7 @@ public final void testMIC() {
201201
/** Test <i>portable</i> serialization. */
202202
@Test public final void testPortableSerialization() {
203203
System.err.println("CipherTextTest.testPortableSerialization()...");
204-
String filename = "ciphertext-portal.ser";
204+
String filename = "ciphertext-portable.ser";
205205
File serializedFile = new File(filename);
206206
serializedFile.delete(); // Delete any old serialized file.
207207

0 commit comments

Comments
 (0)