Skip to content

Commit

Permalink
remove debug info
Browse files Browse the repository at this point in the history
  • Loading branch information
gumreal authored and gumreal committed Mar 13, 2022
1 parent 9637caf commit 9198acb
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 11 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.p17.20220312b'
version = '21.03.2.p18.20220313a'
sourceCompatibility = 1.8
targetCompatibility = 1.8

Expand Down
5 changes: 2 additions & 3 deletions src/main/java/io/dgraph/wrapper/mutation/Mutation.java
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
import io.dgraph.DgraphClient;
import io.dgraph.DgraphProto;
import io.dgraph.Transaction;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import java.util.List;
import java.util.Map;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

public class Mutation {
private static Logger LOGGER = LoggerFactory.getLogger(MutationSet.class.getSimpleName());
Expand Down
16 changes: 9 additions & 7 deletions src/main/java/io/dgraph/wrapper/mutation/MutationDelete.java
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,9 @@ public static void deleteEdge(DgraphClient client, String uid, String edgeType,
DgraphProto.Mutation mu = b.build();
DgraphProto.Response res = txn.mutate(mu);
txn.commit();
LOGGER.debug(res.toString());

} catch (Exception e) {
LOGGER.error("EXCEPTION" + e.getMessage(), e);
} finally {
}
}
Expand Down Expand Up @@ -69,8 +70,9 @@ public static void deleteEdges(
DgraphProto.Mutation mu = b.build();
DgraphProto.Response res = txn.mutate(mu);
txn.commit();
LOGGER.debug(res.toString());

} catch (Exception e) {
LOGGER.error("EXCEPTION" + e.getMessage(), e);
} finally {
}
}
Expand All @@ -91,8 +93,9 @@ public static void deleteEdgePredicate(DgraphClient client, String uid, String e

DgraphProto.Response res = txn.mutate(mu);
txn.commit();
LOGGER.debug(res.toString());

} catch (Exception e) {
LOGGER.error("EXCEPTION" + e.getMessage(), e);
} finally {
}
}
Expand Down Expand Up @@ -122,8 +125,9 @@ public static void deleteEdgePredicates(
DgraphProto.Mutation mu = b.build();
DgraphProto.Response res = txn.mutate(mu);
txn.commit();
LOGGER.debug(res.toString());

} catch (Exception e) {
LOGGER.error("EXCEPTION" + e.getMessage(), e);
} finally {
}
}
Expand All @@ -145,9 +149,7 @@ public static void deleteVertex(DgraphClient client, String uid) {
txn.commit();

} catch (Exception e) {
e.printStackTrace();
LOGGER.error(e.getMessage());

LOGGER.error("EXCEPTION" + e.getMessage(), e);
} finally {
}
}
Expand Down

0 comments on commit 9198acb

Please sign in to comment.