⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 findbugsfilter.xml

📁 thinking in java 书中源码 第四版
💻 XML
📖 第 1 页 / 共 2 页
字号:
<?xml version="1.0" ?>
<FindBugsFilter>
    <Match class="AUnitExample2">
        <BugCode name="OS"/>
        <!--AUnitExample2.exceptionExample() may fail to close stream  At AUnitExample2.java:[line 21]-->
    </Match>
    <Match class="BangBean2">
        <BugCode name="IS2"/>
        <!--Inconsistent synchronization of BangBean2.fontSize; locked 66% of time  Unsynchronized access at BangBean2.java:[line 74]-->
        <!--Inconsistent synchronization of BangBean2.tColor; locked 66% of time  Unsynchronized access at BangBean2.java:[line 73]-->
    </Match>
    <Match class="Beetle">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Beetle.main(String[])  At Beetle.java:[line 30]-->
    </Match>
    <Match class="BerryBrokers$1">
        <BugCode name="DE"/>
        <!--BerryBrokers$1.<clinit>() might ignore java.lang.NoSuchFieldError  At Thwonk.java:[line 90]-->
    </Match>
    <Match class="BigEgg$Yolk">
        <BugCode name="SIC"/>
        <!--Should BigEgg$Yolk be a _static_ inner class?-->
    </Match>
    <Match class="Bird">
        <BugCode name="UuF"/>
        <!--Unused field: Bird.i-->
    </Match>
    <Match class="BlankFinal">
        <BugCode name="SS"/>
        <!--Unread field: BlankFinal.i; should this field be static?-->
    </Match>
    <Match class="Blip2">
        <BugCode name="Se"/>
        <!--Blip2 is Externalizable but doesn't define a void constructor-->
    </Match>
    <Match class="ButtonGroups">
        <BugCode name="REC"/>
        <!--Method ButtonGroups.makeBPanel(Class,String[]) catches Exception, but Exception is not thrown in the try block and RuntimeException is not explicitly caught  At ButtonGroups.java:[line 29]-->
    </Match>
    <Match class="Card">
        <BugCode name="UrF"/>
        <!--Unread field: Card.t1-->
        <!--Unread field: Card.t2-->
        <!--Unread field: Card.t3-->
    </Match>
    <Match class="Cartoon">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Cartoon.main(String[])  At Cartoon.java:[line 16]-->
    </Match>
    <Match class="Casting">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Casting.main(String[])  At Casting.java:[line 11]-->
        <!--Dead store to local variable in method ClassCasting.main(String[])  At ClassCasting.java:[line 7]-->
    </Match>
    <Match class="CheckCloneable">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method CheckCloneable.main(String[])  At CheckCloneable.java:[line 81]-->
    </Match>
    <Match class="Chef">
        <BugCode name="UW"/>
        <!--Unconditional wait in Chef.run()  At Restaurant.java:[line 45]-->
        <!--(It's not clear to me why this is a problem. I think it's a false positive)-->
    </Match>
    <Match class="Chess">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Chess.main(String[])  At Chess.java:[line 24]-->
    </Match>
    <Match class="ChocolateChip">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method ChocolateChip.main(String[])  At ChocolateChip.java:[line 10]-->
    </Match>
    <Match class="ClassAsFactory">
        <BugCode name="UrF"/>
        <!--Unread field: ClassAsFactory.x-->
    </Match>
    <Match class="ClassCasting">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method ClassCasting.main(String[])  At ClassCasting.java:[line 7]-->
    </Match>
    <Match class="CloseResource">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method CloseResource.main(String[])  At CloseResource.java:[line 12]-->
    </Match>
    <Match class="CovariantGenerics">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method CovariantGenerics.main(String[])  At CovariantGenerics.java:[line 11]-->
    </Match>
    <Match class="Cupboard">
        <BugCode name="UrF"/>
        <!--Unread field: Cupboard.b3-->
    </Match>
    <Match class="DefaultConstructor">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method DefaultConstructor.main(String[])  At DefaultConstructor.java:[line 9]-->
    </Match>
    <Match class="Dinner">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Dinner.main(String[])  At Dinner.java:[line 7]-->
    </Match>
    <Match class="Dinosaur">
        <BugCode name="UrF"/>
        <!--Unread field: Dinosaur.i-->
        <!--Unread field: Dinosaur.x-->
    </Match>
    <Match class="Egg">
        <BugCode name="UrF"/>
        <!--Unread field: Egg.y-->
    </Match>
    <Match class="Egg$Yolk">
        <BugCode name="SIC"/>
        <!--Should BigEgg$Yolk be a _static_ inner class?-->
        <!--Should Egg$Yolk be a _static_ inner class?-->
    </Match>
