Github user ejwhite922 commented on a diff in the pull request:
https://github.com/apache/incubator-rya/pull/272#discussion_r167232266
--- Diff:
extras/rya.streams/api/src/main/java/org/apache/rya/streams/api/queries/QueryChange.java
---
@@ -110,6 +110,16 @@ public boolean equals(final Object o) {
return false;
}
+ @Override
+ public String toString() {
+ return "QueryChange: {" +
+ " Query ID: " + queryId + ",\n" +
+ " Change Type: " + changeType + ",\n" +
+ " Is Active: " + isActive + ",\n" +
+ " SPARQL: " + sparql + "\n" +
--- End diff --
Is "sparql" coming from user input? Might want to wrap that in
org.apache.rya.api.log.LogUtils.clean(sparql)
---