aboutsummaryrefslogtreecommitdiffstats
path: root/demo_gradle
diff options
context:
space:
mode:
authorDecebal Suiu <decebal.suiu@gmail.com>2018-07-07 11:26:11 +0300
committerDecebal Suiu <decebal.suiu@gmail.com>2018-07-07 11:26:11 +0300
commit5587adb63ae7a51397196f28d3a97d579b04542a (patch)
tree5a460333b06382c00793dd6948a6ac94e75db777 /demo_gradle
parentc421a3b4e02822d65252b868ecbef3d1a0b09fd8 (diff)
downloadpf4j-5587adb63ae7a51397196f28d3a97d579b04542a.tar.gz
pf4j-5587adb63ae7a51397196f28d3a97d579b04542a.zip
Tabs to spaces
Diffstat (limited to 'demo_gradle')
-rw-r--r--demo_gradle/app/src/main/java/org/pf4j/demo/Boot.java18
-rw-r--r--demo_gradle/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java5
-rw-r--r--demo_gradle/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java2
3 files changed, 13 insertions, 12 deletions
diff --git a/demo_gradle/app/src/main/java/org/pf4j/demo/Boot.java b/demo_gradle/app/src/main/java/org/pf4j/demo/Boot.java
index cbf6007..ebc5c31 100644
--- a/demo_gradle/app/src/main/java/org/pf4j/demo/Boot.java
+++ b/demo_gradle/app/src/main/java/org/pf4j/demo/Boot.java
@@ -94,19 +94,19 @@ public class Boot {
/*
Runtime.getRuntime().addShutdownHook(new Thread() {
- @Override
- public void run() {
- pluginManager.stopPlugins();
- }
+ @Override
+ public void run() {
+ pluginManager.stopPlugins();
+ }
});
*/
}
- private static void printLogo() {
- logger.info(StringUtils.repeat("#", 40));
- logger.info(StringUtils.center("PF4J-DEMO", 40));
- logger.info(StringUtils.repeat("#", 40));
- }
+ private static void printLogo() {
+ logger.info(StringUtils.repeat("#", 40));
+ logger.info(StringUtils.center("PF4J-DEMO", 40));
+ logger.info(StringUtils.repeat("#", 40));
+ }
}
diff --git a/demo_gradle/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java b/demo_gradle/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
index 65f4d28..aaf1804 100644
--- a/demo_gradle/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
+++ b/demo_gradle/plugins/plugin1/src/main/java/org/pf4j/demo/welcome/WelcomePlugin.java
@@ -28,6 +28,7 @@ import org.pf4j.demo.api.Greeting;
* @author Decebal Suiu
*/
public class WelcomePlugin extends Plugin {
+
private static final Logger logger = LoggerFactory.getLogger(WelcomePlugin.class);
public WelcomePlugin(PluginWrapper wrapper) {
@@ -37,7 +38,7 @@ public class WelcomePlugin extends Plugin {
@Override
public void start() {
logger.info("WelcomePlugin.start()");
- logger.info(StringUtils.upperCase("WelcomePlugin"));
+ logger.info(StringUtils.upperCase("WelcomePlugin"));
}
@Override
@@ -48,7 +49,7 @@ public class WelcomePlugin extends Plugin {
@Extension
public static class WelcomeGreeting implements Greeting {
- @Override
+ @Override
public String getGreeting() {
return "Welcome";
}
diff --git a/demo_gradle/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java b/demo_gradle/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java
index d3af229..f9c7797 100644
--- a/demo_gradle/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java
+++ b/demo_gradle/plugins/plugin2/src/main/java/org/pf4j/demo/hello/HelloPlugin.java
@@ -47,7 +47,7 @@ public class HelloPlugin extends Plugin {
@Extension(ordinal=1)
public static class HelloGreeting implements Greeting {
- @Override
+ @Override
public String getGreeting() {
return "Hello";
}