final void closeCursor(final AbstractCursor<?> cursor) {
final boolean success = CURSOR_UPDATER.compareAndSet(this, cursor, null);
if (!success) {
- LOG.warn("Attempted to close cursor %s while %s is open", cursor, this.cursor);
+ LOG.warn("Attempted to close cursor {} while {} is open", cursor, this.cursor);
}
}
}
// All checks completed, intern the sample
@SuppressWarnings("unchecked")
final T ret = (T) INTERNER.intern(sample);
- LOG.trace("Interned object %s to %s", sample, ret);
+ LOG.trace("Interned object {} to {}", sample, ret);
return ret;
}
}
*/
@SuppressWarnings("unchecked")
final T ret = (T) INTERNER.intern(sample);
- LOG.trace("Interned object %s to %s", sample, ret);
+ LOG.trace("Interned object {} to {}", sample, ret);
return ret;
}
augmentTargetCtx.addEffectiveSubstatement(augmentSourceCtx);
updateAugmentOrder(augmentSourceCtx);
} catch (SourceException e) {
- LOG.debug("Failed to add augmentation %s defined at {}",
- augmentSourceCtx.getStatementSourceReference(), e);
+ LOG.debug("Failed to add augmentation {} defined at {}",
+ augmentTargetCtx.getStatementSourceReference(),
+ augmentSourceCtx.getStatementSourceReference(), e);
}
}