Skip to content

Commit

Permalink
supplemental: Replaced the older version of google java style guide w…
Browse files Browse the repository at this point in the history
…ith newer version and deleted unnecessary test class for Annotations section
  • Loading branch information
Zopsss authored and romani committed Jul 7, 2024
1 parent f5504ef commit b16e96a
Show file tree
Hide file tree
Showing 13 changed files with 44 additions and 127 deletions.

This file was deleted.

Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
* Controls the indentation between comments and surrounding code.
* Comments are indented at the same level as the surrounding code.
* Detailed info about such convention can be found
* <a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s4.8.6.1-block-comment-style">
* <a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s4.8.6.1-block-comment-style">
* here</a>
* </p>
* <ul>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
* <p>
* Validates abbreviations (consecutive capital letters) length in
* identifier name, it also allows to enforce camel case naming. Please read more at
* <a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.3-camel-case">
* <a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.3-camel-case">
* Google Style Guide</a> to get to know how to avoid long abbreviations in names.
* </p>
* <p>'_' is considered as word separator in identifier name.</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
Controls the indentation between comments and surrounding code.
Comments are indented at the same level as the surrounding code.
Detailed info about such convention can be found
&lt;a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s4.8.6.1-block-comment-style"&gt;
&lt;a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s4.8.6.1-block-comment-style"&gt;
here&lt;/a&gt;
&lt;/p&gt;</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<description>&lt;p&gt;
Validates abbreviations (consecutive capital letters) length in
identifier name, it also allows to enforce camel case naming. Please read more at
&lt;a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.3-camel-case"&gt;
&lt;a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.3-camel-case"&gt;
Google Style Guide&lt;/a&gt; to get to know how to avoid long abbreviations in names.
&lt;/p&gt;
&lt;p&gt;'_' is considered as word separator in identifier name.&lt;/p&gt;
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/misc/commentsindentation.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Controls the indentation between comments and surrounding code.
Comments are indented at the same level as the surrounding code.
Detailed info about such convention can be found
<a href="../../styleguides/google-java-style-20180523/javaguide.html#s4.8.6.1-block-comment-style">
<a href="../../styleguides/google-java-style-20220203/javaguide.html#s4.8.6.1-block-comment-style">
here</a>
</p>
</subsection>
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/misc/commentsindentation.xml.template
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
Controls the indentation between comments and surrounding code.
Comments are indented at the same level as the surrounding code.
Detailed info about such convention can be found
<a href="../../styleguides/google-java-style-20180523/javaguide.html#s4.8.6.1-block-comment-style">
<a href="../../styleguides/google-java-style-20220203/javaguide.html#s4.8.6.1-block-comment-style">
here</a>
</p>
</subsection>
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/naming/abbreviationaswordinname.xml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<p>
Validates abbreviations (consecutive capital letters) length in identifier name,
it also allows to enforce camel case naming. Please read more at
<a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.3-camel-case">
<a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.3-camel-case">
Google Style Guide</a>
to get to know how to avoid long abbreviations in names.
</p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<p>
Validates abbreviations (consecutive capital letters) length in identifier name,
it also allows to enforce camel case naming. Please read more at
<a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.3-camel-case">
<a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.3-camel-case">
Google Style Guide</a>
to get to know how to avoid long abbreviations in names.
</p>
Expand Down
2 changes: 1 addition & 1 deletion src/xdocs/checks/naming/classtypeparametername.xml
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ class Example2 {
</source>
<p id="Example3-config">
To configure the check for names that are camel case word with T as suffix
(<a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.2.8-type-variable-names">Google Style</a>):
(<a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.2.8-type-variable-names">Google Style</a>):
</p>
<source>
&lt;module name=&quot;Checker&quot;&gt;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
</macro>
<p id="Example3-config">
To configure the check for names that are camel case word with T as suffix
(<a href="https://checkstyle.org/styleguides/google-java-style-20180523/javaguide.html#s5.2.8-type-variable-names">Google Style</a>):
(<a href="https://checkstyle.org/styleguides/google-java-style-20220203/javaguide.html#s5.2.8-type-variable-names">Google Style</a>):
</p>
<macro name="example">
<param name="path"
Expand Down
Loading

0 comments on commit b16e96a

Please sign in to comment.