<!-------- Checked to here ------------------------------------------------->
    <Match class="Equivalence">
        <BugCode name="RC"/>
        <!--Suspicious comparison of java.lang.Integer references in Equivalence.main(String[])  At Equivalence.java:[line 7]-->
    </Match>
    <Match class="Faces">
        <BugCode name="UI"/>
        <!--Usage of GetResource in Faces.<init>() may be unsafe if class is extended  At Faces.java:[line 13]-->
    </Match>
    <Match class="FillTest">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method FillTest.main(String[])  At Fill.java:[line 40]-->
    </Match>
    <Match class="FinalArguments">
        <BugCode name="IP"/>
        <!--A parameter to FinalArguments.without(Gizmo) is dead upon entry but overwritten  At FinalArguments.java:[line 13]-->
    </Match>
    <Match class="FinalData">
        <BugCode name="SS"/>
        <!--Unread field: FinalData.valueOne; should this field be static?-->
    </Match>
    <Match class="FinalData">
        <BugCode name="UrF"/>
        <!--Unread field: FinalData.v1-->
    </Match>
    <Match class="Foo2">
        <BugCode name="UrF"/>
        <!--Unread field: Foo2.x-->
    </Match>
    <Match class="GreenhouseControls">
        <BugCode name="UrF"/>
        <!--Unread field: GreenhouseControls.light-->
        <!--Unread field: GreenhouseControls.thermostat-->
        <!--Unread field: GreenhouseControls.water-->
    </Match>
    <Match class="Holder">
        <BugCode name="EC"/>
        <!--Call to equals() comparing different types in Holder.main(String[])  At Holder.java:[line 28]-->
        <!--Call to equals() comparing different types in WildcardRules.f(Holder)  At WildcardRules.java:[line 11]-->
        <!--Call to equals() comparing different types in WildcardRules.g(Holder)  At WildcardRules.java:[line 17]-->
    </Match>
    <Match class="Holder">
        <BugCode name="HE"/>
        <!--Holder defines equals and uses Object.hashCode()-->
    </Match>
    <Match class="IInterface$Inner">
        <BugCode name="UuF"/>
        <!--Unused field: IInterface$Inner.i-->
        <!--Unused field: IInterface$Inner.k-->
    </Match>
    <Match class="InheritInner">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method InheritInner.main(String[])  At InheritInner.java:[line 15]-->
    </Match>
    <Match class="InitialValues">
        <BugCode name="UwF"/>
        <!--Unwritten field: InitialValues.b-->
        <!--Unwritten field: InitialValues.c-->
        <!--Unwritten field: InitialValues.d-->
        <!--Unwritten field: InitialValues.f-->
        <!--Unwritten field: InitialValues.i-->
        <!--Unwritten field: InitialValues.l-->
        <!--Unwritten field: InitialValues.s-->
        <!--Unwritten field: InitialValues.t-->
    </Match>
    <Match class="InnerRunnable1">
        <BugCode name="UrF"/>
        <!--Unread field: InnerRunnable1.inner-->
    </Match>
    <Match class="InnerThread1">
        <BugCode name="UrF"/>
        <!--Unread field: InnerThread1.inner-->
    </Match>
    <Match class="Insect">
        <BugCode name="UR"/>
        <!--Uninitialized read of Insect.j in Insect.<init>()  At Beetle.java:[line 9]-->
    </Match>
    <Match class="InstantiateGenericType">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method InstantiateGenericType.main(String[])  At InstantiateGenericType.java:[line 19]-->
        <!--Dead store to local variable in method InstantiateGenericType.main(String[])  At InstantiateGenericType.java:[line 23]-->
    </Match>
    <Match class="JUnitDemo">
        <BugCode name="IJU"/>
        <!--TestCase JUnitDemo implements setUp but doesn't call super.setUp()  At JUnitDemo.java:[lines 30-31]-->
        <!--TestCase JUnitDemo implements tearDown but doesn't call super.tearDown()  At JUnitDemo.java:[lines 36-37]-->
    </Match>
    <Match class="Joining">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Joining.main(String[])  At Joining.java:[line 47]-->
        <!--Dead store to local variable in method Joining.main(String[])  At Joining.java:[line 48]-->
    </Match>
    <Match class="LibTest">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method LibTest.main(String[])  At LibTest.java:[line 7]-->
        <!--Dead store to local variable in method LibTest.main(String[])  At LibTest.java:[line 8]-->
    </Match>
    <Match class="Literals">
        <BugCode name="UrF"/>
        <!--Unread field: Literals.b-->
        <!--Unread field: Literals.c-->
        <!--Unread field: Literals.d1-->
        <!--Unread field: Literals.d2-->
        <!--Unread field: Literals.d3-->
        <!--Unread field: Literals.f1-->
        <!--Unread field: Literals.f2-->
        <!--Unread field: Literals.f3-->
        <!--Unread field: Literals.f4-->
        <!--Unread field: Literals.f5-->
        <!--Unread field: Literals.i1-->
        <!--Unread field: Literals.i2-->
        <!--Unread field: Literals.i3-->
        <!--Unread field: Literals.n1-->
        <!--Unread field: Literals.n2-->
        <!--Unread field: Literals.n3-->
        <!--Unread field: Literals.s-->
    </Match>
    <Match class="LockingMappedFiles">
        <BugCode name="RV"/>
        <!--LockingMappedFiles.main(String[]) ignores return value of LockingMappedFiles$LockAndModify.<init>(java.nio.ByteBuffer,int,int)  At LockingMappedFiles.java:[line 19]-->
        <!--LockingMappedFiles.main(String[]) ignores return value of LockingMappedFiles$LockAndModify.<init>(java.nio.ByteBuffer,int,int)  At LockingMappedFiles.java:[line 20]-->
    </Match>
    <Match class="Lunch">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Lunch.test()  At Lunch.java:[line 30]-->
    </Match>
    <Match class="MPair">
        <BugCode name="HE"/>
        <!--MPair defines equals and uses Object.hashCode()-->
    </Match>
    <Match class="MappedIO$4">
        <BugCode name="OS"/>
        <!--MappedIO$4.test() may fail to close stream  At MappedIO.java:[line 61]-->
    </Match>
    <Match class="Mugs">
        <BugCode name="UrF"/>
        <!--Unread field: Mugs.c1-->
        <!--Unread field: Mugs.c2-->
    </Match>
    <Match class="NIOInterruption">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method NIOInterruption.main(String[])  At NIOInterruption.java:[line 31]-->
    </Match>
    <Match class="Parcel1">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Parcel1.ship(String)  At Parcel1.java:[line 19]-->
        <!--Dead store to local variable in method Parcel11.main(String[])  At Parcel11.java:[line 18]-->
        <!--Dead store to local variable in method Parcel11.main(String[])  At Parcel11.java:[line 19]-->
    </Match>
    <Match class="Parcel1$Contents">
        <BugCode name="SIC"/>
        <!--Should Parcel1$Contents be a _static_ inner class?-->
    </Match>
    <Match class="Parcel1$Destination">
        <BugCode name="SIC"/>
        <!--Should Parcel1$Destination be a _static_ inner class?-->
    </Match>
    <Match class="Parcel11">
        <BugCode name="DLS"/>
        <!--Dead store to local variable in method Parcel11.main(String[])  At Parcel11.java:[line 18]-->
        <!--Dead store to local variable in method Parcel11.main(String[])  At Parcel11.java:[line 19]-->

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -