Skip to content

Commit 1011a4d

Browse files
committed
Fixed typo and updated gradle
1 parent c048e62 commit 1011a4d

File tree

5 files changed

+7
-7
lines changed

5 files changed

+7
-7
lines changed

build.gradle

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ buildscript {
77
jcenter()
88
}
99
dependencies {
10-
classpath 'com.android.tools.build:gradle:3.0.0-beta1'
10+
classpath 'com.android.tools.build:gradle:3.0.0-beta2'
1111
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:$kotlin_version"
1212
classpath "com.dicedmelon.gradle:jacoco-android:0.1.1"
1313

cache/src/main/java/org/buffer/android/boilerplate/cache/BufferooCacheImpl.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ import javax.inject.Inject
1919
* operations in which data store implementation layers can carry out.
2020
*/
2121
class BufferooCacheImpl @Inject constructor(dbOpenHelper: DbOpenHelper,
22-
private val entityapper: BufferooEntityMapper,
22+
private val entityMapper: BufferooEntityMapper,
2323
private val mapper: BufferooMapper,
2424
private val preferencesHelper: PreferencesHelper):
2525
BufferooCache {
@@ -59,7 +59,7 @@ class BufferooCacheImpl @Inject constructor(dbOpenHelper: DbOpenHelper,
5959
database.beginTransaction()
6060
try {
6161
bufferoos.forEach {
62-
saveBufferoo(entityapper.mapToCached(it))
62+
saveBufferoo(entityMapper.mapToCached(it))
6363
}
6464
database.setTransactionSuccessful()
6565
} finally {
@@ -79,7 +79,7 @@ class BufferooCacheImpl @Inject constructor(dbOpenHelper: DbOpenHelper,
7979

8080
while (updatesCursor.moveToNext()) {
8181
val cachedBufferoo = mapper.parseCursor(updatesCursor)
82-
bufferoos.add(entityapper.mapFromCached(cachedBufferoo))
82+
bufferoos.add(entityMapper.mapFromCached(cachedBufferoo))
8383
}
8484

8585
updatesCursor.close()

cache/src/main/java/org/buffer/android/boilerplate/cache/PreferencesHelper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ import javax.inject.Inject
77
import javax.inject.Singleton
88

99
/**
10-
* General Preferences Helper class, used for storing prefence values using the Preference API
10+
* General Preferences Helper class, used for storing preference values using the Preference API
1111
*/
1212
@Singleton
1313
class PreferencesHelper @Inject constructor(context: Context) {

data/src/main/java/org/buffer/android/boilerplate/data/mapper/BufferooMapper.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import javax.inject.Inject
66

77

88
/**
9-
* Map a [BufferooEntity] to and froma a [Bufferoo] instance when data is moving between
9+
* Map a [BufferooEntity] to and from a [Bufferoo] instance when data is moving between
1010
* this later and the Domain layer
1111
*/
1212
class BufferooMapper @Inject constructor(): Mapper<BufferooEntity, Bufferoo> {

domain/src/main/java/org/buffer/android/boilerplate/domain/repository/BufferooRepository.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import io.reactivex.Single
55
import org.buffer.android.boilerplate.domain.model.Bufferoo
66

77
/**
8-
* Interface defining methods for how the data layer can pass data to and from the Domain alyer.
8+
* Interface defining methods for how the data layer can pass data to and from the Domain layer.
99
* This is to be implemented by the data layer, setting the requirements for the
1010
* operations that need to be implemented
1111
*/

0 commit comments

Comments
 (0)