Title: [Java] date Author: waterapple Pastebin link: http://pastebin.com/B2KBg4Vp First Edit: Thursday 1st of January 2015 07:17:18 AM CDT Last Edit: Thursday 1st of January 2015 07:17:18 AM CDT         mat = datePattern.matcher(text);         if(!mat.find()) {             throw new ContentParseException("Could not parse thread (post timestamp regex failed)");         }         /*          * parse datetime string into unix time          * Fri, Oct 24th, 2014 04:08          * EEE, MMM d, yyyy HH:mm          */         long dateUtc;                 try {                         String timestamp_string = mat.group(1);                 SimpleDateFormat sdf = new SimpleDateFormat("EEE, MMM d, yyyy HH:mm");                 Date date = new Date();                         date = sdf.parse(timestamp_string);                         dateUtc = date.getTime();                 } catch (ParseException e) {                         // TODO Auto-generated catch block                         e.printStackTrace();                 }                             WARN: Cannot write to debug file Exception in thread: "Page scanner 2 - art" java.lang.Error: Unresolved compilation problem:         The local variable dateUtc may not have been initialized           at net.easymodo.asagi.YotsubaHTML.parsePost(YotsubaHTML.java:341)         at net.easymodo.asagi.YotsubaHTML.parseThread(YotsubaHTML.java:215)         at net.easymodo.asagi.YotsubaHTML.getPage(YotsubaHTML.java:376)         at net.easymodo.asagi.DumperClassic$PageScanner.run(DumperClassic.java:59)         at java.lang.Thread.run(Unknown Source) Terminating dumper due to unexpected exception. Please report this issue if you believe it is a bug.