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 2014/06/25 18:58:05 UTC

svn commit: r1605499 - /jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java

Author: andy
Date: Wed Jun 25 16:58:04 2014
New Revision: 1605499

URL: http://svn.apache.org/r1605499
Log:
JENA-730 : Temporary workaround switch - static setShowExceptions(boolean)

Modified:
    jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java

Modified: jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java
URL: http://svn.apache.org/viewvc/jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java?rev=1605499&r1=1605498&r2=1605499&view=diff
==============================================================================
--- jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java (original)
+++ jena/trunk/jena-core/src/main/java/com/hp/hpl/jena/n3/IRIResolver.java Wed Jun 25 16:58:04 2014
@@ -187,9 +187,13 @@ public class IRIResolver {
 	    To allow Eyeball to bypass IRI checking (because it's doing its own)
 	*/
 	public static void suppressExceptions()
-	    { showExceptions = false; }
-	
-	/**
+	{ setShowExceptions(false) ; }
+
+	/** To allow Eyeball to bypass IRI checking (because it's doing its own) */
+	public static void setShowExceptions(boolean state)
+	{ showExceptions = state ; }
+
+/**
 	 * Resolve the relative URI str against the current
 	 * working directory.
 	 * @param str