Fix indentation
This commit is contained in:
parent
1d2888ba01
commit
8a72d359e0
@ -115,11 +115,11 @@ public class RefineServlet extends Butterfly {
|
|||||||
InputStream gitStats = classLoader.getResourceAsStream("git.properties");
|
InputStream gitStats = classLoader.getResourceAsStream("git.properties");
|
||||||
ObjectMapper mapper = new ObjectMapper();
|
ObjectMapper mapper = new ObjectMapper();
|
||||||
try {
|
try {
|
||||||
ObjectNode parsedGit = mapper.readValue(gitStats, ObjectNode.class);
|
ObjectNode parsedGit = mapper.readValue(gitStats, ObjectNode.class);
|
||||||
REVISION = parsedGit.get("git.commit.id.abbrev").asText("TRUNK");
|
REVISION = parsedGit.get("git.commit.id.abbrev").asText("TRUNK");
|
||||||
} catch (IOException e) {
|
} catch (IOException e) {
|
||||||
REVISION = "TRUNK";
|
REVISION = "TRUNK";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
FULL_VERSION = VERSION + " [" + REVISION + "]";
|
FULL_VERSION = VERSION + " [" + REVISION + "]";
|
||||||
|
Loading…
Reference in New Issue
Block a user