if (contentState == CacheState.ERROR) {
InstrumentationBuilder builder = Instrumentation.builder("SourceEntryImpl-checkContentState");
builder.data("message", "contentState changing from " + contentState + " to " + newState);
//builder.data("source", source.getFullName());
builder.record(new AnalysisException());
builder.log();
}
return newState;
}
}