Commit Graph

29 Commits

Author SHA1 Message Date
ByteHamster
114a2c192c Make checkstyle CI faster 2022-01-16 11:23:29 +01:00
ByteHamster
9c01712276 Move more checkstyle checks from 'new code' style to main style 2022-01-15 12:57:23 +01:00
ByteHamster
849bf4ad85
Rewrite download request creation (#5530)
Android has a limit on the size of Intent parameters. When enqueuing
a huge number of items, it just ignored the argument and did not call
onNewIntent. We now load the list over in DownloadService.
2022-01-06 14:36:11 +01:00
seeto
dab44b6843
Rename folder to tag (#5381) 2021-10-02 17:13:23 +02:00
ByteHamster
ca64739f36 Moved media file parser to its own module 2021-08-28 10:59:26 +02:00
ByteHamster
ba66ae7633 Moved model to its own module 2021-04-22 23:17:11 +02:00
ByteHamster
998535515b Make AntennaPod pass the medium SpotBugs findings 2021-03-28 22:32:40 +02:00
ByteHamster
71184ee5d4 Fixed SpotBugs violations, so that at least the most severe checks pass 2021-03-27 20:44:35 +01:00
ByteHamster
3946f986d7 Add SpotBugs CI check 2021-03-27 18:45:17 +01:00
ByteHamster
f62a6b808e Only store content_encoded or description 2021-03-04 19:47:48 +01:00
Herbert Reiter
3e56e1bd64 Add Checkstyle rule to check for unused imports 2020-12-14 23:07:44 +01:00
ByteHamster
6d3cc1a9da Checkstyle fixes 2020-03-30 14:37:27 +02:00
ByteHamster
6a7375dd9b Added diff-checkstyle 2020-03-30 12:06:16 +02:00
ByteHamster
9e99b81f1e Enabled more checkstyle rules 2020-03-18 20:17:51 +01:00
ByteHamster
be076be737 Cleaned up checkstyle file a bit 2020-02-03 22:18:41 +01:00
ByteHamster
719af170a7 Enforce SeparatorWrap 2020-02-02 18:42:10 +01:00
ByteHamster
b656cb91a2 Enforce MethodParamPad 2020-02-02 18:42:06 +01:00
ByteHamster
8f08bd1f6d Enforce method names 2020-02-02 17:48:30 +01:00
ByteHamster
b2fb239853 Enforce valid javadoc 2020-02-02 17:48:30 +01:00
ByteHamster
26e91c0b81 Avoid too much nesting 2019-12-02 10:30:49 +01:00
H. Lehmann
58764f7ccb
Merge pull request #3549 from ByteHamster/checkstyle-whitespace
Checkstyle: whitespace after comma and cast
2019-10-23 21:21:26 +02:00
ByteHamster
6017e28787 Enforcing whitespace after comma 2019-10-23 20:50:45 +02:00
ByteHamster
2fb0d637a1 Enforce NoWhitespaceBefore checkstyle 2019-10-22 16:57:05 +02:00
ByteHamster
cc52fa04fa Enforce MultipleVariableDeclarations checkstyle 2019-10-22 16:53:35 +02:00
ByteHamster
6a4754922a Added more rules that we already fulfill 2019-10-22 16:50:04 +02:00
ByteHamster
1b61057dff Do not enforce Google checkstlye import order
The IntelliJ/AS default is different, so this would be a problem for most new developers.
Additionally, there definitely are more important things to enforce.
2019-10-22 16:36:51 +02:00
ByteHamster
5f75536ee5 Added best-practice checkstyle checks
This are the style guidelines I want to enforce throughout the project in the future.
Currently, huge parts of the app do not pass these checks but when developing something new,
we should add those checks to our IDEs.

They are basically the Google checks but with an increased line length from 100 to 120
characters and using 4 instead of 2 spaces for indentation.
2019-10-03 23:01:52 +02:00
ByteHamster
28a816b16c Enabled more checkstyle rules 2019-09-28 17:23:36 +02:00
ByteHamster
b7301ca360 Added checkstyle 2019-09-24 11:21:08 +02:00