clerezza-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r...@apache.org
Subject clerezza-rdf-core git commit: CLEREZZA-951: language tag normalized to lowercase (as the javadoc said it would)
Date Sun, 05 Apr 2015 11:03:29 GMT
Repository: clerezza-rdf-core
Updated Branches:
  refs/heads/master d1dc9e835 -> 95dc83759


CLEREZZA-951: language tag normalized to lowercase (as the javadoc said it would)

Project: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/repo
Commit: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/commit/95dc8375
Tree: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/tree/95dc8375
Diff: http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/diff/95dc8375

Branch: refs/heads/master
Commit: 95dc837594df58bcf9d063e04a9b18b799723773
Parents: d1dc9e8
Author: Reto Gmür <reto@apache.org>
Authored: Sun Apr 5 11:02:39 2015 +0000
Committer: Reto Gmür <reto@apache.org>
Committed: Sun Apr 5 11:02:39 2015 +0000

----------------------------------------------------------------------
 api/src/main/java/org/apache/commons/rdf/Language.java | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/clerezza-rdf-core/blob/95dc8375/api/src/main/java/org/apache/commons/rdf/Language.java
----------------------------------------------------------------------
diff --git a/api/src/main/java/org/apache/commons/rdf/Language.java b/api/src/main/java/org/apache/commons/rdf/Language.java
index 03f328c..e76e16d 100644
--- a/api/src/main/java/org/apache/commons/rdf/Language.java
+++ b/api/src/main/java/org/apache/commons/rdf/Language.java
@@ -36,7 +36,7 @@ public class Language {
         if ((id == null) || (id.equals(""))) {
             throw new IllegalArgumentException("A language id may not be null or empty");
         }
-        this.id = id;
+        this.id = id.toLowerCase();
     }
 
     @Override


Mime
View raw message