summary |
shortlog |
log |
commit | commitdiff |
review |
tree
raw |
patch |
inline | side by side (from parent 1:
ec9cabb)
In a few places, LOG statements are updated to utilize proper
formatting.
Change-Id: Ic1d0f50a6b561ee1e70e76d096b78928d5af65b1
Signed-off-by: Ryan Goulding <ryandgoulding@gmail.com>
final void closeCursor(final AbstractCursor<?> cursor) {
final boolean success = CURSOR_UPDATER.compareAndSet(this, cursor, null);
if (!success) {
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);
// 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);
*/
@SuppressWarnings("unchecked")
final T ret = (T) INTERNER.intern(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);
augmentTargetCtx.addEffectiveSubstatement(augmentSourceCtx);
updateAugmentOrder(augmentSourceCtx);
} catch (SourceException e) {
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);