diff --git a/src/org/april/agirstatool/core/AgirStatool.java b/src/org/april/agirstatool/core/AgirStatool.java index 74701d6..c924b1c 100644 --- a/src/org/april/agirstatool/core/AgirStatool.java +++ b/src/org/april/agirstatool/core/AgirStatool.java @@ -196,7 +196,7 @@ public class AgirStatool } /** - * Do refresh pages. + * Do update pages. * * @throws AgirStatoolException * the agir statool exception @@ -232,7 +232,7 @@ public class AgirStatool } catch (IOException exception) { - throw new AgirStatoolException("Error refreshing all: " + exception.getMessage(), exception); + throw new AgirStatoolException("Error updating all: " + exception.getMessage(), exception); } } @@ -949,23 +949,6 @@ public class AgirStatool return result; } - public void putTouchFile() - { - - } - - /** - * Refresh. - * - * @param projectId - * the project id - * @throws AgirStatoolException - * the agir statool exception - */ - public void refresh(final String projectId) throws AgirStatoolException - { - } - /** * Update page. * @@ -980,14 +963,14 @@ public class AgirStatool { if (hasToUpdate(project)) { - logger.info("Refresh project page for {}", project.getName()); + logger.info("Update project page for {}", project.getName()); String page = ProjectPage.build(project); FileUtils.write(new File(this.targetDirectory, project.getIdentifier() + ".xhtml"), page, StandardCharsets.UTF_8); } } catch (IOException exception) { - throw new AgirStatoolException("Error refreshing page: " + exception.getMessage(), exception); + throw new AgirStatoolException("Error updating page: " + exception.getMessage(), exception); } } }