From f8c268111cdaf9b5527acddeebc14aa463e1e2fd Mon Sep 17 00:00:00 2001 From: Claudio Maggioni Date: Mon, 24 Feb 2020 14:15:49 +0100 Subject: [PATCH] Formatted code according to google java (aosp) format --- .../ch/usi/inf/sa4/sanmarinoes/smarthut/HelloWorld.java | 2 +- .../inf/sa4/sanmarinoes/smarthut/SmarthutApplication.java | 7 +++---- .../sa4/sanmarinoes/smarthut/SmarthutApplicationTests.java | 6 ++---- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/HelloWorld.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/HelloWorld.java index 2abbbf2..e1fda82 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/HelloWorld.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/HelloWorld.java @@ -12,4 +12,4 @@ public class HelloWorld { String home() { return "Hello World!"; } -} \ No newline at end of file +} diff --git a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplication.java b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplication.java index 4c956eb..ba489c5 100644 --- a/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplication.java +++ b/src/main/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplication.java @@ -6,8 +6,7 @@ import org.springframework.boot.autoconfigure.SpringBootApplication; @SpringBootApplication public class SmarthutApplication { - public static void main(String[] args) { - SpringApplication.run(SmarthutApplication.class, args); - } - + public static void main(String[] args) { + SpringApplication.run(SmarthutApplication.class, args); + } } diff --git a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplicationTests.java b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplicationTests.java index 44a8af9..5f1f8fd 100644 --- a/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplicationTests.java +++ b/src/test/java/ch/usi/inf/sa4/sanmarinoes/smarthut/SmarthutApplicationTests.java @@ -6,8 +6,6 @@ import org.springframework.boot.test.context.SpringBootTest; @SpringBootTest class SmarthutApplicationTests { - @Test - void contextLoads() { - } - + @Test + void contextLoads() {} }