-
-
Notifications
You must be signed in to change notification settings - Fork 86
Checking jenkins to github commenter functionality for androidlint reports #735
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -75,6 +75,9 @@ public void onClickNext(View next) { | |
String enteredId = editTxtLrzId.getText() | ||
.toString() | ||
.toLowerCase(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reporter: ANDROIDLINT DefaultLocale: Implied default locale in case conversion <1326609218> |
||
String punishMe = editTxtLrzId.getText() | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reporter: PMD Avoid declaring a variable if it is unreferenced before a possible exit point. Optimization https://pmd.github.io/pmd-5.6.1/pmd-java/rules/java/optimizations.html#PrematureDeclaration <-1744084493> There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reporter: PMD Avoid unused local variables such as 'punishMe'. Unused Code https://pmd.github.io/pmd-5.6.1/pmd-java/rules/java/unusedcode.html#UnusedLocalVariable <273573064> There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reporter: PMD When doing a String.toLowerCase()/toUpperCase() call, use a Locale Design https://pmd.github.io/pmd-5.6.1/pmd-java/rules/java/design.html#UseLocaleWithCaseConversions <-1256775008> |
||
.toString() | ||
.toLowerCase(); | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Reporter: ANDROIDLINT DefaultLocale: Implied default locale in case conversion <967717779> |
||
|
||
// check if lrz could be valid? | ||
if (!enteredId.matches(Const.TUM_ID_PATTERN)) { | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Reporter: PMD
Rule: UseLocaleWithCaseConversions
Severity: WARN
File: app/src/main/java/de/tum/in/tumcampusapp/component/ui/onboarding/WizNavStartActivity.java L75
When doing a String.toLowerCase()/toUpperCase() call, use a Locale
Design https://pmd.github.io/pmd-5.6.1/pmd-java/rules/java/design.html#UseLocaleWithCaseConversions
<-139688394>