Fix indentation

This commit is contained in:
Antonin Delpeuch 2018-11-22 19:48:11 +00:00
parent 1d2888ba01
commit 8a72d359e0

View File

@ -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 + "]";