return null;
}
}
private final void checkBinding(BundleFormatted bundle) {
BundleFormat format = bundle.getFormat();
Object version = format.getVersion();
if (version != lastVersion) {
ArrayList<BundleField> allFields = new ArrayList<BundleField>(format.getFieldCount());
for (BundleField field : format) {
allFields.add(field);
}
ArrayList<BundleField> newFields = allFields;
if (fieldNames != null) {
newFields = new ArrayList<BundleField>(fieldNames.length);
for (String fieldName : fieldNames) {
Integer pos = getPos(fieldName);
if (pos != null && pos < allFields.size()) {
newFields.add(allFields.get(pos.intValue()));
} else {
newFields.add(format.getField(fieldName));
}
}
}
fields = newFields.toArray(new BundleField[newFields.size()]);
lastVersion = version;