groovy-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sun...@apache.org
Subject [groovy] branch master updated (df28077 -> 5143bb7)
Date Sun, 03 Nov 2019 15:00:43 GMT
This is an automated email from the ASF dual-hosted git repository.

sunlan pushed a change to branch master
in repository https://gitbox.apache.org/repos/asf/groovy.git.


    from df28077  Fix "java.lang.RuntimeException: No suitable ClassLoader found for grab"
caused by refactoring
     new d676590  Minor refactoring: 'for' loop can be replaced with 'foreach'
     new 7ad8e56  Minor refactoring: 'while' loop can be replaced with 'foreach'
     new 0456dfa  Trivial refactoring: Anonymous type has shorter lambda alternative
     new ea12ea4  Trivial refactoring: `Collections.sort()` can be replaced with `List.sort()`
     new 5143bb7  Trivial refactoring: Comparator combinator can be used

The 5 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.


Summary of changes:
 src/main/java/groovy/inspect/Inspector.java        |   3 +-
 .../java/groovy/lang/BenchmarkInterceptor.java     |   6 +-
 src/main/java/groovy/lang/ExpandoMetaClass.java    |   5 +-
 src/main/java/groovy/lang/MetaClassImpl.java       |  34 +++----
 .../java/groovy/util/FactoryBuilderSupport.java    |   7 +-
 .../util/concurrentlinkedhashmap/Weighers.java     |   8 +-
 src/main/java/org/codehaus/groovy/antlr/Main.java  |  31 +++---
 .../groovy/antlr/java/Java2GroovyProcessor.java    |   5 +-
 .../groovy/antlr/treewalker/CompositeVisitor.java  |  20 ++--
 .../antlr/treewalker/FlatNodeListTraversal.java    |   8 +-
 .../groovy/ast/expr/ArgumentListExpression.java    |   3 +-
 .../codehaus/groovy/ast/tools/GenericsUtils.java   |   4 +-
 .../groovy/classgen/AsmClassGenerator.java         |  18 ++--
 .../codehaus/groovy/classgen/BytecodeSequence.java |   7 +-
 .../groovy/classgen/DummyClassGenerator.java       |   9 +-
 .../codehaus/groovy/classgen/asm/CompileStack.java |   9 +-
 .../groovy/classgen/asm/InvocationWriter.java      |  18 ++--
 .../codehaus/groovy/classgen/asm/MethodCaller.java |   3 +-
 .../codehaus/groovy/control/ErrorCollector.java    |  12 +--
 .../java/org/codehaus/groovy/control/Janitor.java  |   6 +-
 .../groovy/reflection/CachedConstructor.java       |   3 +-
 .../groovy/runtime/DefaultGroovyMethods.java       |  10 +-
 .../groovy/runtime/EncodingGroovyMethods.java      |   4 +-
 .../groovy/runtime/ScriptBytecodeAdapter.java      |   4 +-
 .../runtime/metaclass/ConcurrentReaderHashMap.java | 108 ++++++++++-----------
 .../runtime/metaclass/MetaClassRegistryImpl.java   |   4 +-
 .../groovy/runtime/metaclass/MetaMethodIndex.java  |   4 +-
 .../runtime/powerassert/AssertionRenderer.java     |   5 +-
 .../java/org/codehaus/groovy/syntax/CSTNode.java   |  14 +--
 .../codehaus/groovy/tools/FileSystemCompiler.java  |   4 +-
 .../groovy/tools/javac/JavaStubGenerator.java      |   6 +-
 .../groovy/tools/shell/util/MessageSource.java     |  11 +--
 .../transform/AnnotationCollectorTransform.java    |   3 +-
 .../transform/SortableASTTransformation.java       |   5 +-
 .../transform/ToStringASTTransformation.java       |   5 +-
 .../TupleConstructorASTTransformation.java         |   5 +-
 .../transform/stc/StaticTypeCheckingSupport.java   |   3 +-
 .../groovy/util/AbstractConcurrentMap.java         |  12 +--
 .../groovy/util/AbstractConcurrentMapBase.java     | 100 +++++++++----------
 .../groovy/util/ManagedConcurrentLinkedQueue.java  |   4 +-
 .../org/codehaus/groovy/util/ReferenceManager.java |  38 ++++----
 .../codehaus/groovy/vmplugin/v5/JUnit4Utils.java   |   6 +-
 .../v7/IndyGuardsFiltersAndSignatures.java         |   5 +-
 43 files changed, 258 insertions(+), 321 deletions(-)


Mime
View raw message