Keep concurrentlinkedhashmap as it is
Project: http://git-wip-us.apache.org/repos/asf/groovy/repo Commit: http://git-wip-us.apache.org/repos/asf/groovy/commit/cebc337b Tree: http://git-wip-us.apache.org/repos/asf/groovy/tree/cebc337b Diff: http://git-wip-us.apache.org/repos/asf/groovy/diff/cebc337b Branch: refs/heads/master Commit: cebc337bdd8e33ce832898c99348852f90e62d0f Parents: 35aceee Author: sunlan <[email protected]> Authored: Sat Dec 2 00:28:49 2017 +0800 Committer: sunlan <[email protected]> Committed: Sat Dec 2 00:28:49 2017 +0800 ---------------------------------------------------------------------- build.gradle | 4 + .../ConcurrentLinkedHashMap.java | 2628 +++++++++--------- .../concurrentlinkedhashmap/EntryWeigher.java | 4 +- .../EvictionListener.java | 4 +- .../concurrentlinkedhashmap/LinkedDeque.java | 5 +- .../util/concurrentlinkedhashmap/Weigher.java | 4 +- 6 files changed, 1270 insertions(+), 1379 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/groovy/blob/cebc337b/build.gradle ---------------------------------------------------------------------- diff --git a/build.gradle b/build.gradle index 88e15bd..e4ed3c9 100644 --- a/build.gradle +++ b/build.gradle @@ -187,6 +187,7 @@ ext { xstreamVersion = '1.4.10' spockVersion = '1.1-groovy-2.4-SNAPSHOT' // supports 3.0 antlr4Version = '4.7' + jsr305Version = '3.0.2' isReleaseVersion = !groovyVersion.toLowerCase().endsWith("snapshot") } @@ -213,9 +214,12 @@ dependencies { } compile files("${buildDir}/generated-classes") + compileOnly "com.google.code.findbugs:jsr305:$jsr305Version" + runtime("org.codehaus.gpars:gpars:$gparsVersion") { exclude(group: 'org.codehaus.groovy', module: 'groovy-all') } + testCompile "jmock:jmock:$jmockVersion" testCompile "jmock:jmock-cglib:$jmockVersion" testCompile "xmlunit:xmlunit:$xmlunitVersion"
