You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Oct 12, 2022. It is now read-only.
Use explicit scoping instead of the default package private level.
34
35 public class Geolocation extends CordovaPlugin {
36
37 String TAG = "GeolocationPlugin";
38 CallbackContext context;
39
Why is this an issue?
Use explicit scoping instead of the default package private level. What this means it that you should do is make all the fields within your classes private to enforce better encapsulation.
Ex:
public class Foo {
/* private missing */ Object bar;
}
Use explicit scoping instead of the default package private level.
Why is this an issue?
Use explicit scoping instead of the default package private level. What this means it that you should do is make all the fields within your classes private to enforce better encapsulation.
Ex:
Source
Related code pattern
Enforces the use of explicit scoping
Use explicit scoping instead of the default package private level.
The text was updated successfully, but these errors were encountered: