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");
|
||||
ObjectMapper mapper = new ObjectMapper();
|
||||
try {
|
||||
ObjectNode parsedGit = mapper.readValue(gitStats, ObjectNode.class);
|
||||
REVISION = parsedGit.get("git.commit.id.abbrev").asText("TRUNK");
|
||||
} catch (IOException e) {
|
||||
REVISION = "TRUNK";
|
||||
}
|
||||
ObjectNode parsedGit = mapper.readValue(gitStats, ObjectNode.class);
|
||||
REVISION = parsedGit.get("git.commit.id.abbrev").asText("TRUNK");
|
||||
} catch (IOException e) {
|
||||
REVISION = "TRUNK";
|
||||
}
|
||||
}
|
||||
|
||||
FULL_VERSION = VERSION + " [" + REVISION + "]";
|
||||
|
Loading…
Reference in New Issue
Block a user