Skip to content

Commit

Permalink
Merge remote-tracking branch 'origin/master'
Browse files Browse the repository at this point in the history
# Conflicts:
#	build.gradle
#	gradle/wrapper/gradle-wrapper.properties
  • Loading branch information
Dan committed Oct 26, 2019
2 parents 79789b4 + ea7dc5c commit 31a4ac2
Show file tree
Hide file tree
Showing 6 changed files with 3 additions and 8 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ captures/

# IntelliJ
*.iml
.idea/
.idea/workspace.xml
.idea/tasks.xml
.idea/gradle.xml
Expand Down
2 changes: 0 additions & 2 deletions app/src/main/java/com/mdgd/j_commons/dto/Quake.kt
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,4 @@ class Quake {
result = 31 * result + (title?.hashCode() ?: 0)
return result
}


}
4 changes: 1 addition & 3 deletions app/src/main/java/com/mdgd/j_commons/dto/SearchParams.kt
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ class SearchParams(val query: String = "", val stDate: Long = DEF_TIME,
get() = (TextUtils.isEmpty(query) && stDate == DEF_TIME
&& TextUtils.isEmpty(stMag) && endDate == -DEF_TIME && TextUtils.isEmpty(endMag))

fun isRegular(): Boolean {
return (TextUtils.isEmpty(query) && stDate != DEF_TIME
fun isRegular(): Boolean = (TextUtils.isEmpty(query) && stDate != DEF_TIME
&& TextUtils.isEmpty(stMag) && endDate == DEF_TIME && TextUtils.isEmpty(endMag))
}

companion object {
const val DEF_TIME = -1L
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
buildscript {
ext.kotlin_version = '1.3.50'
ext.support_ver = '1.1.0'
ext.gcm_ver = '16.1.0'
ext.gcm_ver = '17.0.0'
ext.retrofit_ver = '2.4.0'
ext.androidx = '1.1.0'
ext.androidx_recycler = '1.1.0-beta05'
Expand Down
1 change: 0 additions & 1 deletion result/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

}

dependencies {}
1 change: 0 additions & 1 deletion retrofit_support/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ android {
proguardFiles getDefaultProguardFile('proguard-android-optimize.txt'), 'proguard-rules.pro'
}
}

}

dependencies {
Expand Down

0 comments on commit 31a4ac2

Please sign in to comment.