Skip to content

Commit 2f5b870

Browse files
committed
Clean up.
1 parent 0fe5b98 commit 2f5b870

File tree

1 file changed

+8
-8
lines changed
  • edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/safe

1 file changed

+8
-8
lines changed

edu.cuny.hunter.streamrefactoring.core/src/edu/cuny/hunter/streamrefactoring/core/safe/Util.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,29 +20,26 @@
2020
public class Util {
2121

2222
/**
23-
* {@link Atom} corresponding the the stream() method.
23+
* The {@link TypeName} of the type {@link java.util.Arrays}.
2424
*/
25-
private static final Atom STREAM_METHOD_NAME_ATOM = Atom.findOrCreateAsciiAtom("stream");
25+
private static final TypeName ARRAYS_TYPE_NAME = TypeName.string2TypeName("Ljava/util/Arrays");
2626

2727
/**
28-
* The {@link TypeName} of the type {@link java.util.Arrays}.
28+
* {@link Atom} corresponding the the stream() method.
2929
*/
30-
private static final TypeName ARRAYS_TYPE_NAME = TypeName.string2TypeName("Ljava/util/Arrays");
30+
private static final Atom STREAM_METHOD_NAME_ATOM = Atom.findOrCreateAsciiAtom("stream");
3131

3232
/**
3333
* The {@link TypeName} for the type {@link java.util.stream.StreamSupport}.
3434
*/
3535
private static final TypeName STREAM_SUPPORT_TYPE_NAME = TypeName
3636
.string2TypeName("Ljava/util/stream/StreamSupport");
3737

38-
private Util() {
39-
}
40-
4138
/**
4239
* True iff the given {@link InstanceKey} corresponds with the given
4340
* {@link SSAInvokeInstruction} in the given {@link CallGraph}. In other words,
4441
* the result is true iff the instruction is used to create the instance.
45-
*
42+
*
4643
* @param instanceKey
4744
* An instance in question.
4845
* @param instruction
@@ -108,4 +105,7 @@ else if (callSiteReference.getProgramCounter() == instructionCallSite.getProgram
108105
}
109106
return false;
110107
}
108+
109+
private Util() {
110+
}
111111
}

0 commit comments

Comments
 (0)