Permalink
Browse files

Fixed minor bug.

  • Loading branch information...
lintool committed Aug 13, 2016
1 parent 0a65c92 commit f5662328ba96f2842c750fa329c288db50eb4947
@@ -79,6 +79,7 @@ public static void main(String[] args) throws Exception {
}
String outputFile = cmdline.getOptionValue(OUTPUT_OPTION);
+ String missingFile = cmdline.getOptionValue(MISSING_OPTION);
String collectionPath = cmdline.getOptionValue(COLLECTION_OPTION);
LongOpenHashSet tweetids = new LongOpenHashSet();
@@ -127,7 +128,7 @@ public static void main(String[] args) throws Exception {
LOG.info("Storing missing tweetids...");
out = new BufferedWriter(new OutputStreamWriter(
- new FileOutputStream(outputFile), "UTF-8"));
+ new FileOutputStream(missingFile), "UTF-8"));
LongIterator iter = tweetids.iterator();
while (iter.hasNext()) {
long t = iter.nextLong();

0 comments on commit f566232

Please sign in to comment.