Skip to content

Commit

Permalink
Added Java doc suppress warnings to the UAgentInfo class and removed it
Browse files Browse the repository at this point in the history
from check style configuration in order to avoid unnecessary warnings.
  • Loading branch information
Ruediger Kurz committed Oct 15, 2013
1 parent 8f348c4 commit 2a63e8b
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions .checkstyle
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@
</local-check-config>
<fileset name="all" enabled="true" check-config-name="Alkacon OpenCms (project-local)" local="true">
<file-match-pattern match-pattern="\.java$" include-pattern="true"/>
<file-match-pattern match-pattern="UAgentInfo\.java$" include-pattern="false"/>
</fileset>
</fileset-config>
2 changes: 2 additions & 0 deletions src/org/opencms/jsp/util/UAgentInfo.java
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@
* This class is an exact copy of http://mobileesp.googlecode.com/svn/Java/UAgentInfo.java.
* When updating only adjust the package name.
*/
@SuppressWarnings("javadoc")
public class UAgentInfo {

// User-Agent and Accept HTTP request headers
Expand Down Expand Up @@ -190,6 +191,7 @@ public class UAgentInfo {
* @param userAgent the User-Agent header
* @param httpAccept the Accept header
*/
@SuppressWarnings("hiding")
public UAgentInfo(String userAgent, String httpAccept) {

if (userAgent != null) {
Expand Down

0 comments on commit 2a63e8b

Please sign in to comment.