james-server-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From btell...@apache.org
Subject [11/17] james-project git commit: JAMES-2525 Reindent to improve readibility
Date Mon, 15 Oct 2018 06:28:34 GMT
JAMES-2525 Reindent to improve readibility


Project: http://git-wip-us.apache.org/repos/asf/james-project/repo
Commit: http://git-wip-us.apache.org/repos/asf/james-project/commit/e18abb64
Tree: http://git-wip-us.apache.org/repos/asf/james-project/tree/e18abb64
Diff: http://git-wip-us.apache.org/repos/asf/james-project/diff/e18abb64

Branch: refs/heads/master
Commit: e18abb642e994ae144e416a417dd21a35caae87a
Parents: 5898631
Author: Raphael Ouazana <raphael.ouazana@linagora.com>
Authored: Thu Oct 11 11:52:39 2018 +0200
Committer: Benoit Tellier <btellier@linagora.com>
Committed: Mon Oct 15 13:17:08 2018 +0700

----------------------------------------------------------------------
 .../objectstorage/SwiftKeystone2ConfigurationReader.java  |  2 +-
 .../objectstorage/SwiftKeystone3ConfigurationReader.java  | 10 +++++-----
 .../objectstorage/SwiftTmpAuthConfigurationReader.java    |  6 +++---
 3 files changed, 9 insertions(+), 9 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/james-project/blob/e18abb64/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone2ConfigurationReader.java
----------------------------------------------------------------------
diff --git a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone2ConfigurationReader.java
b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone2ConfigurationReader.java
index d2f1d03..09f41f0 100644
--- a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone2ConfigurationReader.java
+++ b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone2ConfigurationReader.java
@@ -61,7 +61,7 @@ public class SwiftKeystone2ConfigurationReader implements SwiftConfigurationRead
         Identity identity = Identity.of(tenantName, userName);
 
         Optional<Region> region = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_REGION, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_REGION, null))
             .map(Region::of);
 
         return SwiftKeystone2ObjectStorage.configBuilder()

http://git-wip-us.apache.org/repos/asf/james-project/blob/e18abb64/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone3ConfigurationReader.java
----------------------------------------------------------------------
diff --git a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone3ConfigurationReader.java
b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone3ConfigurationReader.java
index bc51a89..f661bb6 100644
--- a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone3ConfigurationReader.java
+++ b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftKeystone3ConfigurationReader.java
@@ -76,13 +76,13 @@ public class SwiftKeystone3ConfigurationReader implements SwiftConfigurationRead
         IdentityV3 identity = readIdentity(configuration);
 
         Optional<DomainId> domainScope = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_DOMAIN_ID, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_DOMAIN_ID, null))
             .map(DomainId::of);
 
         Optional<Project> projectScope = readProjectScope(configuration);
 
         Optional<Region> region = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_REGION, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_REGION, null))
             .map(Region::of);
 
         return SwiftKeystone3ObjectStorage.configBuilder()
@@ -114,15 +114,15 @@ public class SwiftKeystone3ConfigurationReader implements SwiftConfigurationRead
 
     private static Optional<Project> readProjectScope(Configuration configuration)
{
         Optional<ProjectName> projectName = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_NAME, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_NAME, null))
             .map(ProjectName::of);
 
         Optional<DomainName> projectDomainName = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_DOMAIN_NAME, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_DOMAIN_NAME,
null))
             .map(DomainName::of);
 
         Optional<DomainId> projectDomainId = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_DOMAIN_ID, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_KEYSTONE_3_PROJECT_DOMAIN_ID,
null))
             .map(DomainId::of);
 
         return OptionalUtils.or(

http://git-wip-us.apache.org/repos/asf/james-project/blob/e18abb64/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftTmpAuthConfigurationReader.java
----------------------------------------------------------------------
diff --git a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftTmpAuthConfigurationReader.java
b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftTmpAuthConfigurationReader.java
index 467fa42..3afd4a8 100644
--- a/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftTmpAuthConfigurationReader.java
+++ b/server/container/guice/blob-objectstorage-guice/src/main/java/org/apache/james/modules/objectstorage/SwiftTmpAuthConfigurationReader.java
@@ -67,15 +67,15 @@ public class SwiftTmpAuthConfigurationReader implements SwiftConfigurationReader
         Identity identity = Identity.of(tenantName, userName);
 
         Optional<Region> region = Optional.ofNullable(
-            configuration.getString(SwiftConfigurationReader.OBJECTSTORAGE_SWIFT_REGION,
null))
+                configuration.getString(SwiftConfigurationReader.OBJECTSTORAGE_SWIFT_REGION,
null))
             .map(Region::of);
 
         Optional<PassHeaderName> passHeaderName = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_TEMPAUTH_PASS_HEADER_NAME, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_TEMPAUTH_PASS_HEADER_NAME, null))
             .map(PassHeaderName::of);
 
         Optional<UserHeaderName> userHeaderName = Optional.ofNullable(
-            configuration.getString(OBJECTSTORAGE_SWIFT_TEMPAUTH_USER_HEADER_NAME, null))
+                configuration.getString(OBJECTSTORAGE_SWIFT_TEMPAUTH_USER_HEADER_NAME, null))
             .map(UserHeaderName::of);
 
         return SwiftTempAuthObjectStorage.configBuilder()


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Mime
View raw message