Skip to content

Commit

Permalink
whoops rest of code for sorting usecases
Browse files Browse the repository at this point in the history
  • Loading branch information
eostermueller committed Apr 26, 2020
1 parent 50601bb commit 88dd9e3
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,6 @@ public interface Builder {

ProcessingUnitImpl createProcessingUnit(AnnotationInfo annotationInfo, ClassInfo classInfo, MethodInfo methodInfo) throws Snail4jWorkloadException, OnlyStringAndLongAndIntAreAllowedParameterTypes;

// Descriptor createDescriptor(AnnotationInfo annotationInfo) throws HavocException;

MethodWrapper createMethodWrapper(Method method);

MethodParameter createParameter(Method method, MethodParameterInfo parm)
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,17 @@
package com.github.eostermueller.snail4j.workload.model;

import java.util.Comparator;
import java.util.List;
import java.util.concurrent.CopyOnWriteArrayList;

import com.github.eostermueller.snail4j.workload.Snail4jWorkloadException;

public class UseCases {

public UseCases sort(Comparator<UseCase> c) {
useCases.sort(c);
return this;
}
private List<UseCase> useCases = new CopyOnWriteArrayList<UseCase>();

/* (non-Javadoc)
Expand Down

0 comments on commit 88dd9e3

Please sign in to comment.