private String unCommentLine(String line) {
        String result = line;

        if (line != null) {
			if (isSlashStar) {
				int posStarSlash = line.indexOf("*/");
				if (posStarSlash >= 0) {
					isSlashStar = false;
					result = unCommentLine(line.substring(posStarSlash+2));
				} else {
					result = "";
				}
			} else {
				int posSlashSlash = line.indexOf("//");
				int posSlashStar = line.indexOf("/*");
				if (posSlashSlash >= 0 &&
					(posSlashStar < 0 || posSlashStar > posSlashSlash)) {
					result = line.substring(0, posSlashSlash);
				} else if (posSlashStar >= 0) {
					isSlashStar = true;
					result = line.substring(0, posSlashStar) +
							 unCommentLine(line.substring(posSlashStar+2));
				}
			}
        }

        return result;
    }