Skip to content

Commit

Permalink
Applications are required to have a public no-arg constructor. The Ec…
Browse files Browse the repository at this point in the history
…hoApplication must be public.

Signed-off-by: James R. Perkins <[email protected]>
  • Loading branch information
jamezp committed Mar 3, 2022
1 parent 38f6c4b commit 0ec6697
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ static void disposeClient() {
}

@ApplicationPath("")
private static final class StatusApplication extends Application {
public static final class StatusApplication extends Application {

@Override
public Set<Class<?>> getClasses() {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -162,7 +162,7 @@ public final void setSeenBy(final String seenBy) {
}

@ApplicationPath("")
private static final class EchoApplication extends Application {
public static final class EchoApplication extends Application {
@Override
public final Set<Class<?>> getClasses() {
return Collections.singleton(EchoResource.class);
Expand Down

0 comments on commit 0ec6697

Please sign in to comment.