You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by dk...@apache.org on 2017/06/22 11:01:54 UTC
[21/48] tinkerpop git commit: Finalize a variable CTR
Finalize a variable CTR
Project: http://git-wip-us.apache.org/repos/asf/tinkerpop/repo
Commit: http://git-wip-us.apache.org/repos/asf/tinkerpop/commit/1d824b5f
Tree: http://git-wip-us.apache.org/repos/asf/tinkerpop/tree/1d824b5f
Diff: http://git-wip-us.apache.org/repos/asf/tinkerpop/diff/1d824b5f
Branch: refs/heads/TINKERPOP-1682
Commit: 1d824b5f32207c4283141d65ad219ef113b93083
Parents: 28f536b
Author: Stephen Mallette <sp...@genoprime.com>
Authored: Sat Jun 17 06:36:56 2017 -0400
Committer: Stephen Mallette <sp...@genoprime.com>
Committed: Sat Jun 17 06:36:56 2017 -0400
----------------------------------------------------------------------
.../apache/tinkerpop/gremlin/structure/util/CloseableIterator.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/tinkerpop/blob/1d824b5f/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/CloseableIterator.java
----------------------------------------------------------------------
diff --git a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/CloseableIterator.java b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/CloseableIterator.java
index 3d813b7..2464d11 100644
--- a/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/CloseableIterator.java
+++ b/gremlin-core/src/main/java/org/apache/tinkerpop/gremlin/structure/util/CloseableIterator.java
@@ -47,7 +47,7 @@ public interface CloseableIterator<T> extends Iterator<T>, Closeable {
// do nothing by default
}
- public static <T> void closeIterator(Iterator<T> iterator) {
+ public static <T> void closeIterator(final Iterator<T> iterator) {
if (iterator instanceof AutoCloseable) {
try {
((AutoCloseable) iterator).close();