tamaya-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ple...@apache.org
Subject incubator-tamaya git commit: Fixed compile error.
Date Sun, 22 Mar 2015 14:19:51 GMT
Repository: incubator-tamaya
Updated Branches:
  refs/heads/master a5c1b995e -> 6a68b50f4


Fixed compile error.


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

Branch: refs/heads/master
Commit: 6a68b50f4aca1d334860707f5c7c2b6212a52049
Parents: a5c1b99
Author: Oliver B. Fischer <plexus@apache.org>
Authored: Sun Mar 22 15:19:33 2015 +0100
Committer: Oliver B. Fischer <plexus@apache.org>
Committed: Sun Mar 22 15:19:33 2015 +0100

----------------------------------------------------------------------
 .../java/org/apache/tamaya/json/JSONConfigurationFormat.java    | 5 +++++
 .../json/src/main/java/org/apache/tamaya/json/JSONFormat.java   | 5 +++++
 2 files changed, 10 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/6a68b50f/modules/json/src/main/java/org/apache/tamaya/json/JSONConfigurationFormat.java
----------------------------------------------------------------------
diff --git a/modules/json/src/main/java/org/apache/tamaya/json/JSONConfigurationFormat.java
b/modules/json/src/main/java/org/apache/tamaya/json/JSONConfigurationFormat.java
index 47950a7..367bd11 100644
--- a/modules/json/src/main/java/org/apache/tamaya/json/JSONConfigurationFormat.java
+++ b/modules/json/src/main/java/org/apache/tamaya/json/JSONConfigurationFormat.java
@@ -31,6 +31,11 @@ import java.net.URL;
 public class JSONConfigurationFormat implements ConfigurationFormat {
 
     @Override
+    public String getName() {
+        return "json";
+    }
+
+    @Override
     public boolean accepts(URL url) {
         throw new java.lang.RuntimeException("Not implemented yet!");
     }

http://git-wip-us.apache.org/repos/asf/incubator-tamaya/blob/6a68b50f/modules/json/src/main/java/org/apache/tamaya/json/JSONFormat.java
----------------------------------------------------------------------
diff --git a/modules/json/src/main/java/org/apache/tamaya/json/JSONFormat.java b/modules/json/src/main/java/org/apache/tamaya/json/JSONFormat.java
index 70613df..80d5196 100644
--- a/modules/json/src/main/java/org/apache/tamaya/json/JSONFormat.java
+++ b/modules/json/src/main/java/org/apache/tamaya/json/JSONFormat.java
@@ -42,6 +42,11 @@ import java.util.Objects;
 public class JSONFormat implements ConfigurationFormat {
 
     @Override
+    public String getName() {
+        return "json";
+    }
+
+    @Override
     public boolean accepts(URL url) {
         Objects.requireNonNull(url);
 


Mime
View raw message