<NME> PreferencesFragment.java
<BEF> package cgeo.geocaching.settings.fragments;

import android.os.Bundle;

import androidx.preference.PreferenceFragmentCompat;

import cgeo.geocaching.R;

public class PreferencesFragment extends PreferenceFragmentCompat {
    @Override
    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
        setPreferencesFromResource(R.xml.preferences, rootKey);
    }
}

<MSG> fix a couple of Codacy / CheckStyle issues

<DFF> @@ -1,14 +1,14 @@
 package cgeo.geocaching.settings.fragments;
 
+import cgeo.geocaching.R;
+
 import android.os.Bundle;
 
 import androidx.preference.PreferenceFragmentCompat;
 
-import cgeo.geocaching.R;
-
 public class PreferencesFragment extends PreferenceFragmentCompat {
     @Override
-    public void onCreatePreferences(Bundle savedInstanceState, String rootKey) {
+    public void onCreatePreferences(final Bundle savedInstanceState, final String rootKey) {
         setPreferencesFromResource(R.xml.preferences, rootKey);
     }
 }

fix a couple of Codacy / CheckStyle issues