You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@lucenenet.apache.org by ni...@apache.org on 2017/06/22 05:25:39 UTC
[38/38] lucenenet git commit: Lucene.Net.IOUtils: Removed TODO about
ReThrowUnchecked method - throwing a new exception causes tests to fail. In
Java, most exceptions we are interested in would just be rethrown,
anyway because they subclass RuntimeExcept
Lucene.Net.IOUtils: Removed TODO about ReThrowUnchecked method - throwing a new exception causes tests to fail. In Java, most exceptions we are interested in would just be rethrown, anyway because they subclass RuntimeException.
Project: http://git-wip-us.apache.org/repos/asf/lucenenet/repo
Commit: http://git-wip-us.apache.org/repos/asf/lucenenet/commit/468199e3
Tree: http://git-wip-us.apache.org/repos/asf/lucenenet/tree/468199e3
Diff: http://git-wip-us.apache.org/repos/asf/lucenenet/diff/468199e3
Branch: refs/heads/master
Commit: 468199e3fa95c7e1f77b14e7f00aeaafd7c2f8b9
Parents: ab75145
Author: Shad Storhaug <sh...@shadstorhaug.com>
Authored: Thu Jun 22 12:13:15 2017 +0700
Committer: Shad Storhaug <sh...@shadstorhaug.com>
Committed: Thu Jun 22 12:13:15 2017 +0700
----------------------------------------------------------------------
src/Lucene.Net/Util/IOUtils.cs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/lucenenet/blob/468199e3/src/Lucene.Net/Util/IOUtils.cs
----------------------------------------------------------------------
diff --git a/src/Lucene.Net/Util/IOUtils.cs b/src/Lucene.Net/Util/IOUtils.cs
index 76aa7a4..5907b60 100644
--- a/src/Lucene.Net/Util/IOUtils.cs
+++ b/src/Lucene.Net/Util/IOUtils.cs
@@ -516,7 +516,7 @@ namespace Lucene.Net.Util
/// </summary>
public static void ReThrowUnchecked(Exception th)
{
- if (th != null) // LUCENENET TODO: BUG - In Lucene we throw a new exception type in some cases which may not be caught in a different layer
+ if (th != null)
{
throw th;
}