long lastCssModification = baseStyleSheet.lastModified(); CssReader cssReader = new CssReader( baseStyleSheet );
long lastCssModification = 0; CssReader cssReader = new CssReader(); boolean replaceWithoutDirective = preprocessor.replacePropertiesWithoutDirective(); preprocessor.setReplacePropertiesWithoutDirective( true );
	public StyleSheet loadStyleSheet(StyleSheet baseStyleSheet, Device device, Locale locale) throws IOException {				long lastCssModification = baseStyleSheet.lastModified();				CssReader cssReader = new CssReader( baseStyleSheet );				File[] resourceDirs = getResourceDirs(device, locale);		for (int i = 1; i < resourceDirs.length; i++) { // ignore the basic resource-file:			File dir = resourceDirs[i];			File cssFile = new File( dir.getAbsolutePath() + File.separator + "polish.css");			if (cssFile.exists()) {				//System.out.println("loading CSS file [" + cssFile.getAbsolutePath() + "].");				if (cssFile.lastModified() > lastCssModification) {					lastCssModification = cssFile.lastModified();				}				cssReader.add( cssFile );			}		}		StyleSheet sheet = cssReader.getStyleSheet();		sheet.setLastModified(lastCssModification);		return sheet;	}