risdenk commented on code in PR #1301:
URL: https://github.com/apache/solr/pull/1301#discussion_r1073986526


##########
solr/modules/gcs-repository/src/test/org/apache/solr/gcs/ConcurrentDelegatingStorage.java:
##########
@@ -56,6 +56,7 @@
  * synchronization across all instance methods. This allows google-cloud-nio's 
in-memory fake to be
  * used from multiple threads simultaneously as our tests require.
  */
+@SuppressWarnings("try")

Review Comment:
   This is necessary since apparently Storage added a default close method that 
`throws Exception` which includes `InterruptedException` and thats expected 
from the Javadoc. This suppresses that warning that fails the build. The 
warning is coming from the compiler itself saying that close should never throw 
`InterruptedException` but apparently the `Storage` interface thinks otherwise.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org
For additional commands, e-mail: issues-h...@solr.apache.org

Reply via email to