15096 Commits

Author SHA1 Message Date
Andreas Dangel
d3a3c5529f Update release notes, fixes #1913, refs #1917 2019-07-19 11:07:46 +02:00
Andreas Dangel
efd0eafff0 Make the new constants "NO_ERRORS_STATUS" private to avoid increasing
the API footprint
2019-07-19 11:07:40 +02:00
Renato Oliveira
052d38200e Change return code to zero for CPD when the help command is requested through the CLI. 2019-07-18 16:24:42 -03:00
Renato Oliveira
383baaffd3 Should expect the return code to equal zero. 2019-07-16 18:14:18 -03:00
Renato Oliveira
5150b316e4 Add 'no error' return option, and assign it to the cli when the help command is invoked. 2019-07-15 19:21:02 -03:00
Andreas Dangel
267cee9caf [doc] Fix broken links 2019-07-14 18:15:15 +02:00
Andreas Dangel
93b4628387 [doc] Update generated rule doc 2019-07-13 19:53:59 +02:00
Andreas Dangel
77ccea5c0d Merge branch 'pr-1869' 2019-07-13 19:42:55 +02:00
Andreas Dangel
70c66c2952 Update release notes, fixes #1666, refs #1869 2019-07-13 19:41:53 +02:00
Andreas Dangel
084c78a5ea [xml] Improve example for MistypedCDATASection 2019-07-13 19:39:41 +02:00
Andreas Dangel
614484143a [doc] Add Lua support 2019-07-13 18:43:01 +02:00
Andreas Dangel
8e3adc6ba1 Merge branch 'pr-1892' 2019-07-13 18:29:32 +02:00
Andreas Dangel
4d7f7d3f73 Update release notes, refs #1892 2019-07-13 18:28:15 +02:00
Andreas Dangel
2f3a51ce2f Merge branch 'pr-1908' 2019-07-12 09:57:05 +02:00
Andreas Dangel
cb69769644 Update release notes, refs #1908, fixes #1909 2019-07-12 09:56:41 +02:00
crunsk
e853ea98c7 Update ruleset filename from deprecated basic.xml to quickstart.xml
Frontpage (https://pmd.github.io/) uses ruleset quickstart.xml but https://pmd.github.io/pmd-6.16.0/pmd_userdocs_installation.html#sample-usage uses deprecated ruleset basic.xml 
(page https://pmd.github.io/pmd-6.16.0/pmd_rules_java.html shows status of both rulesets)
2019-07-08 20:29:26 +03:00
Juan Martín Sotuyo Dodero
53fbbb5a2d Merge pull request #1907 from adangel/issue-1896
[doc] Error in changelog 6.16.0 due to not properly closed rule tag
2019-07-06 19:10:59 -03:00
Juan Martín Sotuyo Dodero
7fd0b81a3a Revert "Fix bug with maven incremental compil"
This reverts commit a755c83eef56ed5562060af38917e827f9001031.
2019-07-06 18:58:38 -03:00
Andreas Dangel
8216c3517f [doc] Error in changelog 6.16.0 due to not properly closed rule tag
Fixes #1896
2019-07-06 15:53:46 +02:00
Andreas Dangel
96fa52d8c1 Merge branch 'issue-1906' 2019-07-06 12:02:05 +02:00
Andreas Dangel
1f18888380 Update release notes, fixes #1906 2019-07-06 12:01:40 +02:00
Andreas Dangel
b691cec6a4 [doc] Improve DeadLinksChecker
A leading slash is a problem now. Links need to be relative.
2019-07-06 12:00:33 +02:00
Andreas Dangel
6cb0701498 [doc] Fix broken internal links
* Links to pages need to be relative...
* Fixes #1906
2019-07-06 11:15:30 +02:00
Andreas Dangel
e8f62f8d58 Fix release notes for 6.16.0
Refs #1896
2019-07-01 19:07:45 +02:00
Travis CI (pmd-bot)
85186f46aa Update documentation
TRAVIS_JOB_NUMBER=3945.1
TRAVIS_COMMIT_RANGE=f6c43c63b616...1a690ed1e838
2019-07-01 16:53:51 +00:00
Clément Fournier
1a690ed1e8 Fix DoubleBraceInitialization example 2019-07-01 18:33:48 +02:00
Andreas Dangel
f6c43c63b6 Prepare next development version 2019-06-30 11:04:30 +02:00
Andreas Dangel
73a8e4cc69 [maven-release-plugin] prepare for next development iteration 2019-06-30 10:33:08 +02:00
Andreas Dangel
45facbd323 [maven-release-plugin] prepare release pmd_releases/6.16.0 pmd_releases/6.16.0 2019-06-30 10:32:58 +02:00
Andreas Dangel
743671ff23 Prepare pmd release 6.16.0 2019-06-30 10:23:07 +02:00
Andreas Dangel
17faa9ead4 Update pmd-designer to 6.16.0 2019-06-30 09:39:28 +02:00
Andreas Dangel
cbd8856007 (doc) Update generated rule documentation 2019-06-30 09:38:58 +02:00
Andreas Dangel
92184ba56f Merge branch 'pr-1539' 2019-06-30 09:28:16 +02:00
Andreas Dangel
210a3dc8f9 Merge branch 'pr-1894' 2019-06-30 09:25:45 +02:00
Andreas Dangel
bb2afbfb27 Merge branch 'pr-1482' 2019-06-30 09:23:28 +02:00
Andreas Dangel
45e2248fa7 (doc) Add PMD article 2019-06-29 21:50:39 +02:00
Andreas Dangel
df4da7e78f Merge branch 'pr-1893' 2019-06-29 21:38:18 +02:00
Andreas Dangel
634e3592c7 Update docs/pages/release_notes.md
Co-Authored-By: Clément Fournier <clement.fournier76@gmail.com>
2019-06-29 21:35:01 +02:00
Andreas Dangel
1e2d94ebf9 Use released build-tools version 3 2019-06-29 15:56:34 +02:00
Andreas Dangel
da69dc777a [java] CloseResource: fix another FP 2019-06-29 15:29:03 +02:00
Andreas Dangel
3928242f56 (doc) Fix release notes 2019-06-29 15:05:05 +02:00
Andreas Dangel
c2a45c64ca [java] CloseResource: verify first argument for chained streams 2019-06-29 15:01:24 +02:00
Andreas Dangel
74f36bf18e [java] Deprecate AvoidFinalLocalVariable
Fixes #1612, Refs #1482
2019-06-29 14:34:36 +02:00
Karl-Philipp Richter
d10d522d1f Explain the existence of AvoidFinalLocalVariable in it's description 2019-06-29 14:20:36 +02:00
Andreas Dangel
40849dda65 [java] CloseResource: consider chained streams
This assumes that the underlaying stream is always the
first argument in the constructor call.
2019-06-29 14:13:42 +02:00
Andreas Dangel
5825f6190f Merge branch 'master' into close-resource-io 2019-06-29 12:30:18 +02:00
Andreas Dangel
18006de84c [java] CloseResource: Update release notes and rule documentation 2019-06-29 12:29:40 +02:00
Andreas Dangel
ae046bb516 [java] CloseResource: verify old behaviour can be restored 2019-06-29 12:19:24 +02:00
Andreas Dangel
62a2c12585 [java] CloseResource: consider javax.jms.Connection as before
Adding back the default types java.sql.Connection etc. so that
we also match javax.jms.Connection in case no type information
is available as before.

Also fix the reported type when method calls are involved.
2019-06-29 12:15:19 +02:00
Andreas Dangel
f6cc999f2c [java] CloseResource: Use simple class name in message
Report simple class name to retain same message as before.
This helps in comparing the reports.
2019-06-29 11:22:03 +02:00