code clean up

This commit is contained in:
madwasp79 2019-07-10 10:16:19 +03:00
parent 765763e023
commit 0f6f33c690

View file

@ -32,7 +32,6 @@ import android.widget.TextView;
import android.widget.Toast; import android.widget.Toast;
import net.osmand.AndroidUtils; import net.osmand.AndroidUtils;
import net.osmand.PlatformUtil;
import net.osmand.binary.BinaryMapIndexReader; import net.osmand.binary.BinaryMapIndexReader;
import net.osmand.data.Amenity; import net.osmand.data.Amenity;
import net.osmand.data.LatLon; import net.osmand.data.LatLon;
@ -66,7 +65,6 @@ import java.util.Comparator;
import java.util.LinkedList; import java.util.LinkedList;
import java.util.List; import java.util.List;
import java.util.Map; import java.util.Map;
import org.apache.commons.logging.Log;
import static net.osmand.plus.mapcontextmenu.builders.cards.ImageCard.GetImageCardsTask.GetImageCardsListener; import static net.osmand.plus.mapcontextmenu.builders.cards.ImageCard.GetImageCardsTask.GetImageCardsListener;
@ -76,8 +74,6 @@ public class MenuBuilder {
public static final int TITLE_LIMIT = 60; public static final int TITLE_LIMIT = 60;
protected static final String[] arrowChars = new String[]{"=>"," - "}; protected static final String[] arrowChars = new String[]{"=>"," - "};
private static final Log LOG = PlatformUtil.getLog(MenuBuilder.class);
protected MapActivity mapActivity; protected MapActivity mapActivity;
protected MapContextMenu mapContextMenu; protected MapContextMenu mapContextMenu;
protected OsmandApplication app; protected OsmandApplication app;
@ -197,7 +193,6 @@ public class MenuBuilder {
} }
public void setCollapsed(boolean collapsed) { public void setCollapsed(boolean collapsed) {
if (collapsedPref != null) { if (collapsedPref != null) {
collapsedPref.set(collapsed); collapsedPref.set(collapsed);
} else { } else {
@ -322,8 +317,6 @@ public class MenuBuilder {
// buildAfter(view); // buildAfter(view);
} }
private boolean showTransportRoutes() { private boolean showTransportRoutes() {
return showLocalTransportRoutes() || showNearbyTransportRoutes(); return showLocalTransportRoutes() || showNearbyTransportRoutes();
} }
@ -467,7 +460,6 @@ public class MenuBuilder {
} }
protected void buildInternal(View view) { protected void buildInternal(View view) {
} }
protected void buildTopInternal(View view) { protected void buildTopInternal(View view) {