Skip to content

Commit a7bc145

Browse files
committed
Fixed lint issues.
1 parent 7fa2df5 commit a7bc145

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

aztec/src/main/kotlin/org/wordpress/aztec/AztecText.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,7 @@ open class AztecText : AppCompatEditText, TextWatcher, UnknownHtmlSpan.OnUnknown
491491
resources.getDimensionPixelSize(R.dimen.preformat_leading_margin)),
492492
styles.getColor(R.styleable.AztecText_preformatBorderColor, 0),
493493
styles.getDimensionPixelSize(R.styleable.AztecText_preformatBorderRadius, 0),
494-
styles.getDimensionPixelSize(R.styleable.AztecText_preformatBorderThickness, 0),
494+
styles.getDimensionPixelSize(R.styleable.AztecText_preformatBorderThickness, 0)
495495
),
496496
alignmentRendering = alignmentRendering,
497497
exclusiveBlockStyles = BlockFormatter.ExclusiveBlockStyles(styles.getBoolean(R.styleable.AztecText_exclusiveBlocks, false), verticalParagraphPadding),

aztec/src/main/kotlin/org/wordpress/aztec/spans/AztecPreformatSpan.kt

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,6 @@ open class AztecPreformatSpan(
8484
strokeCap = Paint.Cap.ROUND
8585
}
8686

87-
88-
8987
override fun drawBackground(canvas: Canvas, paint: Paint, left: Int, right: Int, top: Int, baseline: Int,
9088
bottom: Int, text: CharSequence?, start: Int, end: Int, lnum: Int) {
9189

0 commit comments

Comments
 (0)