System.out.print("  OK");
System.out.println("  OK");
    static void compare(Properties source, Properties target) {    	List missing = new LinkedList();    	List duplicate = new LinkedList();    	List obsolete = new LinkedList();    	    	// check for missing properties and duplicate values     	Enumeration sourceKeys = source.propertyNames();    	while (sourceKeys.hasMoreElements()) {    		String sourceKey = (String)sourceKeys.nextElement();    		String sourceValue = source.getProperty(sourceKey);    		String targetValue = target.getProperty(sourceKey);    		if (targetValue == null) {    			missing.add(sourceKey);    		}    		else if (targetValue.equals(sourceValue)) {    			duplicate.add(sourceKey);    		}    	}    	    	// check for obsolete properties    	Enumeration targetKeys = target.propertyNames();    	while (targetKeys.hasMoreElements()) {    		String targetKey = (String)targetKeys.nextElement();    		String sourceValue = source.getProperty(targetKey);    		if (sourceValue == null) {    			obsolete.add(targetKey);    		}    	}    	    	// print results    	int missingCount = missing.size();    	int duplicateCount = duplicate.size();    	int obsoleteCount = obsolete.size();    	if (missingCount == 0 && duplicateCount == 0 && obsoleteCount == 0) {    		System.out.print("  OK");    		return;    	}    	print("missing", missing);    	print("duplicate", duplicate);    	print("obsolete", obsolete);    	System.out.println("  Summary: "+missingCount+" missing, "+duplicateCount+" duplicate, "+obsoleteCount+" obsolete");    }