Skip to content

Commit

Permalink
format change
Browse files Browse the repository at this point in the history
  • Loading branch information
PhoenixZeng committed Apr 23, 2020
1 parent b587d9e commit 32ba049
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions src/main/java/systems/crigges/jmpq3/JMpqEditor.java
Original file line number Diff line number Diff line change
Expand Up @@ -706,7 +706,7 @@ public void insertByteArray(String name, byte[] input,boolean override) throws N
* @throws IllegalArgumentException when the mpq has filename
*/
public void insertByteArray(String name, byte[] input) throws NonWritableChannelException, IllegalArgumentException {
insertByteArray(name,input,false);
insertByteArray(name, input, false);
}

/**
Expand All @@ -720,7 +720,7 @@ public void insertByteArray(String name, byte[] input) throws NonWritableChannel
* @throws IllegalArgumentException the illegal argument exception
*/
public void insertFile(String name, File file, boolean backupFile) throws IOException, IllegalArgumentException {
insertFile(name,file,backupFile,false);
insertFile(name, file, backupFile, false);
}

/**
Expand Down
4 changes: 2 additions & 2 deletions src/test/java/systems/crigges/jmpq3test/MpqTests.java
Original file line number Diff line number Diff line change
Expand Up @@ -249,7 +249,7 @@ public void testDuplicatePaths() throws IOException {
mpqEditor.insertByteArray("teST", "bytesasdadasdad".getBytes());
});
//test override
mpqEditor.insertByteArray("teST", "bytesasdadasdad".getBytes(),true);
mpqEditor.insertByteArray("teST", "bytesasdadasdad".getBytes(), true);
}
}
}
Expand Down Expand Up @@ -418,7 +418,7 @@ public void testForGetMpqFileByBlock() throws IOException {
}
try (JMpqEditor mpqEditor = new JMpqEditor(mpq, MPQOpenOption.FORCE_V0)) {

Assert.assertTrue(mpqEditor.getMpqFilesByBlockTable().size()>0);
Assert.assertTrue(mpqEditor.getMpqFilesByBlockTable().size() > 0);
BlockTable blockTable = mpqEditor.getBlockTable();
Assert.assertNotNull(blockTable);
for (BlockTable.Block block : blockTable.getAllVaildBlocks())
Expand Down

0 comments on commit 32ba049

Please sign in to comment.