tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anat...@apache.org
Subject [07/15] incubator-tamaya git commit: Fixed default method in API fir Java 8. Javadoc merge.
Date Thu, 21 May 2015 07:40:25 GMT
Fixed default method in API fir Java 8.
Javadoc merge.


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

Branch: refs/heads/master
Commit: 216af2a9048b40141e96d7347093a39f4b5259fa
Parents: 391671a
Author: anatole <anatole@apache.org>
Authored: Thu May 21 06:32:16 2015 +0200
Committer: anatole <anatole@apache.org>
Committed: Thu May 21 06:32:16 2015 +0200

----------------------------------------------------------------------
 java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java   | 8 ++++----
 java8/api/src/main/java/org/apache/tamaya/Configuration.java | 2 +-
 2 files changed, 5 insertions(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/216af2a9/java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java
----------------------------------------------------------------------
diff --git a/java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java b/java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java
index b29a699..ce5da22 100644
--- a/java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java
+++ b/java7/api/src/main/java/org/apache/tamaya/TypeLiteral.java
@@ -123,10 +123,10 @@ public class TypeLiteral<T> implements Serializable {
     }
 
     /**
-      * Returns basic raw Java type.
-      *
-      * @return the actual type represented by this object
-      */
+     * Returns basic raw Java type.
+     *
+     * @return the actual type represented by this object
+     */
     public final Class<T> getRawType() {
         Class<T> rawType = null;
 

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/216af2a9/java8/api/src/main/java/org/apache/tamaya/Configuration.java
----------------------------------------------------------------------
diff --git a/java8/api/src/main/java/org/apache/tamaya/Configuration.java b/java8/api/src/main/java/org/apache/tamaya/Configuration.java
index 7830225..583a1bf 100644
--- a/java8/api/src/main/java/org/apache/tamaya/Configuration.java
+++ b/java8/api/src/main/java/org/apache/tamaya/Configuration.java
@@ -51,7 +51,7 @@ public interface Configuration {
      * @return the property's value or {@code null}.
      */
     default String get(String key) {
-        return get(key, String.class);
+        return getProperties().get(key);
     }
 
 


Mime
View raw message