[ https://issues.apache.org/jira/browse/RYA-501?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16615133#comment-16615133 ]
ASF GitHub Bot commented on RYA-501: ------------------------------------ GitHub user isper3at opened a pull request: https://github.com/apache/incubator-rya/pull/302 RYA-501 Change guava Iterators to Collections <!-- Licensed to the Apache Software Foundation (ASF) under one or more contributor license agreements. See the NOTICE file distributed with this work for additional information regarding copyright ownership. The ASF licenses this file to you under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. --> ## Description >What Changed? Google changed the Iterators object emptyIterator() visibility. This can cause versioning issues with anything depending on a newer version of guava. Using Java's Collections.emptyIterator() instead. ### Tests >Coverage? N/A ### Links [Jira](https://issues.apache.org/jira/browse/RYA-501) ### Checklist - [ ] Code Review - [x] Squash Commits #### People To Reivew @pujav65 @kchilton2 @ejwhite922 You can merge this pull request into a Git repository by running: $ git pull https://github.com/isper3at/incubator-rya RYA-501_guavaToJava Alternatively you can review and apply these changes as the patch at: https://github.com/apache/incubator-rya/pull/302.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #302 ---- commit 03fd52e89b44fd39ae97490f43d4922b39e7d07d Author: Andrew Smith <smith3at@...> Date: 2018-09-14T16:37:16Z RYA-501 Change guava Iterators to Collections Google changed the Iterators object emptyIterator() visibility. This can cause versioning issues with anything depending on a newer version of guava. Using Java's Collections.emptyIterator() instead. ---- > Guava changed the Iterators api. > -------------------------------- > > Key: RYA-501 > URL: https://issues.apache.org/jira/browse/RYA-501 > Project: Rya > Issue Type: Improvement > Reporter: Andrew Smith > Assignee: Andrew Smith > Priority: Trivial > > Guava changed scope of Iterators.emptyIterator(). > This can cause problems for anything that uses rya as a dependency or if rya > ever upgrades it's guava version. Java now has the Collections api with > emptyIterator. Changing to that will resolve this problem. -- This message was sent by Atlassian JIRA (v7.6.3#76005)