state = reader.loadState(input); state.setResolver(new ResolverImpl());
systemState = reader.loadState(input, expectedTimeStamp);  if (systemState == null) return; initializeSystemState();
	private void readState() {		if (!stateLocation.isFile())			return;						if (DEBUG_READER)			readStartupTime = System.currentTimeMillis();					FileInputStream fileInput;		try {			fileInput = new FileInputStream(stateLocation);		} catch (FileNotFoundException e) {			// TODO: log before bailing			e.printStackTrace();						return;		}		DataInputStream input = null;				try {			input = new DataInputStream(new BufferedInputStream(fileInput,65536));			StateReader reader = new StateReader();			state = reader.loadState(input);			state.setResolver(new ResolverImpl());		} catch (IOException ioe) {			// TODO: how do we log this?			ioe.printStackTrace();		} finally {						if (DEBUG_READER)				System.out.println("Time to read state: " + (System.currentTimeMillis() - readStartupTime));		}			}