Skip to content

Commit

Permalink
#589: Use a better name for the method
Browse files Browse the repository at this point in the history
  • Loading branch information
essobedo committed Feb 20, 2016
1 parent 9ab0c1d commit b132b22
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/org/takes/facets/fork/FkHitRefresh.java
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ public FkHitRefresh(final File file, final Runnable cmd,
this.dir = file;
this.exec = cmd;
this.take = tke;
this.last = FkHitRefresh.createFileToTouch();
this.last = FkHitRefresh.touchedFile();
}

@Override
Expand Down Expand Up @@ -177,7 +177,7 @@ private static void touch(final File file) throws IOException {
* @return The file to touch
* @throws IOException If fails
*/
private static File createFileToTouch() throws IOException {
private static File touchedFile() throws IOException {
final File file = File.createTempFile("take", ".txt");
file.deleteOnExit();
FkHitRefresh.touch(file);
Expand Down

0 comments on commit b132b22

Please sign in to comment.