Skip to content

Commit f27e59b

Browse files
committed
Format.
1 parent fcb1d9e commit f27e59b

File tree

2 files changed

+12
-19
lines changed

2 files changed

+12
-19
lines changed

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

Lines changed: 10 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -239,10 +239,8 @@ else if (isTerminalOperationWhereReduceOrderDoesNotMatter(declaredTarget))
239239
* Returns true if the given {@link PointerKey} should be filtered from the
240240
* {@link ModRef} analysis.
241241
*
242-
* @param pointerKey
243-
* The {@link PointerKey} in question.
244-
* @param engine
245-
* The {@link AnalysisEngine} to use.
242+
* @param pointerKey The {@link PointerKey} in question.
243+
* @param engine The {@link AnalysisEngine} to use.
246244
* @return <code>true</code> if the given {@link PointerKey} should be filtered
247245
* and <code>false</code> otherwise.
248246
* @apiNote The current filtering mechanism excludes field {@link PointerKey}s
@@ -340,15 +338,12 @@ private static Collection<? extends InstanceKey> getAdditionalNecessaryReceivers
340338
* Return the basic block in context for the given block in the procedure
341339
* represented by the given call graph node in the given supergraph.
342340
*
343-
* @param block
344-
* The block in which to find the corresponding block in context in
345-
* the supergraph.
346-
* @param cgNode
347-
* The call graph node representing the procedure that contains the
348-
* block.
349-
* @param supergraph
350-
* The supergraph in which to look up the corresponding block in
351-
* context.
341+
* @param block The block in which to find the corresponding block in
342+
* context in the supergraph.
343+
* @param cgNode The call graph node representing the procedure that
344+
* contains the block.
345+
* @param supergraph The supergraph in which to look up the corresponding block
346+
* in context.
352347
* @return The block in context in the given supergraph that corresponds to the
353348
* given block with the procedure represented by the given call graph
354349
* node.
@@ -1311,12 +1306,12 @@ private static CallGraph pruneCallGraph(CallGraph callGraph, IClassHierarchy cla
13111306
if (Util.isStreamNode(node, classHierarchy))
13121307
keep.add(node);
13131308
}
1314-
1309+
13151310
PrunedCallGraph prunedCallGraph = new PrunedCallGraph(callGraph, keep);
13161311
int numberOfNodesInPrunedCallGraph = prunedCallGraph.getNumberOfNodes();
13171312
LOGGER.info("The number of nodes in partial graph: " + numberOfNodesInPrunedCallGraph
13181313
+ ". The number of saved nodes: " + (numberOfNodesInCallGraph - numberOfNodesInPrunedCallGraph));
1319-
1314+
13201315
return prunedCallGraph;
13211316
}
13221317
}

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/refactorings/OptimizeStreamsRefactoringProcessor.java

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -103,8 +103,7 @@ private static void logWarning(String message) {
103103
* Minimum logging level. One of the constants in
104104
* org.eclipse.core.runtime.IStatus.
105105
*
106-
* @param level
107-
* The minimum logging level to set.
106+
* @param level The minimum logging level to set.
108107
* @see org.eclipse.core.runtime.IStatus.
109108
*/
110109
public static void setLoggingLevel(int level) {
@@ -392,8 +391,7 @@ public Change createChange(IProgressMonitor pm) throws CoreException, OperationC
392391
/**
393392
* Creates a working copy layer if necessary.
394393
*
395-
* @param monitor
396-
* the progress monitor to use
394+
* @param monitor the progress monitor to use
397395
* @return a status describing the outcome of the operation
398396
*/
399397
private RefactoringStatus createWorkingCopyLayer(IProgressMonitor monitor) {

0 commit comments

Comments
 (0)