You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@jena.apache.org by an...@apache.org on 2013/12/06 09:42:59 UTC
svn commit: r1548431 -
/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java
Author: andy
Date: Fri Dec 6 08:42:59 2013
New Revision: 1548431
URL: http://svn.apache.org/r1548431
Log:
@Deprecated contentTypeToLang
Modified:
jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java
Modified: jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java?rev=1548431&r1=1548430&r2=1548431&view=diff
==============================================================================
--- jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java (original)
+++ jena/trunk/jena-arq/src/main/java/org/apache/jena/riot/WebContent.java Fri Dec 6 08:42:59 2013
@@ -139,7 +139,7 @@ public class WebContent
/** Return our "canonical" name for a Content Type.
- * This should be the standard one, no X-*
+ * This should be the standard one, no X-*
*/
public static String contentTypeCanonical(String contentType)
{
@@ -148,7 +148,9 @@ public class WebContent
return null ;
return mapLangToContentType.get(lang) ;
}
-
+
+ /** @deprecated Use RDFlanguages.contentTypeToLang(String)*/
+ @Deprecated
public static Lang contentTypeToLang(String contentType)
{
if ( contentType == null )