karaf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gno...@apache.org
Subject [2/2] karaf git commit: Remove spaces from empty lines
Date Wed, 30 Nov 2016 08:19:38 GMT
Remove spaces from empty lines

Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/0e016eda
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0e016eda
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0e016eda

Branch: refs/heads/master
Commit: 0e016eda6029e272731bdb840b63a3c06e02e84a
Parents: ddeef77
Author: Guillaume Nodet <gnodet@apache.org>
Authored: Wed Nov 30 09:08:42 2016 +0100
Committer: Guillaume Nodet <gnodet@apache.org>
Committed: Wed Nov 30 09:08:42 2016 +0100

----------------------------------------------------------------------
 .../org/apache/karaf/config/command/ConfigCommandSupport.java    | 2 +-
 .../main/java/org/apache/karaf/config/command/EditCommand.java   | 4 ++--
 .../org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java  | 2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/karaf/blob/0e016eda/config/src/main/java/org/apache/karaf/config/command/ConfigCommandSupport.java
----------------------------------------------------------------------
diff --git a/config/src/main/java/org/apache/karaf/config/command/ConfigCommandSupport.java
b/config/src/main/java/org/apache/karaf/config/command/ConfigCommandSupport.java
index d70d61f..3a0aaf1 100644
--- a/config/src/main/java/org/apache/karaf/config/command/ConfigCommandSupport.java
+++ b/config/src/main/java/org/apache/karaf/config/command/ConfigCommandSupport.java
@@ -54,7 +54,7 @@ public abstract class ConfigCommandSupport implements Action {
     protected Dictionary getEditedProps() throws Exception {
         return (Dictionary) this.session.get(PROPERTY_CONFIG_PROPS);
     }
-    
+
     public void setConfigRepository(ConfigRepository configRepository) {
         this.configRepository = configRepository;
     }

http://git-wip-us.apache.org/repos/asf/karaf/blob/0e016eda/config/src/main/java/org/apache/karaf/config/command/EditCommand.java
----------------------------------------------------------------------
diff --git a/config/src/main/java/org/apache/karaf/config/command/EditCommand.java b/config/src/main/java/org/apache/karaf/config/command/EditCommand.java
index 9a47dd5..8b03fc5 100644
--- a/config/src/main/java/org/apache/karaf/config/command/EditCommand.java
+++ b/config/src/main/java/org/apache/karaf/config/command/EditCommand.java
@@ -36,7 +36,7 @@ public class EditCommand extends ConfigCommandSupport {
 
     @Option(name = "--force", aliases = {}, description = "Force the edition of this config,
even if another one was under edition", required = false, multiValued = false)
     boolean force;
-    
+
     @Option(name = "--factory", aliases = {}, description = "Define this config as a factory
config. Will be crearted on calling update", required = false, multiValued = false)
     boolean factory;
 
@@ -51,7 +51,7 @@ public class EditCommand extends ConfigCommandSupport {
             System.err.println("Another config is being edited.  Cancel / update first, or
use the --force option");
             return null;
         }
-        
+
         if (pid.startsWith("(")) {
         	Configuration[] configs = this.configRepository.getConfigAdmin().listConfigurations(pid);
             if (configs == null) {

http://git-wip-us.apache.org/repos/asf/karaf/blob/0e016eda/config/src/main/java/org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java
----------------------------------------------------------------------
diff --git a/config/src/main/java/org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java
b/config/src/main/java/org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java
index 1af3ce9..3ef4b9b 100644
--- a/config/src/main/java/org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java
+++ b/config/src/main/java/org/apache/karaf/config/core/impl/ConfigRepositoryImpl.java
@@ -85,7 +85,7 @@ public class ConfigRepositoryImpl implements ConfigRepository {
             LOGGER.warn("Can't delete cfg file", e);
         }
     }
-    
+
     protected void deleteStorage(String pid) throws Exception {
         if (storage != null) {
             File cfgFile = new File(storage, pid + ".cfg");


Mime
View raw message