private void run(SearchPatternData[] data, String scope) { List<IType> wrappers= new ArrayList<>(); List<IFile> properties= new ArrayList<>(); for (int i= 0; i < data.length; i++) { SearchPatternData current= data[i]; if (current.getWrapperClass() != null || current.getPropertyFile() != null) { wrappers.add(current.getWrapperClass()); properties.add(current.getPropertyFile()); } } IType[] accessorClasses= wrappers.toArray(new IType[wrappers.size()]); IFile[] propertieFiles= properties.toArray(new IFile[properties.size()]); SearchBrokenNLSKeysUtil.search(scope, accessorClasses, propertieFiles); }
private void run(SearchPatternData[] data, String scope) { List wrappers= new ArrayList(); List properties= new ArrayList(); for (int i= 0; i < data.length; i++) { SearchPatternData current= data[i]; if (current.getWrapperClass() != null || current.getPropertyFile() != null) { wrappers.add(current.getWrapperClass()); properties.add(current.getPropertyFile()); } } IType[] accessorClasses= (IType[])wrappers.toArray(new IType[wrappers.size()]); IFile[] propertieFiles= (IFile[])properties.toArray(new IFile[properties.size()]); SearchBrokenNLSKeysUtil.search(scope, accessorClasses, propertieFiles); }
private void run(SearchPatternData[] data, String scope) { List<IType> wrappers= new ArrayList<>(); List<IFile> properties= new ArrayList<>(); for (int i= 0; i < data.length; i++) { SearchPatternData current= data[i]; if (current.getWrapperClass() != null || current.getPropertyFile() != null) { wrappers.add(current.getWrapperClass()); properties.add(current.getPropertyFile()); } } IType[] accessorClasses= wrappers.toArray(new IType[wrappers.size()]); IFile[] propertieFiles= properties.toArray(new IFile[properties.size()]); SearchBrokenNLSKeysUtil.search(scope, accessorClasses, propertieFiles); }