Github user pwendell commented on a diff in the pull request:
https://github.com/apache/spark/pull/565#discussion_r12027235
--- Diff: examples/src/main/java/org/apache/spark/examples/JavaTC.java ---
@@ -85,7 +85,7 @@ public static void main(String[] args) {
}
});
- long oldCount = 0;
+ long oldCount;
--- End diff --
Isn't it better to initialize this to 0 rather than rely on an implicit
initialization?
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---