Mercurial > projects > dwt-addons
comparison dwtx/jface/text/reconciler/AbstractReconcileStep.d @ 158:25f1f92fa3df
...
author | Frank Benoit <benoit@tionex.de> |
---|---|
date | Tue, 26 Aug 2008 02:46:34 +0200 |
parents | f70d9508c95c |
children | 1a5b8f8129df |
comparison
equal
deleted
inserted
replaced
157:7f75eaa8103a | 158:25f1f92fa3df |
---|---|
155 return results1; | 155 return results1; |
156 | 156 |
157 // XXX: not yet performance optimized | 157 // XXX: not yet performance optimized |
158 Collection collection= new ArrayList(Arrays.asList(results1)); | 158 Collection collection= new ArrayList(Arrays.asList(results1)); |
159 collection.addAll(Arrays.asList(results2)); | 159 collection.addAll(Arrays.asList(results2)); |
160 return (IReconcileResult[])collection.toArray(new IReconcileResult[collection.size()]); | 160 return arraycast!(IReconcileResult)(collection.toArray()); |
161 } | 161 } |
162 | 162 |
163 /* | 163 /* |
164 * @see IProgressMonitor#isCanceled() | 164 * @see IProgressMonitor#isCanceled() |
165 */ | 165 */ |