Home | History | Annotate | Download | only in findbugs_plugin
      1 <?xml version="1.0" encoding="UTF-8"?>
      2 
      3 <!--
      4   Copyright (c) 2012 The Chromium Authors. All rights reserved.
      5   Use of this source code is governed by a BSD-style license that can be
      6   found in the LICENSE file.
      7 -->
      8 
      9 <MessageCollection xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     10         xsi:noNamespaceSchemaLocation="messagecollection.xsd">
     11 
     12         <Plugin>
     13                 <ShortDescription>Chromium FindBugs Plugin </ShortDescription>
     14                 <Details>Adds style checks enforced in the chromium project.</Details>
     15         </Plugin>
     16 
     17         <Detector class="org.chromium.tools.findbugs.plugin.SynchronizedThisDetector">
     18                 <Details>
     19                           <![CDATA[
     20                         Shouldn't use synchronized(this).
     21                               ]]>
     22                 </Details>
     23 
     24         </Detector>
     25 
     26         <BugPattern type="CHROMIUM_SYNCHRONIZED_THIS">
     27                 <ShortDescription>Shouldn't use synchronized(this)</ShortDescription>
     28                 <LongDescription>Shouldn't use synchronized(this), please narrow down the synchronization scope.</LongDescription>
     29                 <Details>
     30 <![CDATA[
     31 <p>Shouldn't use synchronized(this), please narrow down the synchronization scope.</p>
     32 ]]>
     33                 </Details>
     34         </BugPattern>
     35 
     36         <Detector class="org.chromium.tools.findbugs.plugin.SynchronizedMethodDetector">
     37                 <Details>
     38                           <![CDATA[
     39                         Shouldn't use synchronized method.
     40                               ]]>
     41                 </Details>
     42 
     43         </Detector>
     44 
     45         <BugPattern type="CHROMIUM_SYNCHRONIZED_METHOD">
     46                 <ShortDescription>Shouldn't use synchronized method</ShortDescription>
     47                 <LongDescription>Shouldn't use synchronized method, please narrow down the synchronization scope.</LongDescription>
     48                 <Details>
     49 <![CDATA[
     50 <p>Shouldn't use synchronized method, please narrow down the synchronization scope.</p>
     51 ]]>
     52                 </Details>
     53         </BugPattern>
     54 
     55         <BugCode abbrev="CHROMIUM">CHROMIUM</BugCode>
     56 </MessageCollection>
     57