GitHub | 18 Apr 10:17 2015

[pmd/pmd] 1910a6: #1332 False Positive: UnusedPrivateMethod

  Branch: refs/heads/pmd/5.3.x
  Home:   https://github.com/pmd/pmd
  Commit: 1910a6844c643504108ddb37b39fbd59082d90cc
      https://github.com/pmd/pmd/commit/1910a6844c643504108ddb37b39fbd59082d90cc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateMethod.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1332 False Positive: UnusedPrivateMethod

------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
(Continue reading)

GitHub | 18 Apr 10:17 2015

[pmd/pmd] 1910a6: #1332 False Positive: UnusedPrivateMethod

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 1910a6844c643504108ddb37b39fbd59082d90cc
      https://github.com/pmd/pmd/commit/1910a6844c643504108ddb37b39fbd59082d90cc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateMethod.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1332 False Positive: UnusedPrivateMethod

  Commit: 7452c68689acf6e778f5ffcd87885d77c6001852
      https://github.com/pmd/pmd/commit/7452c68689acf6e778f5ffcd87885d77c6001852
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-18 (Sat, 18 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/resources/net/sourceforge/pmd/lang/java/rule/unusedcode/xml/UnusedPrivateMethod.xml
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Merge branch 'pmd/5.3.x' into master

(Continue reading)

GitHub | 16 Apr 20:30 2015

[pmd/pmd] e8c36b: Make TypeSet resolvers null-safe

  Branch: refs/heads/pmd/5.3.x
  Home:   https://github.com/pmd/pmd
  Commit: e8c36b34f82795d5e346913b6b6c58418be0d697
      https://github.com/pmd/pmd/commit/e8c36b34f82795d5e346913b6b6c58418be0d697
  Author: Björn Kautler <Bjoern <at> Kautler.net>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/TypeSet.java
    M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/TypeSetTest.java

  Log Message:
  -----------
  Make TypeSet resolvers null-safe

  Commit: f310138f9d40d239c337a3569663cef0d3524420
      https://github.com/pmd/pmd/commit/f310138f9d40d239c337a3569663cef0d3524420
  Author: Björn Kautler <Bjoern <at> Kautler.net>
  Date:   2015-04-14 (Tue, 14 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/symboltable/ClassScopeTest.java

  Log Message:
  -----------
  Fix NullPointerException in ClassScope.qualifyTypeName()

  Commit: d8961a903a3f69ce403d11fb4bdb515bb5279959
      https://github.com/pmd/pmd/commit/d8961a903a3f69ce403d11fb4bdb515bb5279959
(Continue reading)

GitHub | 16 Apr 20:29 2015

[pmd/pmd] 094c9c: [maven-release-plugin] prepare release pmd_release...

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 094c9c0ec96e814fc3784cf89320eeda7d1409bc
      https://github.com/pmd/pmd/commit/094c9c0ec96e814fc3784cf89320eeda7d1409bc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pmd-core/pom.xml
    M pmd-cpp/pom.xml
    M pmd-cs/pom.xml
    M pmd-dist/pom.xml
    M pmd-fortran/pom.xml
    M pmd-go/pom.xml
    M pmd-java/pom.xml
    M pmd-javascript/pom.xml
    M pmd-jsp/pom.xml
    M pmd-matlab/pom.xml
    M pmd-objectivec/pom.xml
    M pmd-php/pom.xml
    M pmd-plsql/pom.xml
    M pmd-python/pom.xml
    M pmd-ruby/pom.xml
    M pmd-scala/pom.xml
    M pmd-test/pom.xml
    M pmd-vm/pom.xml
    M pmd-xml/pom.xml
    M pom.xml

  Log Message:
(Continue reading)

Julien Flamen | 13 Apr 12:23 2015
Picon

[PLSQL] How to parse SQL statement

Hi everybody,
I'm actually using PMD parser and I need to parse SQL instructions. But I have some difficulties to do it. I just want indications cause i don't understand :

- Why PMD parse doesn't parse SQL statement ?
- Is it possible to do it with sourcecode's modifications ?

I will be grateful for help, cause i'm really lost in sourcecode.
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 13 Apr 20:03 2015

[pmd/pmd] 63f181: Define the goals for releaseing explicitly

  Branch: refs/heads/pmd/5.3.x
  Home:   https://github.com/pmd/pmd
  Commit: 63f1814c80871c8a1572cac91fe378a81dab201b
      https://github.com/pmd/pmd/commit/63f1814c80871c8a1572cac91fe378a81dab201b
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Define the goals for releaseing explicitly

  Commit: fa9a4705e61531b6d898c0b34f8f0c2d74c9e2aa
      https://github.com/pmd/pmd/commit/fa9a4705e61531b6d898c0b34f8f0c2d74c9e2aa
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M src/site/markdown/overview/changelog-old.md
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Prepare next development version

  Commit: 29a32bb2a7bd4ce62be01b1f63590a6365d06864
      https://github.com/pmd/pmd/commit/29a32bb2a7bd4ce62be01b1f63590a6365d06864
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/ParserCornersTest.java
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1333 Error while processing Java file with Lambda expressions

Compare: https://github.com/pmd/pmd/compare/c44a89cce31f...29a32bb2a7bd
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 13 Apr 20:02 2015

[pmd/pmd] ed5b36: Define the goals for releaseing explicitly

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: ed5b3608cd6f30401eff5ce6cf454494f6e7fc6d
      https://github.com/pmd/pmd/commit/ed5b3608cd6f30401eff5ce6cf454494f6e7fc6d
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-03 (Fri, 03 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Define the goals for releaseing explicitly

  Commit: 15800d6378d65371de6ea34e3ec5ee3a839103e2
      https://github.com/pmd/pmd/commit/15800d6378d65371de6ea34e3ec5ee3a839103e2
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Add Clover plugin back

  Commit: f8be558c5bc9fd3370c685044ca3ae04c39238a7
      https://github.com/pmd/pmd/commit/f8be558c5bc9fd3370c685044ca3ae04c39238a7
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  Remove unneeded maven profiles

  Commit: 9ec438c97dd8d4d0649b1108cce99183004b1037
      https://github.com/pmd/pmd/commit/9ec438c97dd8d4d0649b1108cce99183004b1037
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-04 (Sat, 04 Apr 2015)

  Changed paths:
    M pom.xml
    M src/site/site.xml

  Log Message:
  -----------
  Update project info reports, display modules after the main pages

  Commit: cf22d5841b15940f24a2d07667f715af65b577e3
      https://github.com/pmd/pmd/commit/cf22d5841b15940f24a2d07667f715af65b577e3
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/ParserCornersTest.java

  Log Message:
  -----------
  Whitespaces

  Commit: 85b6b3c0ff3f6db5323094fcc918bb44fb4bf1b8
      https://github.com/pmd/pmd/commit/85b6b3c0ff3f6db5323094fcc918bb44fb4bf1b8
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-13 (Mon, 13 Apr 2015)

  Changed paths:
    M pmd-java/src/main/java/net/sourceforge/pmd/lang/java/symboltable/ClassScope.java
    M pmd-java/src/test/java/net/sourceforge/pmd/lang/java/ast/ParserCornersTest.java
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  #1333 Error while processing Java file with Lambda expressions

Compare: https://github.com/pmd/pmd/compare/4cb7c4166e39...85b6b3c0ff3f
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
Ricco No | 9 Apr 09:28 2015
Picon
Picon

EmptyMethodInAbstractClassShouldBeAbstract & ConsecutiveLiteralAppends wrong+

Hi list,
 
I noticed two issues (maybe bugs) on PMD 5.3.0 regarding to the (1) EmptyMethodInAbstractClassShouldBeAbstract and the (2) ConsecutiveLiteralAppends rules.
 
(1) EmptyMethodInAbstractClassShouldBeAbstract 
 
(1.1) I get a warning, when I'm returning an empty string like return "". Is this the correct behavior?
(1.2) I also get a warning, when I have a void method just with a comment, so it's not a empty method any more, is the warning here correct?
 
(2) ConsecutiveLiteralAppends 
 
(2.1) I get the following ConsecutiveLiteralAppends warning two times:
 
 
for (final Anything anything : getAnythingList())
    {
      if (parameter > 0)
      {
        stringBuilder1.append("1");
        stringBuilder2.append("2");
      }
      stringBuilder1.append("1");
      stringBuilder2.append("2");
    }
 
    stringBuilder1.append("1"); ON THIS LINE THE WARNINGS APPEAR
    stringBuilder2.append("2");
 
I think the checking behavior on this method gets confused by the for loop, because I cant connect the stringBuilders from inner and outer loop.
 
Regards and thanks for your help,
Ric
------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 1 Apr 22:07 2015

[pmd/pmd] 530555: Prepare pmd release 5.3.0

  Branch: refs/heads/master
  Home:   https://github.com/pmd/pmd
  Commit: 53055517d1a6c4e5f42cf6a371dcefd99af094cc
      https://github.com/pmd/pmd/commit/53055517d1a6c4e5f42cf6a371dcefd99af094cc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Prepare pmd release 5.3.0

  Commit: 8fd4528feb6e935af556bf86dccf9dddf31258ad
      https://github.com/pmd/pmd/commit/8fd4528feb6e935af556bf86dccf9dddf31258ad
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare branch pmd/5.3.x

  Commit: 5c2f6bc96267cd4bc2af60ded9fad8bde7eaa3d4
      https://github.com/pmd/pmd/commit/5c2f6bc96267cd4bc2af60ded9fad8bde7eaa3d4
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pmd-core/pom.xml
    M pmd-cpp/pom.xml
    M pmd-cs/pom.xml
    M pmd-dist/pom.xml
    M pmd-fortran/pom.xml
    M pmd-go/pom.xml
    M pmd-java/pom.xml
    M pmd-javascript/pom.xml
    M pmd-jsp/pom.xml
    M pmd-matlab/pom.xml
    M pmd-objectivec/pom.xml
    M pmd-php/pom.xml
    M pmd-plsql/pom.xml
    M pmd-python/pom.xml
    M pmd-ruby/pom.xml
    M pmd-scala/pom.xml
    M pmd-test/pom.xml
    M pmd-vm/pom.xml
    M pmd-xml/pom.xml
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare for next development iteration

  Commit: 4cb7c4166e3984706e187033e081937083dd8ab7
      https://github.com/pmd/pmd/commit/4cb7c4166e3984706e187033e081937083dd8ab7
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M src/site/markdown/overview/changelog-old.md
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Prepare next development version

Compare: https://github.com/pmd/pmd/compare/330708a35b5b...4cb7c4166e39
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 1 Apr 22:05 2015

[pmd/pmd]

  Branch: refs/tags/pmd_releases/5.3.0
  Home:   https://github.com/pmd/pmd
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel
GitHub | 1 Apr 22:04 2015

[pmd/pmd] 530555: Prepare pmd release 5.3.0

  Branch: refs/heads/pmd/5.3.x
  Home:   https://github.com/pmd/pmd
  Commit: 53055517d1a6c4e5f42cf6a371dcefd99af094cc
      https://github.com/pmd/pmd/commit/53055517d1a6c4e5f42cf6a371dcefd99af094cc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M src/site/markdown/overview/changelog.md

  Log Message:
  -----------
  Prepare pmd release 5.3.0

  Commit: 8fd4528feb6e935af556bf86dccf9dddf31258ad
      https://github.com/pmd/pmd/commit/8fd4528feb6e935af556bf86dccf9dddf31258ad
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare branch pmd/5.3.x

  Commit: 094c9c0ec96e814fc3784cf89320eeda7d1409bc
      https://github.com/pmd/pmd/commit/094c9c0ec96e814fc3784cf89320eeda7d1409bc
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pmd-core/pom.xml
    M pmd-cpp/pom.xml
    M pmd-cs/pom.xml
    M pmd-dist/pom.xml
    M pmd-fortran/pom.xml
    M pmd-go/pom.xml
    M pmd-java/pom.xml
    M pmd-javascript/pom.xml
    M pmd-jsp/pom.xml
    M pmd-matlab/pom.xml
    M pmd-objectivec/pom.xml
    M pmd-php/pom.xml
    M pmd-plsql/pom.xml
    M pmd-python/pom.xml
    M pmd-ruby/pom.xml
    M pmd-scala/pom.xml
    M pmd-test/pom.xml
    M pmd-vm/pom.xml
    M pmd-xml/pom.xml
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare release pmd_releases/5.3.0

  Commit: c44a89cce31f0a2b2103facf257a50b5b55f8305
      https://github.com/pmd/pmd/commit/c44a89cce31f0a2b2103facf257a50b5b55f8305
  Author: Andreas Dangel <adangel <at> users.sourceforge.net>
  Date:   2015-04-01 (Wed, 01 Apr 2015)

  Changed paths:
    M pmd-core/pom.xml
    M pmd-cpp/pom.xml
    M pmd-cs/pom.xml
    M pmd-dist/pom.xml
    M pmd-fortran/pom.xml
    M pmd-go/pom.xml
    M pmd-java/pom.xml
    M pmd-javascript/pom.xml
    M pmd-jsp/pom.xml
    M pmd-matlab/pom.xml
    M pmd-objectivec/pom.xml
    M pmd-php/pom.xml
    M pmd-plsql/pom.xml
    M pmd-python/pom.xml
    M pmd-ruby/pom.xml
    M pmd-scala/pom.xml
    M pmd-test/pom.xml
    M pmd-vm/pom.xml
    M pmd-xml/pom.xml
    M pom.xml

  Log Message:
  -----------
  [maven-release-plugin] prepare for next development iteration

Compare: https://github.com/pmd/pmd/compare/53055517d1a6^...c44a89cce31f
------------------------------------------------------------------------------
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
_______________________________________________
Pmd-devel mailing list
Pmd-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmd-devel

Gmane