Changeset 8656 in josm


Ignore:
Timestamp:
2015-08-09T23:30:52+02:00 (5 years ago)
Author:
Don-vip
Message:

enable Findbugs in Eclipse project

Location:
trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/.project

    r8508 r8656  
    3131                        </arguments>
    3232                </buildCommand>
     33                <buildCommand>
     34                        <name>edu.umd.cs.findbugs.plugin.eclipse.findbugsBuilder</name>
     35                        <arguments>
     36                        </arguments>
     37                </buildCommand>
    3338        </buildSpec>
    3439        <natures>
     
    3843                <nature>sf.eclipse.javacc.javaccnature</nature>
    3944                <nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
     45                <nature>edu.umd.cs.findbugs.plugin.eclipse.findbugsNature</nature>
    4046        </natures>
    4147</projectDescription>
  • trunk/.settings/edu.umd.cs.findbugs.core.prefs

    r6757 r8656  
    11#FindBugs User Preferences
    2 #Fri Jan 24 10:43:38 CET 2014
     2#Sat Aug 01 23:18:50 CEST 2015
    33cloud_id=edu.umd.cs.findbugs.cloud.doNothingCloud
    44detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
     
    1919detectorConfusedInheritance=ConfusedInheritance|true
    2020detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true
     21detectorCovariantArrayAssignment=CovariantArrayAssignment|false
    2122detectorCrossSiteScripting=CrossSiteScripting|true
    2223detectorDefaultEncodingDetector=DefaultEncodingDetector|true
     
    3637detectorFindBadForLoop=FindBadForLoop|true
    3738detectorFindCircularDependencies=FindCircularDependencies|false
     39detectorFindComparatorProblems=FindComparatorProblems|true
    3840detectorFindDeadLocalStores=FindDeadLocalStores|true
    3941detectorFindDoubleCheck=FindDoubleCheck|true
     
    5658detectorFindRefComparison=FindRefComparison|true
    5759detectorFindReturnRef=FindReturnRef|true
     60detectorFindRoughConstants=FindRoughConstants|true
    5861detectorFindRunInvocations=FindRunInvocations|true
    5962detectorFindSelfComparison=FindSelfComparison|true
     
    7275detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true
    7376detectorFindUselessControlFlow=FindUselessControlFlow|true
     77detectorFindUselessObjects=FindUselessObjects|true
    7478detectorFormatStringChecker=FormatStringChecker|true
    7579detectorHugeSharedStringConstants=HugeSharedStringConstants|true
     
    7781detectorIncompatMask=IncompatMask|true
    7882detectorInconsistentAnnotations=InconsistentAnnotations|true
     83detectorInefficientIndexOf=InefficientIndexOf|false
     84detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false
    7985detectorInefficientMemberAccess=InefficientMemberAccess|false
    8086detectorInefficientToArray=InefficientToArray|true
     
    9399detectorMethodReturnCheck=MethodReturnCheck|true
    94100detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
     101detectorMutableEnum=MutableEnum|true
    95102detectorMutableLock=MutableLock|true
    96103detectorMutableStaticFields=MutableStaticFields|true
     
    98105detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true
    99106detectorNumberConstructor=NumberConstructor|true
     107detectorOptionalReturnNull=OptionalReturnNull|true
    100108detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
    101109detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
     
    104112detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true
    105113detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
     114detectorRedundantConditions=RedundantConditions|true
    106115detectorRedundantInterfaces=RedundantInterfaces|true
    107116detectorRepeatedConditionals=RepeatedConditionals|true
     
    114123detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true
    115124detectorSwitchFallthrough=SwitchFallthrough|true
     125detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true
    116126detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true
    117127detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true
     
    130140effort=max
    131141excludefilter0=tools/findbugs/josm-filter.xml|true
    132 filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,STYLE|false|16
    133 filter_settings_neg=NOISE,I18N,SECURITY|
    134 run_at_full_build=false
     142filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,EXPERIMENTAL,I18N,MALICIOUS_CODE,MT_CORRECTNESS,PERFORMANCE,SECURITY,STYLE|false|16
     143filter_settings_neg=NOISE|
     144run_at_full_build=true
  • trunk/build.xml

    r8632 r8656  
    240240            <compilerarg value="-XDignore.symbol.file"/>
    241241        </javac>
    242 
    243242        <!-- JOSM -->
    244243        <javac sourcepath="" srcdir="${src.dir}" excludes="com/**,oauth/**,org/apache/commons/**,org/glassfish/**,org/openstreetmap/gui/jmapviewer/Demo.java"
     
    258257            <compilerarg value="-XDignore.symbol.file"/>
    259258        </javac>
    260 
    261259
    262260        <copy todir="build" failonerror="no" includeemptydirs="no">
Note: See TracChangeset for help on using the changeset viewer.