private Association(Field f1, Field f2, boolean isOn) {
if (f1 == f2)
throw new IllegalArgumentException("field can't associate to itself: " + f1);
if (f1 == null || f2 == null)
throw new IllegalArgumentException("null field: " + f1 + "; " + f2);
<BUG>Log.debug("Adding association:\n\tfield 1: " + quoteKey(f1) + "\n\tfield 2: " + quoteKey(f2));
field1 = f1;</BUG>
field2 = f2;
schema1 = field1.getSchema();
schema2 = field2.getSchema();

private Association(Field f1, Field f2, boolean isOn) {
if (f1 == f2)
throw new IllegalArgumentException("field can't associate to itself: " + f1);
if (f1 == null || f2 == null)
throw new IllegalArgumentException("null field: " + f1 + "; " + f2);
if (DEBUG.SCHEMA)
Log.debug("Adding association:"
+ "\n\tfield 1: " + quoteKey(f1) + " " + Util.tags(f1)
+ "\n\tfield 2: " + quoteKey(f2) + " " + Util.tags(f2));
field1 = f1;
field2 = f2;
schema1 = field1.getSchema();
schema2 = field2.getSchema();
