Code cleanup (#1461)

* Code cleanup

* Fix flux tests

* Fix checkstyle errors

* Fix compile error
This commit is contained in:
Ilkka Seppälä authored and GitHub committed 2020-07-30 20:28:47 +03:00
1 parent 5381387026
commit 417f21ed3d
243 files changed
+1154 -1162

No files matched your search

@@ -42,7 +42,7 @@ import java.util.Properties;
*/
public class PropertiesFeatureToggleVersion implements Service {
private boolean isEnhanced;
private final boolean isEnhanced;
/**
* Creates an instance of {@link PropertiesFeatureToggleVersion} using the passed {@link
@@ -29,7 +29,7 @@ package com.iluwatar.featuretoggle.user;
*/
public class User {
private String name;
private final String name;
/**
* Default Constructor setting the username.
@@ -35,8 +35,8 @@ import java.util.List;
*/
public class UserGroup {
private static List<User> freeGroup = new ArrayList<>();
private static List<User> paidGroup = new ArrayList<>();
private static final List<User> freeGroup = new ArrayList<>();
private static final List<User> paidGroup = new ArrayList<>();
/**