Fixed labels.
This commit is contained in:
parent
63cccbe1a7
commit
0477769261
1 changed files with 4 additions and 21 deletions
|
@ -196,7 +196,7 @@ public class AgirStatool
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Do refresh pages.
|
* Do update pages.
|
||||||
*
|
*
|
||||||
* @throws AgirStatoolException
|
* @throws AgirStatoolException
|
||||||
* the agir statool exception
|
* the agir statool exception
|
||||||
|
@ -232,7 +232,7 @@ public class AgirStatool
|
||||||
}
|
}
|
||||||
catch (IOException exception)
|
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;
|
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.
|
* Update page.
|
||||||
*
|
*
|
||||||
|
@ -980,14 +963,14 @@ public class AgirStatool
|
||||||
{
|
{
|
||||||
if (hasToUpdate(project))
|
if (hasToUpdate(project))
|
||||||
{
|
{
|
||||||
logger.info("Refresh project page for {}", project.getName());
|
logger.info("Update project page for {}", project.getName());
|
||||||
String page = ProjectPage.build(project);
|
String page = ProjectPage.build(project);
|
||||||
FileUtils.write(new File(this.targetDirectory, project.getIdentifier() + ".xhtml"), page, StandardCharsets.UTF_8);
|
FileUtils.write(new File(this.targetDirectory, project.getIdentifier() + ".xhtml"), page, StandardCharsets.UTF_8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
catch (IOException exception)
|
catch (IOException exception)
|
||||||
{
|
{
|
||||||
throw new AgirStatoolException("Error refreshing page: " + exception.getMessage(), exception);
|
throw new AgirStatoolException("Error updating page: " + exception.getMessage(), exception);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue