tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From pottlin...@apache.org
Subject incubator-tamaya git commit: TAMAYA-154: Fix javadoc
Date Mon, 29 Aug 2016 17:40:33 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master cf7e9c343 -> 58e225e84


TAMAYA-154: Fix javadoc

* Minor refactoring on StringBuilder.append() instead of concatenation.


Project: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/commit/58e225e8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/tree/58e225e8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-tamaya/diff/58e225e8

Branch: refs/heads/master
Commit: 58e225e84d0652eea010249bc70a4a388b856bc1
Parents: cf7e9c3
Author: Phil Ottlinger <pottlinger@apache.org>
Authored: Mon Aug 29 19:39:56 2016 +0200
Committer: Phil Ottlinger <pottlinger@apache.org>
Committed: Mon Aug 29 19:39:56 2016 +0200

----------------------------------------------------------------------
 .../apache/tamaya/model/internal/DefaultConfigUsageStats.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/58e225e8/modules/model/src/main/java/org/apache/tamaya/model/internal/DefaultConfigUsageStats.java
----------------------------------------------------------------------
diff --git a/modules/model/src/main/java/org/apache/tamaya/model/internal/DefaultConfigUsageStats.java
b/modules/model/src/main/java/org/apache/tamaya/model/internal/DefaultConfigUsageStats.java
index 3ba1d4c..8910eaf 100644
--- a/modules/model/src/main/java/org/apache/tamaya/model/internal/DefaultConfigUsageStats.java
+++ b/modules/model/src/main/java/org/apache/tamaya/model/internal/DefaultConfigUsageStats.java
@@ -47,7 +47,7 @@ public class DefaultConfigUsageStats implements ConfigUsageStatsSpi {
     /**
      * Method that checks the 'tamaya.usage-report' system property for
      * enabling tamaya usage reporting initially.
-     * @return
+     * @return {@code true} iff property is set to {@code true}
      */
     private boolean initEnabled() {
         String val = System.getProperty("tamaya.usage-report");
@@ -137,7 +137,7 @@ public class DefaultConfigUsageStats implements ConfigUsageStatsSpi {
         StringBuilder b = new StringBuilder();
         b.append("Apache Tamaya Configuration Usage Metrics\n");
         b.append("=========================================\n");
-        b.append("DATE: " + new Date()).append("\n\n");
+        b.append("DATE: ").append(new Date()).append("\n\n");
         List<Usage> usages = new ArrayList<>(getUsages());
         Collections.sort(usages, new Comparator<Usage>() {
             @Override


Mime
View raw message