Skip to content

Commit

Permalink
Fix javadocs.
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesbognar committed Sep 15, 2019
1 parent 2c41f6b commit f887f89
Show file tree
Hide file tree
Showing 7 changed files with 8 additions and 6 deletions.
Expand Up @@ -377,8 +377,6 @@ public Ok deleteUser(
* @param password The password for login in clear text.
* @param rateLimit Calls per hour allowed by the user.
* @param expiresAfter The <bc>Expires-After</bc> response header.
* @param req The servlet request.
* @param res The servlet response.
* @return {@link Ok} if successful.
* @throws InvalidLogin Login was unsuccessful.
* @throws NotAcceptable Unsupported <c>Accept</c> header specified.
Expand Down
Expand Up @@ -44,7 +44,6 @@ public class CreatePet {
* @param price The <bc>price</bc> property value.
* @param species The <bc>species</bc> property value.
* @param tags The <bc>tags</bc> property value.
* @param photo The <bc>photo</bc> property value.
*/
public CreatePet(String name, float price, Species species, String[] tags) {
this.name = name;
Expand Down
Expand Up @@ -19,6 +19,7 @@
* <li class='extlink'>{@source}
* </ul>
*/
@SuppressWarnings("javadoc")
public enum Species {
BIRD, CAT, DOG, FISH, MOUSE, RABBIT, SNAKE;
}
Expand Up @@ -29,6 +29,7 @@
* <p>
* The remote proxy allows you to make REST calls against our REST interface through Java interface method calls.
*/
@SuppressWarnings("javadoc")
public class Main {

private static final JsonParser JSON_PARSER = JsonParser.create().ignoreUnknownBeanProperties().build();
Expand Down Expand Up @@ -59,7 +60,6 @@ public static void main(String[] args) {
* Initialize the petstore database by using a remote resource interface against our REST.
*
* @param w Console output.
* @return This object (for method chaining).
* @throws ParseException Malformed input encountered.
* @throws IOException Thrown by client stream.
*/
Expand Down
Expand Up @@ -20,9 +20,10 @@
* Entry point for PetStore application.
*/
@SpringBootApplication
@SuppressWarnings("javadoc")
public class App {

public static void main(String[] args) {
public static void main(String[] args) {
new App().start(args);
}

Expand Down
Expand Up @@ -19,6 +19,7 @@
import org.springframework.context.annotation.*;
import org.springframework.web.filter.*;

@SuppressWarnings("javadoc")
@Configuration
public class AppConfiguration {

Expand Down
Expand Up @@ -170,6 +170,7 @@ protected <T> void remove(EntityManager em, T t) {
* @param query The JPA query.
* @param t The bean type.
* @param searchArgs Optional search arguments.
* @param pageArgs Optional paging arguments.
* @return The results.
*/
protected <T> List<T> query(EntityManager em, String query, Class<T> t, SearchArgs searchArgs, PageArgs pageArgs) {
Expand All @@ -182,12 +183,13 @@ protected <T> List<T> query(EntityManager em, String query, Class<T> t, SearchAr
}

/**
* Same as {@link #query(EntityManager,String,Class,SearchArgs)} but uses a new entity manager.
* Same as {@link #query(EntityManager,String,Class,SearchArgs,PageArgs)} but uses a new entity manager.
*
* @param <T> The bean type.
* @param query The JPA query.
* @param t The bean type.
* @param searchArgs Optional search arguments.
* @param pageArgs Optional paging arguments.
* @return The results.
*/
protected <T> List<T> query(String query, Class<T> t, SearchArgs searchArgs, PageArgs pageArgs) {
Expand Down

0 comments on commit f887f89

Please sign in to comment.