Skip to content

Commit

Permalink
Fix spelling
Browse files Browse the repository at this point in the history
  • Loading branch information
janhoy committed Apr 3, 2017
1 parent 343f1a5 commit cab5359
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ public List<Path> getPluginPaths() {

@Override
public boolean deletePluginPath(Path pluginPath) {
FileUtils.optimisiticDelete(FileUtils.findWithEnding(pluginPath, ".zip", ".ZIP", ".Zip"));
FileUtils.optimisticDelete(FileUtils.findWithEnding(pluginPath, ".zip", ".ZIP", ".Zip"));
return super.deletePluginPath(pluginPath);
}

Expand Down
2 changes: 1 addition & 1 deletion pf4j/src/main/java/ro/fortsoft/pf4j/util/FileUtils.java
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ public static Path findWithEnding(Path basePath, String... endings) {
* Delete a file (not recursively) and ignore any errors
* @param path the path to delete
*/
public static void optimisiticDelete(Path path) {
public static void optimisticDelete(Path path) {
if (path == null) {
return;
}
Expand Down

0 comments on commit cab5359

Please sign in to comment.