Skip to content

Commit

Permalink
Merge pull request #80 from jftsunami/pathutil-symlink
Browse files Browse the repository at this point in the history
Keep PathUtil inside of sym-linked directories
  • Loading branch information
uhafner authored Jan 21, 2019
2 parents 51d134d + ff599df commit 398c9e3
Show file tree
Hide file tree
Showing 10 changed files with 662 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .checkstyle
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
<?xml version="1.0" encoding="UTF-8"?>

<fileset-config file-format-version="1.2.0" simple-config="true" sync-formatter="false">
<local-check-config name="uhafner" location="etc/checkstyle-configuration.xml" type="project" description="">
<additional-data name="protect-config-file" value="true"/>
</local-check-config>
<fileset name="all" enabled="true" check-config-name="uhafner" local="true">
<file-match-pattern match-pattern="." include-pattern="true"/>
</fileset>
</fileset-config>
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,5 @@ node_modules
target
*.iml
.classpath
.project
.settings
pom.xml.versionsBackup
.DS_Store
8 changes: 8 additions & 0 deletions .pmd
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<pmd>
<useProjectRuleSet>true</useProjectRuleSet>
<ruleSetFile>etc/pmd-configuration.xml</ruleSetFile>
<includeDerivedFiles>false</includeDerivedFiles>
<violationsAsErrors>true</violationsAsErrors>
<fullBuildEnabled>true</fullBuildEnabled>
</pmd>
35 changes: 35 additions & 0 deletions .project
Original file line number Diff line number Diff line change
@@ -0,0 +1,35 @@
<?xml version="1.0" encoding="UTF-8"?>
<projectDescription>
<name>analysis-model</name>
<comment></comment>
<projects>
</projects>
<buildSpec>
<buildCommand>
<name>org.eclipse.jdt.core.javabuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sf.eclipsecs.core.CheckstyleBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>net.sourceforge.pmd.eclipse.plugin.pmdBuilder</name>
<arguments>
</arguments>
</buildCommand>
<buildCommand>
<name>org.eclipse.m2e.core.maven2Builder</name>
<arguments>
</arguments>
</buildCommand>
</buildSpec>
<natures>
<nature>org.eclipse.jdt.core.javanature</nature>
<nature>org.eclipse.m2e.core.maven2Nature</nature>
<nature>net.sf.eclipsecs.core.CheckstyleNature</nature>
<nature>net.sourceforge.pmd.eclipse.plugin.pmdNature</nature>
</natures>
</projectDescription>
144 changes: 144 additions & 0 deletions .settings/edu.umd.cs.findbugs.core.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,144 @@
#SpotBugs User Preferences
#Mon Jan 21 11:27:16 EST 2019
detectorExplicitSerialization=ExplicitSerialization|true
detectorMultithreadedInstanceAccess=MultithreadedInstanceAccess|true
detectorConfusionBetweenInheritedAndOuterMethod=ConfusionBetweenInheritedAndOuterMethod|true
detectorWrongMapIterator=WrongMapIterator|true
detectorUnnecessaryMath=UnnecessaryMath|true
detectorUselessSubclassMethod=UselessSubclassMethod|false
filter_settings=Medium|BAD_PRACTICE,CORRECTNESS,MT_CORRECTNESS,PERFORMANCE,STYLE|false|15
detectorURLProblems=URLProblems|true
detectorIteratorIdioms=IteratorIdioms|true
detectorMutableEnum=MutableEnum|true
detectorFindNonShortCircuit=FindNonShortCircuit|true
detectorSynchronizeAndNullCheckField=SynchronizeAndNullCheckField|true
detectorVolatileUsage=VolatileUsage|true
detectorFindNakedNotify=FindNakedNotify|true
detectorFindUninitializedGet=FindUninitializedGet|true
detectorFindUseOfNonSerializableValue=FindUseOfNonSerializableValue|true
detectorFindJSR166LockMonitorenter=FindJSR166LockMonitorenter|true
detectorQuestionableBooleanAssignment=QuestionableBooleanAssignment|true
detectorSwitchFallthrough=SwitchFallthrough|true
detectorFindLocalSelfAssignment2=FindLocalSelfAssignment2|true
detectorConfusedInheritance=ConfusedInheritance|true
detectorSynchronizationOnSharedBuiltinConstant=SynchronizationOnSharedBuiltinConstant|true
detectorMutableStaticFields=MutableStaticFields|true
detectorInvalidJUnitTest=InvalidJUnitTest|true
detectorInfiniteLoop=InfiniteLoop|true
detectorFindRunInvocations=FindRunInvocations|true
detectorBadSyntaxForRegularExpression=BadSyntaxForRegularExpression|true
detectorXMLFactoryBypass=XMLFactoryBypass|true
detectorFindOpenStream=FindOpenStream|true
detectorCheckExpectedWarnings=CheckExpectedWarnings|false
detectorHugeSharedStringConstants=HugeSharedStringConstants|true
detectorLostLoggerDueToWeakReference=LostLoggerDueToWeakReference|true
detectorStringConcatenation=StringConcatenation|true
detectorLoadOfKnownNullValue=LoadOfKnownNullValue|true
detectorFinalizerNullsFields=FinalizerNullsFields|true
detectorFindFieldSelfAssignment=FindFieldSelfAssignment|true
detectorInefficientToArray=InefficientToArray|false
detectorDontCatchIllegalMonitorStateException=DontCatchIllegalMonitorStateException|true
detectorInconsistentAnnotations=InconsistentAnnotations|true
detectorBadlyOverriddenAdapter=BadlyOverriddenAdapter|true
detectorInstantiateStaticClass=InstantiateStaticClass|true
detectorCheckRelaxingNullnessAnnotation=CheckRelaxingNullnessAnnotation|true
detectorMethodReturnCheck=MethodReturnCheck|true
detectorEqualsOperandShouldHaveClassCompatibleWithThis=EqualsOperandShouldHaveClassCompatibleWithThis|true
detectorFindDoubleCheck=FindDoubleCheck|true
detectorFindBadForLoop=FindBadForLoop|true
detectorDefaultEncodingDetector=DefaultEncodingDetector|true
detectorFindInconsistentSync2=FindInconsistentSync2|true
detectorFindSpinLoop=FindSpinLoop|true
detectorFindMaskedFields=FindMaskedFields|true
detectorBooleanReturnNull=BooleanReturnNull|true
detectorFindUnsyncGet=FindUnsyncGet|true
detectorCrossSiteScripting=CrossSiteScripting|true
detectorDroppedException=DroppedException|true
detectorFindDeadLocalStores=FindDeadLocalStores|true
detectorCheckImmutableAnnotation=CheckImmutableAnnotation|true
detectorInfiniteRecursiveLoop=InfiniteRecursiveLoop|true
detectorFindRefComparison=FindRefComparison|true
detectorFindRoughConstants=FindRoughConstants|true
detectorMutableLock=MutableLock|true
detectorFindNullDeref=FindNullDeref|true
detectorFindReturnRef=FindReturnRef|true
detectorSynchronizeOnClassLiteralNotGetClass=SynchronizeOnClassLiteralNotGetClass|true
detectorInefficientReplaceAll=InefficientReplaceAll|false
detectorFindUselessControlFlow=FindUselessControlFlow|true
detectorOverridingEqualsNotSymmetrical=OverridingEqualsNotSymmetrical|true
detectorIDivResultCastToDouble=IDivResultCastToDouble|true
detectorReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass=ReadOfInstanceFieldInMethodInvokedByConstructorInSuperclass|true
detectorFindSelfComparison=FindSelfComparison|true
detectorFindFloatEquality=FindFloatEquality|true
detectorFindComparatorProblems=FindComparatorProblems|true
detectorRepeatedConditionals=RepeatedConditionals|true
filter_settings_neg=MALICIOUS_CODE,SECURITY,EXPERIMENTAL,NOISE,I18N|
detectorInefficientMemberAccess=InefficientMemberAccess|false
detectorFindUncalledPrivateMethods=FindUncalledPrivateMethods|true
detectorNumberConstructor=NumberConstructor|true
detectorFindFinalizeInvocations=FindFinalizeInvocations|true
detectorFindNullDerefsInvolvingNonShortCircuitEvaluation=FindNullDerefsInvolvingNonShortCircuitEvaluation|true
detectorDontIgnoreResultOfPutIfAbsent=DontIgnoreResultOfPutIfAbsent|true
detectorFindUnconditionalWait=FindUnconditionalWait|true
detectorFindTwoLockWait=FindTwoLockWait|true
detectorFindSleepWithLockHeld=FindSleepWithLockHeld|true
detectorFindUnreleasedLock=FindUnreleasedLock|true
detectorInefficientIndexOf=InefficientIndexOf|false
detectorDoInsideDoPrivileged=DoInsideDoPrivileged|true
detectorFindEmptySynchronizedBlock=FindEmptySynchronizedBlock|true
detectorWaitInLoop=WaitInLoop|true
detectorIntCast2LongAsInstant=IntCast2LongAsInstant|true
detectorBadUseOfReturnValue=BadUseOfReturnValue|true
detectorFindSqlInjection=FindSqlInjection|true
detectorUnreadFields=UnreadFields|true
detectorSynchronizingOnContentsOfFieldToProtectField=SynchronizingOnContentsOfFieldToProtectField|true
detectorFindUselessObjects=FindUselessObjects|true
detectorBadAppletConstructor=BadAppletConstructor|false
detectorInheritanceUnsafeGetResource=InheritanceUnsafeGetResource|true
detectorSerializableIdiom=SerializableIdiom|true
detectorNaming=Naming|true
detectorNoteUnconditionalParamDerefs=NoteUnconditionalParamDerefs|true
detectorFormatStringChecker=FormatStringChecker|true
detectorSuspiciousThreadInterrupted=SuspiciousThreadInterrupted|true
detectorEmptyZipFileEntry=EmptyZipFileEntry|false
detectorFindCircularDependencies=FindCircularDependencies|false
detectorPreferZeroLengthArrays=PreferZeroLengthArrays|true
detectorAtomicityProblem=AtomicityProblem|true
detectorRuntimeExceptionCapture=RuntimeExceptionCapture|true
detectorInitializationChain=InitializationChain|true
detectorInitializeNonnullFieldsInConstructor=InitializeNonnullFieldsInConstructor|true
detectorOptionalReturnNull=OptionalReturnNull|true
detectorStartInConstructor=StartInConstructor|true
detectorFindUnsatisfiedObligation=FindUnsatisfiedObligation|true
detectorRedundantConditions=RedundantConditions|true
effort=default
detectorRedundantInterfaces=RedundantInterfaces|true
detectorDuplicateBranches=DuplicateBranches|true
detectorCheckTypeQualifiers=CheckTypeQualifiers|true
detectorComparatorIdiom=ComparatorIdiom|true
detectorFindBadCast2=FindBadCast2|true
detectorFindMismatchedWaitOrNotify=FindMismatchedWaitOrNotify|true
excludefilter0=etc/spotbugs-exclusion-filter.xml|true
detectorBadResultSetAccess=BadResultSetAccess|true
detectorIncompatMask=IncompatMask|true
detectorCovariantArrayAssignment=CovariantArrayAssignment|false
detectorDumbMethodInvocations=DumbMethodInvocations|true
run_at_full_build=false
detectorStaticCalendarDetector=StaticCalendarDetector|true
detectorUncallableMethodOfAnonymousClass=UncallableMethodOfAnonymousClass|true
detectorVarArgsProblems=VarArgsProblems|true
detectorInefficientInitializationInsideLoop=InefficientInitializationInsideLoop|false
detectorCloneIdiom=CloneIdiom|true
detectorFindHEmismatch=FindHEmismatch|true
detectorAppendingToAnObjectOutputStream=AppendingToAnObjectOutputStream|true
detectorFindSelfComparison2=FindSelfComparison2|true
detectorLazyInit=LazyInit|true
detectorFindUnrelatedTypesInGenericContainer=FindUnrelatedTypesInGenericContainer|true
detectorDontUseEnum=DontUseEnum|true
detectorFindPuzzlers=FindPuzzlers|true
detectorCallToUnsupportedMethod=CallToUnsupportedMethod|false
detectorSuperfluousInstanceOf=SuperfluousInstanceOf|true
detectorReadReturnShouldBeChecked=ReadReturnShouldBeChecked|true
detector_threshold=2
detectorPublicSemaphores=PublicSemaphores|false
detectorDumbMethods=DumbMethods|true
6 changes: 6 additions & 0 deletions .settings/org.eclipse.core.resources.prefs
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
eclipse.preferences.version=1
encoding//src/main/java=UTF-8
encoding//src/test/java=UTF-8
encoding//src/test/resources=UTF-8
encoding/<project>=UTF-8
encoding/etc=UTF-8
Loading

0 comments on commit 398c9e3

Please sign in to comment.