Repository: phoenix Updated Branches: refs/heads/master ac2e2368e -> 784c354af
PHOENIX-900 Fix whitespaces and remove System.out from PartialCommitIT Project: http://git-wip-us.apache.org/repos/asf/phoenix/repo Commit: http://git-wip-us.apache.org/repos/asf/phoenix/commit/784c354a Tree: http://git-wip-us.apache.org/repos/asf/phoenix/tree/784c354a Diff: http://git-wip-us.apache.org/repos/asf/phoenix/diff/784c354a Branch: refs/heads/master Commit: 784c354af8f21006d695cca7e175fb22be73ebd0 Parents: ac2e236 Author: Eli Levine <elilev...@apache.org> Authored: Wed Apr 22 11:28:04 2015 -0700 Committer: Eli Levine <elilev...@apache.org> Committed: Wed Apr 22 11:28:04 2015 -0700 ---------------------------------------------------------------------- .../java/org/apache/phoenix/execute/PartialCommitIT.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/phoenix/blob/784c354a/phoenix-core/src/it/java/org/apache/phoenix/execute/PartialCommitIT.java ---------------------------------------------------------------------- diff --git a/phoenix-core/src/it/java/org/apache/phoenix/execute/PartialCommitIT.java b/phoenix-core/src/it/java/org/apache/phoenix/execute/PartialCommitIT.java index 812fdba..c8696e2 100644 --- a/phoenix-core/src/it/java/org/apache/phoenix/execute/PartialCommitIT.java +++ b/phoenix-core/src/it/java/org/apache/phoenix/execute/PartialCommitIT.java @@ -281,9 +281,7 @@ public class PartialCommitIT { @Override public void preDelete(ObserverContext<RegionCoprocessorEnvironment> c, - Delete delete, WALEdit edit, Durability durability) - throws IOException { - System.out.println( c.getEnvironment().getRegion().getRegionInfo().getTable().getNameAsString() + ' ' + delete + ' ' + delete.getFamilyCellMap().firstEntry().getValue().get(0).getQualifierLength()); + Delete delete, WALEdit edit, Durability durability) throws IOException { if (shouldFailDelete(c, delete)) { // throwing anything other than instances of IOException result // in this coprocessor being unloaded @@ -301,9 +299,9 @@ public class PartialCommitIT { private boolean shouldFailDelete(ObserverContext<RegionCoprocessorEnvironment> c, Delete delete) { String tableName = c.getEnvironment().getRegion().getRegionInfo().getTable().getNameAsString(); return TABLE_NAME_TO_FAIL.equals(tableName) && - // Phoenix deletes are sent as Mutations with empty values - delete.getFamilyCellMap().firstEntry().getValue().get(0).getValueLength() == 0 && - delete.getFamilyCellMap().firstEntry().getValue().get(0).getQualifierLength() == 0; + // Phoenix deletes are sent as Mutations with empty values + delete.getFamilyCellMap().firstEntry().getValue().get(0).getValueLength() == 0 && + delete.getFamilyCellMap().firstEntry().getValue().get(0).getQualifierLength() == 0; } }