Skip to content

Commit

Permalink
public fields and methods
Browse files Browse the repository at this point in the history
  • Loading branch information
kml committed Oct 11, 2015
1 parent 6dbd74e commit 7348898
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
Expand Up @@ -29,7 +29,7 @@

public class InvocationSet {

final List<Invocation> invocations;
public final List<Invocation> invocations;

This comment has been minimized.

Copy link
@kares

kares Oct 15, 2015

at least this one should have a public getter instead


InvocationSet(List<Invocation> invocations) {
this.invocations = invocations;
Expand Down
Expand Up @@ -29,7 +29,7 @@

public class MethodData extends InvocationSet {

final int serialNumber;
public final int serialNumber;

MethodData(int serial) {
super(new ArrayList<Invocation>());
Expand Down
Expand Up @@ -107,12 +107,12 @@ public void printProfile(RubyIO out) {
printProfile(new PrintStream(out.getOutStream()));
}

boolean isProfilerInvocation(Invocation inv) {
public boolean isProfilerInvocation(Invocation inv) {
return isThisProfilerInvocation(inv.getMethodSerialNumber()) ||
(inv.getParent() != null && isProfilerInvocation(inv.getParent()));
}

boolean isThisProfilerInvocation(int serial) {
public boolean isThisProfilerInvocation(int serial) {
final String start = PROFILER_START_METHOD;
final String stop = PROFILER_STOP_METHOD;

Expand Down

0 comments on commit 7348898

Please sign in to comment.