writer.close(); writer = null;
Writer tmpWriter = writer; writer = null; tmpWriter.close();
	public void close() {		try {			if (writer != null) {				writer.close();				writer = null;			}		}		catch (IOException e) {			e.printStackTrace();		}	}