final List list= new ArrayList(); if (!fRefactoringHistory.isEmpty()) { final RefactoringDescriptorProxy[] proxies= getRefactoringHistoryDescriptors(); if (proxies != null && proxies.length > 0) {
final List list= new ArrayList(8); if (fRefactoringHistory != null && !fRefactoringHistory.isEmpty()) { final RefactoringDescriptorProxy[] proxies= getRefactoringDescriptorProxies(); if (proxies.length > 0) {
	public final Object[] getRootElements() {		final List list= new ArrayList();		if (!fRefactoringHistory.isEmpty()) {			final RefactoringDescriptorProxy[] proxies= getRefactoringHistoryDescriptors();			if (proxies != null && proxies.length > 0) {				final long[][] structure= getRefactoringRootStructure(proxies[0].getTimeStamp());				int begin= 0;				long end= Long.MAX_VALUE;				for (int index= 0; index < proxies.length; index++) {					final long stamp= proxies[index].getTimeStamp();					for (int offset= begin; offset < structure.length; offset++) {						final long start= structure[offset][0];						if (stamp >= start && stamp <= end) {							list.add(new RefactoringHistoryDate(null, start, (int) structure[offset][1]));							begin= offset + 1;							end= start - 1;							break;						}					}				}			}		}		return list.toArray();	}