public void processLintResults(String lintFile,String lintFileSize){
  RemoteFileFetcher lintFetcher=new RemoteFileFetcher(workspace,logger,lintFile,lintFileSize);
  try {
    String input=lintFetcher.getRemoteFile();
    if (input != null && input.length() > 0) {
      lintResults=new LintResults();
      BufferedReader reader=new BufferedReader(new StringReader(input));
      String lint;
      while ((lint=reader.readLine()) != null) {
        JSONObject json=JSONObject.fromObject(lint);
        lintResults.add(new LintResult((String)json.get("name"),(String)json.get("code"),(String)json.get("severity"),(String)json.get("path"),(Integer)json.get("line"),(Integer)json.get("char"),(String)json.get("description")));
      }
    }
  }
 catch (  JSONException e) {
    e.printStackTrace(logger.getStream());
  }
catch (  InterruptedException e) {
    e.printStackTrace(logger.getStream());
  }
catch (  IOException e) {
    e.printStackTrace(logger.getStream());
  }
}

public void processLintResults ( String lintFile , String lintFileSize ) { RemoteFileFetcher lintFetcher = new RemoteFileFetcher ( workspace , logger , lintFile , lintFileSize ) ; try { String input = lintFetcher . getRemoteFile ( ) ; if ( input != null && input . length ( ) > 0 ) { lintResults = new LintResults ( ) ; BufferedReader reader = new BufferedReader ( new StringReader ( input ) ) ; String lint ; while ( ( lint = reader . readLine ( ) ) != null ) { JSONObject json = JSONObject . fromObject ( lint ) ; lintResults . add ( new LintResult ( ( String ) json . get ( "name" ) , ( String ) json . get ( "code" ) , ( String ) json . get ( "severity" ) , ( String ) json . get ( "path" ) , ( Integer ) json . get ( "line" ) , ( Integer ) json . get ( "char" ) , ( String ) json . get ( "description" ) ) ) ; } } } catch ( JSONException e ) { e . printStackTrace ( logger . getStream ( ) ) ; } catch ( InterruptedException e ) { e . printStackTrace ( logger . getStream ( ) ) ; } catch ( IOException e ) { e . printStackTrace ( logger . getStream ( ) ) ; } }
fetch remote lint violations from the build workspace and process
