Skip to content

Commit 2820cfd

Browse files
Kevin Lidaniel-j-h
andauthored
Fixes docstring issues for sources (#556)
* Fixes docstring issues for sources * Format codes Co-authored-by: daniel-j-h <daniel@trvx.org>
1 parent 7e6c948 commit 2820cfd

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

  • extension-style/src/main/java/com/mapbox/maps/extension/style/sources
  • sdk-base/src/main/java/com/mapbox/maps/extension/style

extension-style/src/main/java/com/mapbox/maps/extension/style/sources/SourceExt.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ inline fun <reified T : Source> StyleManagerInterface.getSourceAs(sourceId: Stri
5252
/**
5353
* Extension function to add a Source provided by the Style Extension to the Style.
5454
*
55-
* @param source The light to be added
55+
* @param source The source to be added
5656
*/
5757
fun StyleInterface.addSource(source: StyleContract.StyleSourceExtension) {
5858
source.bindTo(this)

sdk-base/src/main/java/com/mapbox/maps/extension/style/StyleContract.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -85,11 +85,11 @@ interface StyleContract {
8585
}
8686

8787
/**
88-
* Define the interfaces for the Light plugin.
88+
* Define the interfaces for the source plugin.
8989
*/
9090
fun interface StyleSourceExtension {
9191
/**
92-
* Add the source to the Style.
92+
* Bind the source to the Style.
9393
*
9494
* @param delegate The style delegate
9595
*/
@@ -101,7 +101,7 @@ interface StyleContract {
101101
*/
102102
fun interface StyleImageExtension {
103103
/**
104-
* Add the image to the Style.
104+
* Bind the image to the Style.
105105
*
106106
* @param delegate The style delegate
107107
*/

0 commit comments

Comments
 (0)