Skip to content

Commit fe7663c

Browse files
committed
Logging enhancements.
1 parent e36a5d3 commit fe7663c

File tree

4 files changed

+5
-5
lines changed

4 files changed

+5
-5
lines changed

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/analysis/StreamAnalyzer.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -136,7 +136,7 @@ public Map<IJavaProject, Collection<Entrypoint>> analyze() throws CoreException
136136
* @see #analyze().
137137
*/
138138
public Map<IJavaProject, Collection<Entrypoint>> analyze(Optional<TimeCollector> collector) throws CoreException {
139-
LOGGER.info(() -> "Using N = " + this.getNForStreams() + ".");
139+
LOGGER.fine(() -> "Using N = " + this.getNForStreams() + ".");
140140

141141
Map<IJavaProject, Collection<Entrypoint>> ret = new HashMap<>();
142142

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/wala/EclipseProjectAnalysisEngine.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ public CallGraphBuilder<?> getCallGraphBuilder() {
173173
@Override
174174
protected CallGraphBuilder<?> getCallGraphBuilder(IClassHierarchy cha, AnalysisOptions options,
175175
IAnalysisCacheView cache) {
176-
LOGGER.info(() -> "Using N = " + this.getNToUseForStreams());
176+
LOGGER.fine(() -> "Using N = " + this.getNToUseForStreams() + ".");
177177
return Util.makeNCFABuilder(N, options, (AnalysisCache) cache, cha, scope, this.getNToUseForStreams());
178178
}
179179

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/wala/nCFAContextWithReceiversSelector.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public nCFAContextWithReceiversSelector(int n, ContextSelector base) {
9595
*/
9696
public nCFAContextWithReceiversSelector(int n, ContextSelector base, int nToUseForStreams) {
9797
super(n, base);
98-
LOGGER.info(() -> "Using N = " + nToUseForStreams);
98+
LOGGER.fine(() -> "Using N = " + nToUseForStreams + ".");
9999
this.contextLengthForStreams = nToUseForStreams;
100100
}
101101

@@ -167,7 +167,7 @@ protected int getLength(CGNode caller, CallSiteReference site, IMethod target) {
167167

168168
if (implementsBaseStream) {
169169
int lengthForStreams = this.getContextLengthForStreams();
170-
LOGGER.finer(() -> "Using N = " + lengthForStreams);
170+
LOGGER.finer(() -> "Using N = " + lengthForStreams + ".");
171171
return lengthForStreams;
172172
} else
173173
return super.getLength(caller, site, target);

edu.cuny.hunter.streamrefactoring.tests/test cases/edu/cuny/hunter/streamrefactoring/ui/tests/ConvertStreamToParallelRefactoringTest.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -345,7 +345,7 @@ private void helper(StreamAnalysisExpectedResult... expectedResults) throws Exce
345345
* Runs a single analysis test.
346346
*/
347347
private void helper(int nToUseForStreams, StreamAnalysisExpectedResult... expectedResults) throws Exception {
348-
LOGGER.info("Using N = " + nToUseForStreams);
348+
LOGGER.fine("Using N = " + nToUseForStreams + ".");
349349

350350
// compute the actual results.
351351
ICompilationUnit cu = createCUfromTestFile(getPackageP(), "A");

0 commit comments

Comments
 (0)