[Japi-cvs] SF.net SVN: japi:[1389] tools/archStat/trunk/src/prj/net/sf/japi/archstat/ Checker.xml
Status: Beta
Brought to you by:
christianhujer
|
From: <chr...@us...> - 2009-10-05 00:36:19
|
Revision: 1389
http://japi.svn.sourceforge.net/japi/?rev=1389&view=rev
Author: christianhujer
Date: 2009-10-05 00:36:09 +0000 (Mon, 05 Oct 2009)
Log Message:
-----------
Consistently use lowerCamel for compounds.
Modified Paths:
--------------
tools/archStat/trunk/src/prj/net/sf/japi/archstat/Checker.xml
Modified: tools/archStat/trunk/src/prj/net/sf/japi/archstat/Checker.xml
===================================================================
--- tools/archStat/trunk/src/prj/net/sf/japi/archstat/Checker.xml 2009-10-05 00:33:57 UTC (rev 1388)
+++ tools/archStat/trunk/src/prj/net/sf/japi/archstat/Checker.xml 2009-10-05 00:36:09 UTC (rev 1389)
@@ -16,7 +16,7 @@
-->
<config>
- <filetypes>
+ <fileTypes>
<filetype id="CSource" match="^.+\.(c)$" description="C Source Code" />
<filetype id="CHeader" match="^.+\.(h)$" description="C Header"/>
<filetype id="C" groups="CSource CHeader" description="C Language (Source and Header)"/>
@@ -28,7 +28,7 @@
<filetype id="Curly" groups="C Java Jpp" description="Curly brace language source"/>
<filetype id="Makefile" match="^(Makefile|.+\.mak)$" description="Makefile" />
<filetype id="All" groups="Curly Asm Makefile" description="All files" />
- </filetypes>
+ </fileTypes>
<patterns>
<pattern
match="line"
@@ -36,7 +36,7 @@
name="bogusLintSuppression"
regex="/[/*] +lint"
message="Bogus lint suppression - lint suppression with no effect."
- filetypes="C"
+ fileTypes="C"
>
The way the lint suppression is written causes the lint suppression to have no effect.
</pattern>
@@ -46,7 +46,7 @@
name="trailingWhitespace"
regex="[\p{javaWhitespace}&&[^\p{Zl}]]+?(\r\n|\r|\n)$"
message="Trailing whitespace."
- filetypes="All"
+ fileTypes="All"
>
Trailing whitespace is redundant, hinders searching and can be a cause of merge problems.
</pattern>
@@ -56,7 +56,7 @@
name="unixLine"
regex="[^\r]\n$"
message="Unix line."
- filetypes="All"
+ fileTypes="All"
>
Use DOS line endings only to make sure the files are editable with stanard windows editors.
</pattern>
@@ -66,7 +66,7 @@
name="platformIntegerType"
regex="\b(char|short|int|long)\b"
message="Platform integer type."
- filetypes="C"
+ fileTypes="C"
>
You used a type of which the sign (char) or size may vary depending on the platform.
Instead use an ISO/IEC 9899:1999 integer type.
@@ -77,7 +77,7 @@
name="oldIntegerType"
regex="\b[US](08|16|32)_(EXACT|FAST)\b"
message="Old integer type."
- filetypes="C"
+ fileTypes="C"
>
You used an old integer type.
Use ISO/IEC 9899:1999 integer types like uint8_t or int_fast32_t instead.
@@ -88,7 +88,7 @@
name="oldBooleanType"
regex="\bBOOL(_FAST)?\b"
message="Old boolean type."
- filetypes="C"
+ fileTypes="C"
>
You used an old boolean type.
Use the ISO/IEC 9899:1999 type bool instead.
@@ -99,7 +99,7 @@
name="internalBooleanType"
regex="\b_Bool\b"
message="Internal boolean type."
- filetypes="C"
+ fileTypes="C"
>
You used the internal boolean type directly.
Use the ISO/IEC 9899:1999 external type bool instead.
@@ -110,7 +110,7 @@
name="tab"
regex="\t"
message="Tab character."
- filetypes="Curly"
+ fileTypes="Curly"
>
Do not use tab for indention.
Use spaces instead.
@@ -125,7 +125,7 @@
name="commentStart"
regex="/\*\*\s*?[\r\n]"
message="Documentation comment text doesn't start in first line of documentation comment."
- filetypes="Curly"
+ fileTypes="Curly"
>
If you start a documentation comment, the text should start in the first line, not later, e.g.
/** Flushes the cache.
@@ -138,7 +138,7 @@
name="oldStyleComment"
regex="(\*{3,}|/{3,})"
message="Old style comment."
- filetypes="Curly"
+ fileTypes="Curly"
/>
<pattern
match="line"
@@ -146,7 +146,7 @@
name="krbraces"
regex="^[\p{javaWhitespace}&&[^\p{Zl}]]+?(\{|else|catch|finally)"
message="Bogus brace style found. Use K&R brace style."
- filetypes="Curly"
+ fileTypes="Curly"
>
</pattern>
<!--pattern
@@ -155,7 +155,7 @@
name="spaces"
regex="^ "
message="Bogus indention in Makefile - use tabs, not spaces."
- filetypes="Makefile"
+ fileTypes="Makefile"
>
</pattern-->
<pattern
@@ -164,7 +164,7 @@
name="fileComment"
regex="/\*\* [^.\n]\.$.*? \* @file.*?$ \*/$"
message="Malformed file header comment."
- filetypes="C"
+ fileTypes="C"
>
</pattern>
</patterns>
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|