Skip to content

Commit 2c76f2c

Browse files
committed
Update Checkstyle to 6.10.1 and plugin to 2.16
1 parent 997c324 commit 2c76f2c

26 files changed

Lines changed: 29 additions & 24 deletions

File tree

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/EBean.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@
9494
/**
9595
* The scope of an enhanced bean.
9696
*/
97-
public enum Scope {
97+
enum Scope {
9898

9999
/**
100100
* A new instance of the bean is created each time it is needed.

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/Receiver.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
/**
129129
* Represents event pairs for BroadcastReceiver registration/unregistration.
130130
*/
131-
public enum RegisterAt {
131+
enum RegisterAt {
132132
/**
133133
* Register in the onCreate method, unregister in the onDestroy method.
134134
*/

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/UiThread.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -147,7 +147,7 @@
147147
/**
148148
* Indicates the propagation behavior of the UiThread annotated method.
149149
*/
150-
public enum Propagation {
150+
enum Propagation {
151151

152152
/**
153153
* The method will always call the Handler.

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/WakeLock.java‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@
9090
* A convenience wrapper enum for the
9191
* {@link android.os.PowerManager.WakeLock WakeLock} level integer values.
9292
*/
93-
public enum Level {
93+
enum Level {
9494
/**
9595
* Represents {@link android.os.PowerManager#FULL_WAKE_LOCK}.
9696
*/
@@ -116,7 +116,7 @@ public enum Level {
116116
* A convenience wrapper enum for the
117117
* {@link android.os.PowerManager.WakeLock WakeLock} flag integer values.
118118
*/
119-
public enum Flag {
119+
enum Flag {
120120

121121
/**
122122
* Represents {@link android.os.PowerManager#ACQUIRE_CAUSES_WAKEUP}.

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/annotations/sharedpreferences/SharedPref.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@
7474
/**
7575
* Represents the scope of a SharedPreference.
7676
*/
77-
public enum Scope {
77+
enum Scope {
7878
/**
7979
* The default shared SharedPreference.
8080
*/

‎AndroidAnnotations/androidannotations-core/androidannotations-api/src/main/java/org/androidannotations/api/ViewServer.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -574,7 +574,7 @@ private class ViewServerWorker implements Runnable, WindowListener {
574574

575575
private final Object[] mLock = new Object[0];
576576

577-
public ViewServerWorker(Socket client) {
577+
private ViewServerWorker(Socket client) {
578578
mClient = client;
579579
mNeedWindowListUpdate = false;
580580
mNeedFocusedWindowUpdate = false;

‎AndroidAnnotations/androidannotations-core/androidannotations-test/src/test/java/org/robolectric/ParameterizedRobolectricTestRunnerWorkaround.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ protected List<Runner> getChildren() {
8080

8181
private static class ClassLoaderCreatorRobolectricTestRunner extends RobolectricTestRunner {
8282

83-
public ClassLoaderCreatorRobolectricTestRunner(Class<?> testClass) throws Exception {
83+
ClassLoaderCreatorRobolectricTestRunner(Class<?> testClass) throws Exception {
8484
super(testClass);
8585

8686
Map<Class<? extends RobolectricTestRunner>, EnvHolder> envHoldersByTestRunner = field("envHoldersByTestRunner") //

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/handler/OnActivityResultHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ public void process(Element element, HasOnActivityResult holder) throws Exceptio
113113

114114
private static class ExtraHandler extends ExtraParameterHandler {
115115

116-
public ExtraHandler(AndroidAnnotationsEnvironment environment) {
116+
ExtraHandler(AndroidAnnotationsEnvironment environment) {
117117
super(OnActivityResult.Extra.class, OnActivityResult.class, environment);
118118
}
119119

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/handler/ReceiverActionHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ private String getInvocationName(JFieldVar field) {
153153

154154
private static class ExtraHandler extends ExtraParameterHandler {
155155

156-
public ExtraHandler(AndroidAnnotationsEnvironment environment) {
156+
ExtraHandler(AndroidAnnotationsEnvironment environment) {
157157
super(ReceiverAction.Extra.class, ReceiverAction.class, environment);
158158
}
159159

‎AndroidAnnotations/androidannotations-core/androidannotations/src/main/java/org/androidannotations/handler/ReceiverHandler.java‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -167,7 +167,7 @@ private void registerAndUnregisterReceiver(HasReceiverRegistration holder, Recei
167167

168168
private static class ExtraHandler extends ExtraParameterHandler {
169169

170-
public ExtraHandler(AndroidAnnotationsEnvironment environment) {
170+
ExtraHandler(AndroidAnnotationsEnvironment environment) {
171171
super(Receiver.Extra.class, Receiver.class, environment);
172172
}
173173

0 commit comments

Comments
 (0)