Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
Fix compilation error
Browse files Browse the repository at this point in the history
  • Loading branch information
seanf committed Apr 1, 2016
1 parent e8c5db5 commit 3de576a
Showing 1 changed file with 21 additions and 15 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,21 +31,27 @@
* href="mailto:[email protected]">[email protected]</a>
*/
public class MockResourcesApplication extends Application {
private static final ImmutableSet<Class<?>> services = ImmutableSet
.of(
MockVersionResource.class,
MockSourceDocResource.class,
MockTranslatedDocResource.class,
MockStatisticsResource.class,
MockFileResource.class,
MockProjectsResource.class,
MockProjectIterationResource.class,
MockProjectResource.class,
MockGlossaryResource.class,
MockCopyTransResource.class,
MockAccountResource.class,
MockAsynchronousProcessResource.class
);

private static final ImmutableSet<Class<?>> services;

static {
ImmutableSet.Builder<Class<?>> builder = ImmutableSet.builder();
builder.add(
MockVersionResource.class,
MockSourceDocResource.class,
MockTranslatedDocResource.class,
MockStatisticsResource.class,
MockFileResource.class,
MockProjectsResource.class,
MockProjectIterationResource.class,
MockProjectResource.class,
MockGlossaryResource.class,
MockCopyTransResource.class,
MockAccountResource.class,
MockAsynchronousProcessResource.class
);
services = builder.build();
}

@Override
public Set<Class<?>> getClasses() {
Expand Down

0 comments on commit 3de576a

Please sign in to comment.