Skip to content

Commit

Permalink
remove debug msg
Browse files Browse the repository at this point in the history
  • Loading branch information
gumreal authored and gumreal committed Mar 13, 2022
1 parent 9198acb commit b73b509
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ apply plugin: 'signing'

group = 'io.dgraph'
archivesBaseName = 'dgraph4j'
version = '21.03.2.p18.20220313a'
version = '21.03.2.p19.20220313b'
sourceCompatibility = 1.8
targetCompatibility = 1.8

Expand Down
3 changes: 0 additions & 3 deletions src/main/java/io/dgraph/wrapper/mutation/MutationDelete.java
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,6 @@ public static void deleteEdgePredicate(DgraphClient client, String uid, String e
try {
DgraphProto.Mutation mu =
Helpers.deleteEdges(DgraphProto.Mutation.newBuilder().build(), uid, edgeType);
System.out.println(mu);

DgraphProto.Response res = txn.mutate(mu);
txn.commit();
Expand Down Expand Up @@ -138,14 +137,12 @@ public static void deleteEdgePredicates(
*/
public static void deleteVertex(DgraphClient client, String uid) {
String dql = String.format(DQL_delete_vertex, uid);
System.out.println(dql);

Transaction txn = client.newTransaction();
try {
DgraphProto.Mutation mutation =
DgraphProto.Mutation.newBuilder().setDeleteJson(ByteString.copyFromUtf8(dql)).build();
DgraphProto.Response res = txn.mutate(mutation);
LOGGER.debug(res.toString());
txn.commit();

} catch (Exception e) {
Expand Down

0 comments on commit b73b509

Please sign in to comment.