小编lob*_*lob的帖子

Android:只允许 1-9 的数字的 Edittext

我正在寻找一种方法,以便用户只能使用编辑文本输入 1-9 之间的数字。不应显示任何异常。输入的数字不应超过一位。

java android android-edittext

7
推荐指数
1
解决办法
7468
查看次数

文件不以换行符结尾 [NewlineAtEndOfFile]

当尝试在我的项目上使用 mvn clean install 时,我收到这些错误:

[ERROR] C:\Users\lob\Downloads\zanata-platform-platform-4.0.0\zanata-platform-platform-4.0.0\parent\eclipse-code-formatter-js.xml:0: File does not end with a newline. [NewlineAtEndOfFile]
[ERROR] C:\Users\lob\Downloads\zanata-platform-platform-4.0.0\zanata-platform-platform-4.0.0\parent\eclipse-code-formatter.xml:0: File does not end with a newline. [NewlineAtEndOfFile]
[ERROR] C:\Users\lob\Downloads\zanata-platform-platform-4.0.0\zanata-platform-platform-4.0.0\parent\pom.xml:0: File does not end with a newline. [NewlineAtEndOfFile]
[ERROR] C:\Users\lob\Downloads\zanata-platform-platform-4.0.0\zanata-platform-platform-4.0.0\parent\README.txt:0: File does not end with a newline. [NewlineAtEndOfFile]
Audit done.
[INFO] There are 4 errors reported by Checkstyle 7.2 with zanata-build-tools/checkstyle.xml ruleset.
[ERROR] eclipse-code-formatter-js.xml:[0] (misc) NewlineAtEndOfFile: File does not end with a newline.
[ERROR] eclipse-code-formatter.xml:[0] (misc) NewlineAtEndOfFile: File does not end with a …
Run Code Online (Sandbox Code Playgroud)

java eclipse newline file checkstyle

3
推荐指数
1
解决办法
2万
查看次数

标签 统计

java ×2

android ×1

android-edittext ×1

checkstyle ×1

eclipse ×1

file ×1

newline ×1