@SupperssWarnings comment

@SupperssWarnings Note: repression, control warning

@SuppressWarnings ( "rawtypes") What is the meaning 
SuppressWarnings suppress warning that removing the warning 
rawtypes have to say when passing parameters with generic mass participation 
@SuppressWarnings ( "unchecked") 
unchecked warning when executed unchecked conversion 
@SuppressWarnings ({ "static-access",  "unchecked"})
indicates should cancel the display element specified in the annotation (as well as all the program elements contained in the annotated elements) in the compiler warnings. 

deprecation: 
    Use caution when disapproval of the class or method used 
unchecked: 
    performing a warning when unchecked conversion, for example, without using generic (Generics) to specify the type set saved when using the set. 
fallthrough: 
    when the one case Switch block direct access to Break without warning. 
path: 
    warning when the path does not exist in the class path, the source file path or the like.  
serial: 
    warning when on serializable serialVersionUID missing class definitions.  
finally: 
    any warnings when the finally clause can not be completed properly. 
all: 
    warning about all of the above situations.

Guess you like

Origin www.cnblogs.com/ttzsqwq/p/11419201.html