}\r
logger.debug("Query time: " + (System.currentTimeMillis() - start) + " ms");\r
try (PrintWriter os = new PrintWriter(outfile)) {\r
}\r
logger.debug("Query time: " + (System.currentTimeMillis() - start) + " ms");\r
try (PrintWriter os = new PrintWriter(outfile)) {\r
os.print(sb.toString());\r
} catch (FileNotFoundException e) {\r
System.err.println("File cannot be written: " + outfile);\r
os.print(sb.toString());\r
} catch (FileNotFoundException e) {\r
System.err.println("File cannot be written: " + outfile);\r
feedmap.put("pubcount", n + 1);\r
} catch (JSONException e) {\r
feedmap.put("pubcount", 1);\r
feedmap.put("pubcount", n + 1);\r
} catch (JSONException e) {\r
feedmap.put("pubcount", 1);\r
feedmap.put(subid, n + 1);\r
} catch (JSONException e) {\r
feedmap.put(subid, 1);\r
feedmap.put(subid, n + 1);\r
} catch (JSONException e) {\r
feedmap.put(subid, 1);\r
feedmap.put("pubcount", n + count);\r
} catch (JSONException e) {\r
feedmap.put("pubcount", count);\r
feedmap.put("pubcount", n + count);\r
} catch (JSONException e) {\r
feedmap.put("pubcount", count);\r
feedmap.put(subid, n + count);\r
} catch (JSONException e) {\r
feedmap.put(subid, count);\r
feedmap.put(subid, n + count);\r
} catch (JSONException e) {\r
feedmap.put(subid, count);\r