mirror of
https://github.com/tiennm99/java-design-patterns.git
synced 2026-10-13 10:15:44 +00:00
fix: spotless formatting fixes
This commit is contained in:
1 parent
c317ce012a
commit
2dfb27c859
17 files changed
+141
-79
No files matched your search
@@ -49,6 +49,26 @@
|
||||
<groupId>org.apache.maven.plugins</groupId>
|
||||
<artifactId>maven-compiler-plugin</artifactId>
|
||||
</plugin>
|
||||
<plugin>
|
||||
<groupId>com.diffplug.spotless</groupId>
|
||||
<artifactId>spotless-maven-plugin</artifactId>
|
||||
<version>2.44.4</version>
|
||||
<executions>
|
||||
<execution>
|
||||
<goals>
|
||||
<goal>check</goal>
|
||||
<goal>apply</goal>
|
||||
</goals>
|
||||
</execution>
|
||||
</executions>
|
||||
<configuration>
|
||||
<java>
|
||||
<googleJavaFormat>
|
||||
<version>1.17.0</version>
|
||||
</googleJavaFormat>
|
||||
</java>
|
||||
</configuration>
|
||||
</plugin>
|
||||
</plugins>
|
||||
</build>
|
||||
|
||||
|
||||
+3
-4
@@ -8,8 +8,7 @@ import org.springframework.cloud.netflix.eureka.server.EnableEurekaServer;
|
||||
@EnableEurekaServer
|
||||
public class EurekaserverApplication {
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(EurekaserverApplication.class, args);
|
||||
}
|
||||
|
||||
public static void main(String[] args) {
|
||||
SpringApplication.run(EurekaserverApplication.class, args);
|
||||
}
|
||||
}
|
||||
+7
-6
@@ -6,12 +6,13 @@ import org.springframework.boot.test.context.SpringBootTest;
|
||||
@SpringBootTest
|
||||
class EurekaserverApplicationTests {
|
||||
|
||||
@Test
|
||||
void contextLoads() {
|
||||
// This is a basic integration test that checks if the Spring Application Context loads successfully.
|
||||
@Test
|
||||
void contextLoads() {
|
||||
// This is a basic integration test that checks if the Spring Application Context loads
|
||||
// successfully.
|
||||
// If the context loads without any exceptions, the test is considered passing.
|
||||
// It is often left empty as the act of loading the context is the primary verification.
|
||||
// You can add specific assertions here if you want to verify the presence or state of certain beans.
|
||||
}
|
||||
|
||||
// You can add specific assertions here if you want to verify the presence or state of certain
|
||||
// beans.
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user