You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@kudu.apache.org by to...@apache.org on 2017/06/26 21:44:21 UTC
kudu git commit: [java] Remove usage of Sun internal
NotImplementedException
Repository: kudu
Updated Branches:
refs/heads/master 684f1fa81 -> 0f8649f1b
[java] Remove usage of Sun internal NotImplementedException
Change-Id: I7e10f61f0f67400890c30e8db0d1d4a694880b3d
Reviewed-on: http://gerrit.cloudera.org:8080/7281
Tested-by: Kudu Jenkins
Reviewed-by: Todd Lipcon <to...@apache.org>
Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/0f8649f1
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/0f8649f1
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/0f8649f1
Branch: refs/heads/master
Commit: 0f8649f1ba593f12d787315a9bb8b13e889ceb3c
Parents: 684f1fa
Author: Grant Henke <gr...@gmail.com>
Authored: Fri Jun 23 16:04:27 2017 -0500
Committer: Todd Lipcon <to...@apache.org>
Committed: Mon Jun 26 21:29:13 2017 +0000
----------------------------------------------------------------------
.../test/java/org/apache/kudu/client/TestPartialRow.java | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/kudu/blob/0f8649f1/java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java
----------------------------------------------------------------------
diff --git a/java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java b/java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java
index 63ebc71..b4dd756 100644
--- a/java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java
+++ b/java/kudu-client/src/test/java/org/apache/kudu/client/TestPartialRow.java
@@ -26,7 +26,6 @@ import static org.junit.Assert.fail;
import java.nio.ByteBuffer;
import org.junit.Test;
-import sun.reflect.generics.reflectiveObjects.NotImplementedException;
import org.apache.kudu.ColumnSchema;
import org.apache.kudu.Schema;
@@ -272,7 +271,7 @@ public class TestPartialRow {
case DOUBLE: return partialRow.getDouble(columnName);
case BOOL: return partialRow.getBoolean(columnName);
default:
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
}
@@ -289,7 +288,7 @@ public class TestPartialRow {
case DOUBLE: return partialRow.getDouble(columnIndex);
case BOOL: return partialRow.getBoolean(columnIndex);
default:
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
}
@@ -306,7 +305,7 @@ public class TestPartialRow {
case DOUBLE: partialRow.addDouble(columnName, 53.35); break;
case BOOL: partialRow.addBoolean(columnName, true); break;
default:
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
}
@@ -323,7 +322,7 @@ public class TestPartialRow {
case DOUBLE: partialRow.addDouble(columnIndex, 53.35); break;
case BOOL: partialRow.addBoolean(columnIndex, true); break;
default:
- throw new NotImplementedException();
+ throw new UnsupportedOperationException();
}
}