Skip to content

Sample PR to demonstrate automatic ktlint with Danger #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kafumi
Copy link
Owner

@kafumi kafumi commented Sep 30, 2017

No description provided.

}

private fun updateDisplayTime() {
timeText.text=DateFormat.getTimeFormat(this).format(Date())
Copy link

@kafumi-bot kafumi-bot Sep 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Missing spacing around “=”

private val timeTicker = object : BroadcastReceiver() {
override fun onReceive(context: Context, intent: Intent) {
if (intent.action == Intent.ACTION_TIME_TICK) {
updateDisplayTime();
Copy link

@kafumi-bot kafumi-bot Sep 30, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Unnecessary semicolon

@kafumi kafumi force-pushed the ktlint-warning-sample branch from 6396078 to 561d7b5 Compare December 10, 2017 09:23
@kafumi kafumi force-pushed the ktlint-warning-sample branch from 561d7b5 to 1cbee7f Compare December 17, 2017 04:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants