No effective change - code cleanup of BindableProperty to remove unused parameter (property name)

This commit is contained in:
rbygrave
2015-02-02 21:43:08 +13:00
parent f7e07633a1
commit bd99badb28
13 changed files with 24 additions and 19 deletions
@@ -107,7 +107,7 @@ public class ImportedIdEmbedded implements ImportedId {
if (embeddedId == null){
for (int i = 0; i < imported.length; i++) {
if (imported[i].owner.isUpdateable()) {
request.bind(null, imported[i].foreignProperty, imported[i].localDbColumn);
request.bind(null, imported[i].foreignProperty);
}
}
@@ -116,7 +116,7 @@ public class ImportedIdEmbedded implements ImportedId {
for (int i = 0; i < imported.length; i++) {
if (imported[i].owner.isUpdateable()) {
Object scalarValue = imported[i].foreignProperty.getValue(embedded);
request.bind(scalarValue, imported[i].foreignProperty, imported[i].localDbColumn);
request.bind(scalarValue, imported[i].foreignProperty);
}
}
}
@@ -77,7 +77,7 @@ public class ImportedIdMultiple implements ImportedId {
for (int i = 0; i < imported.length; i++) {
if (imported[i].owner.isUpdateable()) {
Object scalarValue = imported[i].foreignProperty.getValue(bean);
request.bind(scalarValue, imported[i].foreignProperty, imported[i].localDbColumn);
request.bind(scalarValue, imported[i].foreignProperty);
}
}
// hmmm, not worrying about this just yet
@@ -135,7 +135,7 @@ public final class ImportedIdSimple implements ImportedId, Comparable<ImportedId
if (bean != null){
value = getIdValue(bean);
}
request.bind(value, foreignProperty, localDbColumn);
request.bind(value, foreignProperty);
return value;
}