Gitlab service upgraded. Please report any problems to dl_gitadmin@cs.lth.se

Commit 5e0bf048 authored by Noric Couderc's avatar Noric Couderc

Formatting. Tabs to spaces

Replaced tabs with spaces
parent 2a7550d6
......@@ -57,14 +57,14 @@ public class Main {
}
public static String getCommit() {
try {
FileRepository localRepo = new FileRepository(".git");
ObjectId o = localRepo.findRef("HEAD").getTarget().getObjectId();
return ObjectId.toString(o).substring(0, 8);
} catch (IOException e) {
System.err.println(e.getMessage());
}
return "Unable to fetch commit";
try {
FileRepository localRepo = new FileRepository(".git");
ObjectId o = localRepo.findRef("HEAD").getTarget().getObjectId();
return ObjectId.toString(o).substring(0, 8);
} catch (IOException e) {
System.err.println(e.getMessage());
}
return "Unable to fetch commit";
}
public static void main(String[] args) throws RunnerException, IOException {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment