Skip to content

Commit

Permalink
very minor ktlint demanded changes
Browse files Browse the repository at this point in the history
  • Loading branch information
matkoniecz committed Dec 25, 2022
1 parent cbae8e1 commit fe90608
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,6 @@ private fun createDirectionForSide(
return explicitDirection ?: defaultDirection
}


/** Returns the cycleway value using the given tags for the given side using other tags that imply
* that a cycleway may be there (or not there) */
private fun createCyclewayForSideFallback(
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
package de.westnordost.streetcomplete.osm.cycleway_separate

import de.westnordost.streetcomplete.osm.cycleway_separate.SeparateCycleway.*
import de.westnordost.streetcomplete.osm.Tags
import de.westnordost.streetcomplete.osm.cycleway_separate.SeparateCycleway.*
import de.westnordost.streetcomplete.osm.hasCheckDateForKey
import de.westnordost.streetcomplete.osm.sidewalk.KNOWN_SIDEWALK_KEYS
import de.westnordost.streetcomplete.osm.sidewalk.Sidewalk
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@ package de.westnordost.streetcomplete.osm.sidewalk

import de.westnordost.streetcomplete.osm.Tags
import de.westnordost.streetcomplete.osm.expandSides
import de.westnordost.streetcomplete.osm.sidewalk.Sidewalk.*
import de.westnordost.streetcomplete.osm.hasCheckDateForKey
import de.westnordost.streetcomplete.osm.mergeSides
import de.westnordost.streetcomplete.osm.sidewalk.Sidewalk.*
import de.westnordost.streetcomplete.osm.updateCheckDateForKey

fun LeftAndRightSidewalk.applyTo(tags: Tags) {
Expand Down Expand Up @@ -89,4 +89,3 @@ private val Sidewalk.osmValue: String get() = when (this) {
throw IllegalArgumentException("Attempting to tag invalid sidewalk")
}
}

Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,8 @@ import de.westnordost.streetcomplete.osm.cycleway.asDialogItem
import de.westnordost.streetcomplete.osm.cycleway.asStreetSideItem
import de.westnordost.streetcomplete.osm.cycleway.createCyclewaySides
import de.westnordost.streetcomplete.osm.cycleway.getSelectableCycleways
import de.westnordost.streetcomplete.osm.cycleway.wasNoOnewayForCyclistsButNowItIs
import de.westnordost.streetcomplete.osm.cycleway.selectableOrNullValues
import de.westnordost.streetcomplete.osm.cycleway.wasNoOnewayForCyclistsButNowItIs
import de.westnordost.streetcomplete.osm.isOneway
import de.westnordost.streetcomplete.osm.isReversedOneway
import de.westnordost.streetcomplete.quests.AStreetSideSelectForm
Expand Down

0 comments on commit fe90608

Please sign in to comment.