mirror of
https://github.com/commons-app/apps-android-commons.git
synced 2025-10-30 06:13:54 +01:00
Replace explicit type with diamond operator
This commit is contained in:
parent
126a823fb5
commit
d866ab3e07
16 changed files with 43 additions and 43 deletions
|
|
@ -21,7 +21,7 @@ public class NearbyPlaces {
|
|||
}
|
||||
else {
|
||||
try {
|
||||
places = new ArrayList<Place>();
|
||||
places = new ArrayList<>();
|
||||
StrictMode.ThreadPolicy policy = new StrictMode.ThreadPolicy.Builder().permitAll().build();
|
||||
StrictMode.setThreadPolicy(policy);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue