diff --git a/pmd-plsql/etc/grammar/PldocAST.jjt b/pmd-plsql/etc/grammar/PldocAST.jjt index ce715a5cba..ef72a2617e 100644 --- a/pmd-plsql/etc/grammar/PldocAST.jjt +++ b/pmd-plsql/etc/grammar/PldocAST.jjt @@ -1096,13 +1096,15 @@ ASTSqlStatement SqlStatement(String initiator, String terminator) : /** * 2011-05-15 - SRT - Added to cope with wrapped objects A wrapped function looks like this (always terminated by one or more equals signs "="):- + +
" CREATE OR REPLACE FUNCTION "TESTUSER"."GET_DATE_STRING" / ** Return SYSDATE formatted using the provided template. * * - * @param p_date_format normal TO_CHARE/TO_DATE date template - * @return formatted datestring - * @see http://www.oracle-base.com/articles/10g/WrapAndDBMS_DDL_10gR2.php#dbms_ddl + * @param p_date_format normal TO_CHARE/TO_DATE date template + * @return formatted datestring + * @see http://www.oracle-base.com/articles/10g/WrapAndDBMS_DDL_10gR2.php#dbms_ddl * / wrapped a000000 @@ -1128,6 +1130,7 @@ abcd v04omzJ0zOfHdMAzuHQlw+fAsr2ym9YI8I521pRTbnFVAHOOUw4JqPkIyj7wj4VwyL17nhYb 3qPVuL6SvhZTmEBnRtaErHpzaDuIpqZ0G4s= " +*/ @@ -1159,7 +1162,7 @@ void WrappedObject() : // ============================================================================ /** - * 2006-05-24 - Matthias Hendler - added MERGE, EXECUTE choice and LOOKAHEAD at
- * Note that this calculation applies to Cyclomatic Complexity as well. + * + *
Note that this calculation applies to Cyclomatic Complexity as well.
* * @param expr * control structure expression diff --git a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/codesize/NcssMethodCountRule.java b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/codesize/NcssMethodCountRule.java index ffd1961e2d..f2bf4525b2 100644 --- a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/codesize/NcssMethodCountRule.java +++ b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/codesize/NcssMethodCountRule.java @@ -10,8 +10,7 @@ import net.sourceforge.pmd.stat.DataPoint; /** * Non-commented source statement counter for methods. * - * Analogous to and cribbed from - * {@link net.sourceforge.pmd.lang.java.rule.codesize.NcssMethodCountRule}. + *Analogous to and cribbed from Java version of the rule.
*/ public class NcssMethodCountRule extends AbstractNcssCountRule { diff --git a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveLengthRule.java b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveLengthRule.java index 1967495f30..ce06dde29f 100644 --- a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveLengthRule.java +++ b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveLengthRule.java @@ -13,11 +13,11 @@ import net.sourceforge.pmd.stat.DataPoint; /** * This is a common super class for things which have excessive length. - * - * i.e. LongMethod and LongClass rules. - * - * To implement an ExcessiveLength rule, you pass in the Class of node you want - * to check, and this does the rest for you. + * + *i.e. LongMethod and LongClass rules.
+ * + *To implement an ExcessiveLength rule, you pass in the Class of node you want + * to check, and this does the rest for you.
*/ public class ExcessiveLengthRule extends AbstractStatisticalPLSQLRule { private static final Logger LOGGER = Logger.getLogger(ExcessiveLengthRule.class.getName()); diff --git a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveNodeCountRule.java b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveNodeCountRule.java index 17e9a7edcf..ceef4bd2d3 100644 --- a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveNodeCountRule.java +++ b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/rule/design/ExcessiveNodeCountRule.java @@ -11,14 +11,14 @@ import net.sourceforge.pmd.stat.DataPoint; /** * This is a common super class for things which shouldn't have excessive nodes * underneath. - * - * It expects all "visit" calls to return an Integer. It will sum all the values - * it gets, and use that as its score. - * - * To use it, override the "visit" for the nodes that need to be counted. On - * those return "new Integer(1)" - * - * All others will return 0 (or the sum of counted nodes underneath.) + * + *It expects all "visit" calls to return an Integer. It will sum all the values + * it gets, and use that as its score.
+ * + *To use it, override the "visit" for the nodes that need to be counted. On + * those return "new Integer(1)"
+ * + *All others will return 0 (or the sum of counted nodes underneath.)
*/ public class ExcessiveNodeCountRule extends AbstractStatisticalPLSQLRule { diff --git a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/symboltable/ClassScope.java b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/symboltable/ClassScope.java index 07750b77bf..07f6f92533 100644 --- a/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/symboltable/ClassScope.java +++ b/pmd-plsql/src/main/java/net/sourceforge/pmd/lang/plsql/symboltable/ClassScope.java @@ -40,11 +40,11 @@ public class ClassScope extends AbstractScope { } /** - * This is only for anonymous inner classes - * - * FIXME - should have name like Foo$1, not Anonymous$1 to get this working + * This is only for anonymous inner classes. + * + *FIXME - should have name like Foo$1, not Anonymous$1 to get this working * right, the parent scope needs to be passed in when instantiating a - * ClassScope + * ClassScope
*/ public ClassScope() { // this.className = getParent().getEnclosingClassScope().getClassName()