You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@tinkerpop.apache.org by ok...@apache.org on 2019/04/29 20:13:21 UTC

[tinkerpop] branch tp4 updated: dah. commited with System.out.printlns(). I'm pooped. Need to rest.

This is an automated email from the ASF dual-hosted git repository.

okram pushed a commit to branch tp4
in repository https://gitbox.apache.org/repos/asf/tinkerpop.git


The following commit(s) were added to refs/heads/tp4 by this push:
     new 36770ac  dah. commited with System.out.printlns(). I'm pooped. Need to rest.
36770ac is described below

commit 36770acdaf1d8becd67e75f8fb5528043d16345c
Author: Marko A. Rodriguez <ok...@gmail.com>
AuthorDate: Mon Apr 29 14:13:10 2019 -0600

    dah. commited with System.out.printlns(). I'm pooped. Need to rest.
---
 .../java/org/apache/tinkerpop/machine/traverser/path/BasicPath.java     | 1 -
 .../tinkerpop/machine/structure/jdbc/strategy/JDBCQueryStrategy.java    | 2 --
 2 files changed, 3 deletions(-)

diff --git a/java/machine/machine-core/src/main/java/org/apache/tinkerpop/machine/traverser/path/BasicPath.java b/java/machine/machine-core/src/main/java/org/apache/tinkerpop/machine/traverser/path/BasicPath.java
index 5b46c9e..5b7f078 100644
--- a/java/machine/machine-core/src/main/java/org/apache/tinkerpop/machine/traverser/path/BasicPath.java
+++ b/java/machine/machine-core/src/main/java/org/apache/tinkerpop/machine/traverser/path/BasicPath.java
@@ -79,7 +79,6 @@ public final class BasicPath implements Path {
 
     @Override
     public Object get(final Pop pop, final String label) {
-       System.out.println(this.labels + ":::" + this.objects);
         if (Pop.last == pop) {
             for (int i = this.labels.size() - 1; i >= 0; i--) {
                 if (label.equals(this.labels.get(i)))
diff --git a/java/machine/structure/jdbc/src/main/java/org/apache/tinkerpop/machine/structure/jdbc/strategy/JDBCQueryStrategy.java b/java/machine/structure/jdbc/src/main/java/org/apache/tinkerpop/machine/structure/jdbc/strategy/JDBCQueryStrategy.java
index 3adb915..203bcdb 100644
--- a/java/machine/structure/jdbc/src/main/java/org/apache/tinkerpop/machine/structure/jdbc/strategy/JDBCQueryStrategy.java
+++ b/java/machine/structure/jdbc/src/main/java/org/apache/tinkerpop/machine/structure/jdbc/strategy/JDBCQueryStrategy.java
@@ -34,7 +34,6 @@ public final class JDBCQueryStrategy extends AbstractStrategy<Strategy.ProviderS
     @Override
     public <C> void apply(final Bytecode<C> bytecode) {
         if (bytecode.getParent().isEmpty() && BytecodeUtil.startsWith(bytecode, Symbols.DB, Symbols.VALUES, Symbols.DB, Symbols.VALUES, Symbols.HAS_KEY_VALUE, Symbols.PATH)) {
-            System.out.println(bytecode);
             final JDBCDatabase db = (JDBCDatabase) bytecode.getInstructions().get(0).args()[0];
             bytecode.getInstructions().remove(0); // DB
             final String table1 = (String) bytecode.getInstructions().get(0).args()[0];
@@ -49,7 +48,6 @@ public final class JDBCQueryStrategy extends AbstractStrategy<Strategy.ProviderS
             final Instruction<C> inst = bytecode.getInstructions().remove(0); // HAS_KEY_VALUE
             bytecode.getInstructions().remove(0); // PATH
             bytecode.addInstruction(0, inst.coefficient(), "jdbc:sql", db.getConnection(), as1, as2, query);
-            System.out.println(bytecode);
         }
     }
 }