Skip to content

Commit f4f0126

Browse files
checkstyle fixes with actual code change
1 parent fc5d93a commit f4f0126

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

tck/src/main/java/org/eclipse/microprofile/openapi/apps/airlines/data/UserData.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
import org.eclipse.microprofile.openapi.apps.airlines.model.User;
2020

2121
public class UserData {
22-
static List<User> users = new ArrayList<User>();
22+
static private List<User> users = new ArrayList<User>();
2323

2424
static {
2525
users.add(createUser(1, "Bob1", "pswd", "Bob", "Smith", "male", 12,

tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/data/PetData.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,8 @@
2323
import org.eclipse.microprofile.openapi.apps.petstore.model.Tag;
2424

2525
public class PetData {
26-
static List<Pet> pets = new ArrayList<Pet>();
27-
static List<Category> categories = new ArrayList<Category>();
26+
static private List<Pet> pets = new ArrayList<Pet>();
27+
static private List<Category> categories = new ArrayList<Category>();
2828

2929
static {
3030
categories.add(createCategory(1, "Dogs"));

tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/resource/PetResource.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@
7777
})
7878
public class PetResource {
7979

80-
static PetData petData = new PetData();
80+
static private PetData petData = new PetData();
8181

8282
@GET
8383
@Path("/{petId}")

tck/src/main/java/org/eclipse/microprofile/openapi/apps/petstore/resource/PetStoreResource.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,8 +59,8 @@
5959
@Extension(name = "x-mp-type1", value = "true")
6060
@Extension(name = "x-mp-type2", value = "false")
6161
public class PetStoreResource {
62-
static StoreData storeData = new StoreData();
63-
static PetData petData = new PetData();
62+
static private StoreData storeData = new StoreData();
63+
static private PetData petData = new PetData();
6464

6565
@GET
6666
@Path("/inventory")

0 commit comments

Comments
 (0)