Skip to content

Commit b69b4dc

Browse files
committed
bump to 1.0.3
1 parent b978090 commit b69b4dc

File tree

2 files changed

+6
-4
lines changed

2 files changed

+6
-4
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -297,8 +297,8 @@ android {
297297
298298
dependencies {
299299
...
300-
implementation 'com.github.android-promise.database:database:1.0.3-alpha8'
301-
kapt 'com.github.android-promise.database:compiler:1.0.3-alpha8'
300+
implementation 'com.github.android-promise.database:database:1.0.3'
301+
kapt 'com.github.android-promise.database:compiler:1.0.3'
302302
implementation 'com.github.android-promise:commons:1.1-alpha03'
303303
}
304304
```

compiler/src/main/java/promise/database/compiler/EntityAnnotatedProcessor.kt

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,12 @@ class EntityAnnotatedProcessor(private val processingEnv: ProcessingEnvironment,
5959
if (!entities.map { it.asType().toString() }.contains(element.asType().toString()))
6060
LogUtil.e(Exception("Entity class ${element.simpleName} is not registered in database"), database)
6161

62-
if (ElementFilter.methodsIn(element.enclosedElements).none {
62+
/**
63+
if (ElementFilter.methodsIn(element.enclosedElements).none {
6364
it.kind == ElementKind.CONSTRUCTOR && it.parameters.isEmpty()
6465
}) LogUtil.e(Exception("$element must have a no args constructor"), element)
65-
66+
*/
67+
6668
val className = element.simpleName.toString()
6769
val pack = processingEnv.elementUtils.getPackageOf(element).toString()
6870

0 commit comments

Comments
 (0)