if (myLimit > 0 && myCount <= myLimit) {
if (myLimit <= 0 || myCount <= myLimit) {
	protected void endElement(DAVElement parent, DAVElement element, StringBuffer cdata) {		if (element == LOG_ITEM) {			myCount++;            if (myLimit > 0 && myCount <= myLimit) {    			if (myLogEntryHandler != null) {    				if (myPaths == null) {    					myPaths = new HashMap();    				}    				SVNLogEntry logEntry = new SVNLogEntry(myPaths, myRevision, myAuthor, myDate, myComment);    				myLogEntryHandler.handleLogEntry(logEntry);    			}            }			myPaths = null;			myRevision = -1;			myAuthor = null;			myDate = null;			myComment = null;		} else if (element == DAVElement.VERSION_NAME && cdata != null) {			myRevision = Long.parseLong(cdata.toString());		} else if (element == DAVElement.CREATOR_DISPLAY_NAME && cdata != null) {			myAuthor = cdata.toString();		} else if (element == DAVElement.COMMENT && cdata != null) {			myComment = cdata.toString();		} else if (element == DAVElement.DATE && cdata != null) {			myDate = SVNTimeUtil.parseDate(cdata.toString());		} else if (element == ADDED_PATH || element == MODIFIED_PATH || element == REPLACED_PATH ||				element == DELETED_PATH) {			if (myPath != null && cdata != null) {				if (myPaths == null) {					myPaths = new HashMap();				}				myPath.setPathValue(cdata.toString());                String path = myPath.getPath();                myPath.setPathValue(path);                myPaths.put(myPath.getPath(), myPath);			}			myPath = null;		} 	}