]> source.dussan.org Git - aspectj.git/commit
Replace uses of StringBuffer with StringBuilder. 101/head
authorAndrey Turbanov <turbanoff@gmail.com>
Sat, 20 Nov 2021 14:16:22 +0000 (17:16 +0300)
committerAndrey Turbanov <turbanoff@gmail.com>
Sat, 20 Nov 2021 14:22:06 +0000 (17:22 +0300)
commitb1c52e2f5eb624037b8c799c20fbd1b4fd611d9a
tree33d7b6e8f733f20514f46e7871b29e26de47913d
parent0f85ca109b9e6ab849e201e76f62d5023cbfcb98
Replace uses of StringBuffer with StringBuilder.

StringBuffer is a legacy synchronized class. StringBuilder is a direct replacement to StringBuffer which generally have better performance.
221 files changed:
ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/core/BrowserCompilerConfiguration.java
ajbrowser/src/main/java/org/aspectj/tools/ajbrowser/ui/BasicEditor.java
ajde.core/src/main/java/org/aspectj/ajde/core/internal/AjdeCoreBuildManager.java
ajde.core/src/test/java/org/aspectj/ajde/core/tests/AjConfigTest.java
ajde.core/src/test/java/org/aspectj/ajde/core/tests/ShowWeaveMessagesTest.java
ajde/src/main/java/org/aspectj/ajde/Ajde.java
ajde/src/main/java/org/aspectj/ajde/internal/LstBuildConfigFileUpdater.java
ajdoc/src/main/java/org/aspectj/tools/ajdoc/HtmlDecorator.java
ajdoc/src/main/java/org/aspectj/tools/ajdoc/Main.java
ajdoc/src/main/java/org/aspectj/tools/ajdoc/StructureUtil.java
asm/src/main/java/org/aspectj/asm/AsmManager.java
asm/src/main/java/org/aspectj/asm/internal/JDTLikeHandleProvider.java
asm/src/main/java/org/aspectj/asm/internal/ProgramElement.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/BootstrapMethods.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Code.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/ConstantPool.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/ExceptionTable.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Field.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/InnerClasses.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/JavaClass.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/LineNumberTable.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/LocalVariableTable.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/LocalVariableTypeTable.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Method.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/ModulePackages.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/NestHost.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/NestMembers.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Signature.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/StackMap.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/StackMapEntry.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Synthetic.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/Utility.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/annotation/AnnotationElementValue.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/annotation/AnnotationGen.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/annotation/ArrayElementValue.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/annotation/EnumElementValue.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/classfile/annotation/NameValuePair.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/ArrayType.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/FieldGen.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/Instruction.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/InstructionCP.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/InstructionList.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/InstructionSelect.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/MethodGen.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/ObjectType.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/generic/Type.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/util/ClassLoaderRepository.java
bcel-builder/src/main/java/org/aspectj/apache/bcel/util/ClassPath.java
bcel-builder/src/test/java/org/aspectj/apache/bcel/classfile/tests/BcelTestCase.java
bcel-builder/src/test/java/org/aspectj/apache/bcel/classfile/tests/GenericSignatureParsingTest.java
bridge/src/main/java/org/aspectj/bridge/MessageUtil.java
bridge/src/main/java/org/aspectj/bridge/SourceLocation.java
bridge/src/main/java/org/aspectj/bridge/WeaveMessage.java
bridge/src/main/java/org/aspectj/bridge/context/CompilationAndWeavingContext.java
bridge/src/main/java/org/aspectj/bridge/context/PinpointingMessageHandler.java
bridge/src/test/java/org/aspectj/bridge/MessageTest.java
build/src/main/java/$installer$/org/aspectj/Main.java
build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/AJInstaller.java
build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/AntBuilder.java
build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/Checklics.java
build/src/main/java/org/aspectj/internal/tools/ant/taskdefs/StripNonBodyHtml.java
build/src/main/java/org/aspectj/internal/tools/build/Builder.java
build/src/main/java/org/aspectj/internal/tools/build/Module.java
build/src/main/java/org/aspectj/internal/tools/build/SampleGatherer.java
build/src/main/java/org/aspectj/internal/tools/build/Util.java
build/src/test/java/org/aspectj/internal/build/BuildModuleTest.java
build/src/test/java/org/aspectj/internal/build/ModulesTest.java
loadtime/src/main/java/org/aspectj/weaver/loadtime/ClassLoaderWeavingAdaptor.java
loadtime/src/main/java/org/aspectj/weaver/loadtime/ConcreteAspectCodeGen.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/ajc/BuildArgParser.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/AjPipeliningCompilerAdapter.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/WeaverAdapter.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/WeaverMessageHandler.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/ast/AdviceDeclaration.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/ast/DeclareDeclaration.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/ast/IfPseudoToken.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/ast/PointcutDeclaration.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/ast/PointcutDesignator.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/AjLookupEnvironment.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/EclipseResolvedMember.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/EclipseSourceLocation.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/lookup/PushinCollector.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/compiler/problem/AjProblemReporter.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildConfig.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjBuildManager.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjCompilerOptions.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AjState.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AsmElementFormatter.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/AsmHierarchyBuilder.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/ajdt/internal/core/builder/EclipseClassPathManager.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/org/eclipse/jdt/core/dom/AjASTConverter.java
org.aspectj.ajdt.core/src/main/java/org/aspectj/tools/ajc/Main.java
org.aspectj.ajdt.core/src/test/java/WeaveTest.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/ajdt/internal/compiler/batch/IncrementalCase.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/AjcTestCase.java
org.aspectj.ajdt.core/src/test/java/org/aspectj/tools/ajc/CompilationResult.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/AbstractAnnotationAJ.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/Advice.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/AjcMemberMaker.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/AnnotationNameValuePair.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ArrayAnnotationValue.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/Checker.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/IntMap.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/JoinPointSignature.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/MemberImpl.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/NameMangler.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ReferenceType.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedMemberImpl.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedPointcutDefinition.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/ResolvedType.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/Shadow.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/SignatureUtils.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/StandardAnnotation.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeFactory.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeVariable.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/TypeVariableReferenceType.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/UnresolvedType.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/World.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AndTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnnotationPatternList.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/AnnotationPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ArgsAnnotationPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/BasicTokenSource.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/Bindings.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/CflowPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareErrorOrWarning.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareParents.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareParentsMixin.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclarePrecedence.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareSoft.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/DeclareTypeErrorOrWarning.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactAnnotationFieldTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ExactTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HandlerPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/HasMemberTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/IfPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/KindedPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/NotTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/OrTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/PatternParser.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ReferencePointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/SignaturePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/ThisOrTargetAnnotationPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/TypePatternList.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/TypePatternQuestions.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/TypeVariablePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WildTypePattern.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WithinAnnotationPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/patterns/WithinCodeAnnotationPointcut.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/AbstractTrace.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/PointcutParser.java
org.aspectj.matcher/src/main/java/org/aspectj/weaver/tools/StandardPointcutParser.java
org.aspectj.matcher/src/test/java/org/aspectj/weaver/patterns/ParserTestCase.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/AdviceImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/DeclareAnnotationImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/DeclareErrorOrWarningImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/DeclareParentsImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/DeclareSoftImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/InterTypeConstructorDeclarationImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/InterTypeFieldDeclarationImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/InterTypeMethodDeclarationImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/PointcutBasedPerClauseImpl.java
runtime/src/main/java/org/aspectj/internal/lang/reflect/PointcutImpl.java
runtime/src/main/java/org/aspectj/runtime/reflect/FieldSignatureImpl.java
runtime/src/main/java/org/aspectj/runtime/reflect/InitializerSignatureImpl.java
runtime/src/main/java/org/aspectj/runtime/reflect/JoinPointImpl.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/Ajc10.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/AjcTask.java
taskdefs/src/main/java/org/aspectj/tools/ant/taskdefs/compilers/Ajc.java
testing-drivers/src/test/java/org/aspectj/testing/drivers/Harness.java
testing-util/src/main/java/org/aspectj/testing/util/TestUtil.java
testing/src/test/java/org/aspectj/internal/tools/ant/taskdefs/Ajctest.java
testing/src/test/java/org/aspectj/testing/CompileSpec.java
testing/src/test/java/org/aspectj/testing/OutputSpec.java
testing/src/test/java/org/aspectj/testing/WeaveSpec.java
testing/src/test/java/org/aspectj/testing/XMLBasedAjcTestCase.java
testing/src/test/java/org/aspectj/testing/ajde/CompileCommand.java
testing/src/test/java/org/aspectj/testing/harness/bridge/AjcSpecTest.java
testing/src/test/java/org/aspectj/testing/harness/bridge/CompilerRunSpecTest.java
testing/src/test/java/org/aspectj/testing/harness/bridge/DirChangesTest.java
testing/src/test/java/org/aspectj/testing/run/RunStatus.java
testing/src/test/java/org/aspectj/testing/util/BridgeUtil.java
testing/src/test/java/org/aspectj/testing/util/LangUtil.java
testing/src/test/java/org/aspectj/testing/util/LineReader.java
testing/src/test/java/org/aspectj/testing/util/LinkCheck.java
testing/src/test/java/org/aspectj/testing/util/UtilLineReader.java
testing/src/test/java/org/aspectj/testing/util/WebInstall.java
testing/src/test/java/org/aspectj/testing/util/options/Options.java
testing/src/test/java/org/aspectj/testing/util/options/Values.java
testing/src/test/java/org/aspectj/testing/xml/MessageListXmlReader.java
testing/src/test/java/org/aspectj/testing/xml/SoftMessage.java
testing/src/test/java/org/aspectj/testing/xml/XMLWriter.java
tests/src/test/java/org/aspectj/systemtest/ajc150/GenericsTests.java
tests/src/test/java/org/aspectj/systemtest/ajc152/SynchronizationTransformTests.java
tests/src/test/java/org/aspectj/systemtest/ajc169/TransparentWeavingTests.java
tests/src/test/java/org/aspectj/systemtest/incremental/tools/AjdeInteractionTestbed.java
tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjTestCompilerConfiguration.java
tests/src/test/java/org/aspectj/systemtest/incremental/tools/MultiProjectIncrementalTests.java
util/src/main/java/org/aspectj/util/FileUtil.java
util/src/main/java/org/aspectj/util/GenericSignature.java
util/src/main/java/org/aspectj/util/GenericSignatureParser.java
util/src/main/java/org/aspectj/util/LangUtil.java
util/src/test/java/org/aspectj/util/FileUtilTest.java
util/src/test/java/org/aspectj/util/GenericSignatureParserTest.java
weaver/src/main/java/org/aspectj/weaver/bcel/AtAjAttributes.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelAnnotation.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelClassWeaver.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelGenericSignatureToTypeXConverter.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelShadow.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelTypeMunger.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelWeaver.java
weaver/src/main/java/org/aspectj/weaver/bcel/BcelWorld.java
weaver/src/main/java/org/aspectj/weaver/bcel/ClassPathManager.java
weaver/src/main/java/org/aspectj/weaver/bcel/LazyClassGen.java
weaver/src/main/java/org/aspectj/weaver/bcel/LazyMethodGen.java
weaver/src/main/java/org/aspectj/weaver/bcel/Utility.java
weaver/src/main/java/org/aspectj/weaver/loadtime/definition/LightXMLParser.java
weaver/src/main/java/org/aspectj/weaver/model/AsmRelationshipProvider.java
weaver/src/main/java/org/aspectj/weaver/model/AsmRelationshipUtils.java
weaver/src/test/java/org/aspectj/weaver/reflect/ReflectionBasedReferenceTypeDelegateTest.java
weaver/src/test/java/org/aspectj/weaver/tools/Java15PointcutExpressionTest.java