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 2011/06/17 19:30:19 UTC
svn commit: r1136954 - in /incubator/jena/Jena2/ARQ/trunk/src/org/openjena:
atlas/lib/cache/Cache0.java riot/tokens/TokenizerText.java
Author: andy
Date: Fri Jun 17 17:30:18 2011
New Revision: 1136954
URL: http://svn.apache.org/viewvc?rev=1136954&view=rev
Log:
Tidy up
Modified:
incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/lib/cache/Cache0.java
incubator/jena/Jena2/ARQ/trunk/src/org/openjena/riot/tokens/TokenizerText.java
Modified: incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/lib/cache/Cache0.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/lib/cache/Cache0.java?rev=1136954&r1=1136953&r2=1136954&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/lib/cache/Cache0.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/org/openjena/atlas/lib/cache/Cache0.java Fri Jun 17 17:30:18 2011
@@ -12,8 +12,8 @@ import org.openjena.atlas.iterator.Iter
import org.openjena.atlas.lib.ActionKeyValue ;
import org.openjena.atlas.lib.Cache ;
-/** A cache that keep nothing */
-public class Cache0<K, V> implements Cache<K,V>
+/** A cache that keeps nothing */
+public final class Cache0<K, V> implements Cache<K,V>
{
public boolean containsKey(K key)
{
Modified: incubator/jena/Jena2/ARQ/trunk/src/org/openjena/riot/tokens/TokenizerText.java
URL: http://svn.apache.org/viewvc/incubator/jena/Jena2/ARQ/trunk/src/org/openjena/riot/tokens/TokenizerText.java?rev=1136954&r1=1136953&r2=1136954&view=diff
==============================================================================
--- incubator/jena/Jena2/ARQ/trunk/src/org/openjena/riot/tokens/TokenizerText.java (original)
+++ incubator/jena/Jena2/ARQ/trunk/src/org/openjena/riot/tokens/TokenizerText.java Fri Jun 17 17:30:18 2011
@@ -85,8 +85,7 @@ public final class TokenizerText impleme
//@Override
public final Token next()
{
-
- if ( ! hasNext() )
+ if ( ! hasNext() )
throw new NoSuchElementException() ;
Token t = token ;
token = null ;