Skip to content

Commit c840242

Browse files
committed
Fix unused methods.
1 parent fbc2568 commit c840242

File tree

1 file changed

+2
-1
lines changed
  • edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/analysis

1 file changed

+2
-1
lines changed

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

+2-1
Original file line numberDiff line numberDiff line change
@@ -468,7 +468,7 @@ public TypeDeclaration getEnclosingTypeDeclaration() {
468468
return enclosingTypeDeclaration;
469469
}
470470

471-
private TypeReference getEnclosingTypeReference() {
471+
public TypeReference getEnclosingTypeReference() {
472472
JDTIdentityMapper mapper = getJDTIdentifyMapper(getEnclosingTypeDeclaration());
473473
TypeReference ref = mapper.getTypeRef(getEnclosingTypeDeclaration().resolveBinding());
474474

@@ -656,6 +656,7 @@ protected CGNode getEnclosingMethodNode() throws IOException, CoreException, NoE
656656
* in the {@link CallGraph} are {@link FakeRootMethod}s.
657657
* @apiNote The may be an issue here related to #106.
658658
*/
659+
@SuppressWarnings("unused")
659660
private static boolean allFake(Set<CGNode> nodes, CallGraph callGraph) {
660661
// for each node.
661662
for (CGNode cgNode : nodes) {

0 commit comments

Comments
 (0)