Skip to content
This repository has been archived by the owner on Jun 4, 2019. It is now read-only.

Commit

Permalink
Set methods to public to use them in Single Cell Atlas
Browse files Browse the repository at this point in the history
  • Loading branch information
alfonsomunozpomer committed May 13, 2017
1 parent f4a34ae commit 096cfe2
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
import java.util.Locale;

public class ExperimentInfoListService {
private static final DateTimeFormatter DATE_FORMAT = DateTimeFormat.forPattern("dd-MM-yyyy");
public static final DateTimeFormatter DATE_FORMAT = DateTimeFormat.forPattern("dd-MM-yyyy");

private final ExperimentTrader experimentTrader;
private final Collection<ExperimentType> experimentTypes;
Expand Down Expand Up @@ -86,11 +86,11 @@ public ImmutableMap<String, Object> getLatestExperimentsListAttributes() {
return cached;
}

private int fetchCount() {
public int fetchCount() {
return listPublicExperiments().size();
}

private List<ExperimentInfo> fetchLatest() {
public List<ExperimentInfo> fetchLatest() {
ImmutableList<ExperimentInfo> l =
FluentIterable.from(listPublicExperiments()).toSortedList(new Comparator<ExperimentInfo>() {
@Override
Expand Down

0 comments on commit 096cfe2

Please sign in to comment.