Skip to main content
aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEd Merks2019-11-17 05:35:56 -0500
committerEd Merks2019-11-17 05:35:56 -0500
commit98248a3cc2220932cce25575594fecbb34048873 (patch)
tree00795ff15bd3bcf1d8c02d29573acd58089590f4
parent909edc8ea453252a929e02081b0a1c7945bc7cbf (diff)
downloadorg.eclipse.xsd-98248a3cc2220932cce25575594fecbb34048873.tar.gz
org.eclipse.xsd-98248a3cc2220932cce25575594fecbb34048873.tar.xz
org.eclipse.xsd-98248a3cc2220932cce25575594fecbb34048873.zip
[releng] Regenerate with latest generatorR2_20_0
This just uses StringBuilder instead of StringBuffer in the generated Impls.
-rw-r--r--features/org.eclipse.xsd-feature/feature.xml2
-rw-r--r--features/org.eclipse.xsd-feature/pom.xml2
-rw-r--r--features/org.eclipse.xsd.sdk-feature/feature.xml2
-rw-r--r--features/org.eclipse.xsd.sdk-feature/pom.xml2
-rw-r--r--plugins/org.eclipse.xsd/META-INF/MANIFEST.MF4
-rw-r--r--plugins/org.eclipse.xsd/pom.xml2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAnnotationImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAttributeUseImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDBoundedFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDCardinalityFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDComplexTypeDefinitionImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDConcreteComponentImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDDiagnosticImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDElementDeclarationImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDEnumerationFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFeatureImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFixedFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFractionDigitsFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDIdentityConstraintDefinitionImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDImportImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDLengthFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxLengthFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinLengthFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNamedComponentImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNotationDeclarationImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNumericFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDOrderedFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPackageImpl.java6
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDParticleImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPatternFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaDirectiveImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSimpleTypeDefinitionImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDTotalDigitsFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWhiteSpaceFacetImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWildcardImpl.java2
-rw-r--r--plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDXPathDefinitionImpl.java2
41 files changed, 44 insertions, 44 deletions
diff --git a/features/org.eclipse.xsd-feature/feature.xml b/features/org.eclipse.xsd-feature/feature.xml
index b22f21c1..753aeaa5 100644
--- a/features/org.eclipse.xsd-feature/feature.xml
+++ b/features/org.eclipse.xsd-feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.xsd"
label="%featureName"
- version="2.17.0.qualifier"
+ version="2.18.0.qualifier"
provider-name="%providerName"
license-feature="org.eclipse.xsd.license"
license-feature-version="2.11.0">
diff --git a/features/org.eclipse.xsd-feature/pom.xml b/features/org.eclipse.xsd-feature/pom.xml
index 2be7c460..1d780e34 100644
--- a/features/org.eclipse.xsd-feature/pom.xml
+++ b/features/org.eclipse.xsd-feature/pom.xml
@@ -12,7 +12,7 @@
<groupId>org.eclipse.emf.features</groupId>
<artifactId>org.eclipse.xsd</artifactId>
- <version>2.17.0-SNAPSHOT</version>
+ <version>2.18.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
</project>
diff --git a/features/org.eclipse.xsd.sdk-feature/feature.xml b/features/org.eclipse.xsd.sdk-feature/feature.xml
index f71f9dc7..de338f05 100644
--- a/features/org.eclipse.xsd.sdk-feature/feature.xml
+++ b/features/org.eclipse.xsd.sdk-feature/feature.xml
@@ -2,7 +2,7 @@
<feature
id="org.eclipse.xsd.sdk"
label="%featureName"
- version="2.19.0.qualifier"
+ version="2.20.0.qualifier"
provider-name="%providerName"
license-feature="org.eclipse.xsd.license"
license-feature-version="2.11.0">
diff --git a/features/org.eclipse.xsd.sdk-feature/pom.xml b/features/org.eclipse.xsd.sdk-feature/pom.xml
index 057c7f00..9e262af2 100644
--- a/features/org.eclipse.xsd.sdk-feature/pom.xml
+++ b/features/org.eclipse.xsd.sdk-feature/pom.xml
@@ -12,7 +12,7 @@
<groupId>org.eclipse.emf.features</groupId>
<artifactId>org.eclipse.xsd.sdk</artifactId>
- <version>2.19.0-SNAPSHOT</version>
+ <version>2.20.0-SNAPSHOT</version>
<packaging>eclipse-feature</packaging>
<build>
diff --git a/plugins/org.eclipse.xsd/META-INF/MANIFEST.MF b/plugins/org.eclipse.xsd/META-INF/MANIFEST.MF
index b5a53417..520f74ed 100644
--- a/plugins/org.eclipse.xsd/META-INF/MANIFEST.MF
+++ b/plugins/org.eclipse.xsd/META-INF/MANIFEST.MF
@@ -2,7 +2,7 @@ Manifest-Version: 1.0
Bundle-ManifestVersion: 2
Bundle-Name: %pluginName
Bundle-SymbolicName: org.eclipse.xsd; singleton:=true
-Bundle-Version: 2.16.0.qualifier
+Bundle-Version: 2.17.0.qualifier
Bundle-ClassPath: .
Bundle-Activator: org.eclipse.xsd.XSDPlugin$Implementation
Bundle-Vendor: %providerName
@@ -14,7 +14,7 @@ Export-Package: org.eclipse.xsd,
org.eclipse.xsd.impl.type,
org.eclipse.xsd.util
Require-Bundle: org.eclipse.core.runtime;bundle-version="[3.6.0,4.0.0)",
- org.eclipse.emf.ecore;bundle-version="[2.16.0,3.0.0)";visibility:=reexport
+ org.eclipse.emf.ecore;bundle-version="[2.20.0,3.0.0)";visibility:=reexport
Eclipse-LazyStart: true
Bundle-ActivationPolicy: lazy
Automatic-Module-Name: org.eclipse.xsd
diff --git a/plugins/org.eclipse.xsd/pom.xml b/plugins/org.eclipse.xsd/pom.xml
index c941a6fc..50b79a39 100644
--- a/plugins/org.eclipse.xsd/pom.xml
+++ b/plugins/org.eclipse.xsd/pom.xml
@@ -12,7 +12,7 @@
<groupId>org.eclipse.emf</groupId>
<artifactId>org.eclipse.xsd</artifactId>
- <version>2.16.0-SNAPSHOT</version>
+ <version>2.17.0-SNAPSHOT</version>
<packaging>eclipse-plugin</packaging>
</project>
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAnnotationImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAnnotationImpl.java
index 94f3b9ab..ff1ce08e 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAnnotationImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAnnotationImpl.java
@@ -258,7 +258,7 @@ public class XSDAnnotationImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (applicationInformation: ");
result.append(applicationInformation);
result.append(", userInformation: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAttributeUseImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAttributeUseImpl.java
index dad4e0d1..c151884e 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAttributeUseImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDAttributeUseImpl.java
@@ -727,7 +727,7 @@ public class XSDAttributeUseImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (required: ");
result.append((eFlags & REQUIRED_EFLAG) != 0);
result.append(", value: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDBoundedFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDBoundedFacetImpl.java
index 6c4a03ca..a04f541f 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDBoundedFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDBoundedFacetImpl.java
@@ -176,7 +176,7 @@ public class XSDBoundedFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append((eFlags & VALUE_EFLAG) != 0);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDCardinalityFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDCardinalityFacetImpl.java
index 965747ee..d8236721 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDCardinalityFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDCardinalityFacetImpl.java
@@ -205,7 +205,7 @@ public class XSDCardinalityFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(VALUE_EFLAG_VALUES[(eFlags & VALUE_EFLAG) >>> VALUE_EFLAG_OFFSET]);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDComplexTypeDefinitionImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDComplexTypeDefinitionImpl.java
index 4371dfa8..5913e4e0 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDComplexTypeDefinitionImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDComplexTypeDefinitionImpl.java
@@ -3226,7 +3226,7 @@ public class XSDComplexTypeDefinitionImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (derivationMethod: ");
if ((eFlags & DERIVATION_METHOD_ESETFLAG) != 0) result.append(DERIVATION_METHOD_EFLAG_VALUES[(eFlags & DERIVATION_METHOD_EFLAG) >>> DERIVATION_METHOD_EFLAG_OFFSET]); else result.append("<unset>");
result.append(", final: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDConcreteComponentImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDConcreteComponentImpl.java
index 5ee3e799..aec8ebd8 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDConcreteComponentImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDConcreteComponentImpl.java
@@ -2012,7 +2012,7 @@ public abstract class XSDConcreteComponentImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (element: ");
result.append(element);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDDiagnosticImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDDiagnosticImpl.java
index 946437f6..2d92d309 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDDiagnosticImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDDiagnosticImpl.java
@@ -789,7 +789,7 @@ public class XSDDiagnosticImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (severity: ");
result.append(SEVERITY_EFLAG_VALUES[(eFlags & SEVERITY_EFLAG) >>> SEVERITY_EFLAG_OFFSET]);
result.append(", message: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDElementDeclarationImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDElementDeclarationImpl.java
index e4507e32..1bad241e 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDElementDeclarationImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDElementDeclarationImpl.java
@@ -2246,7 +2246,7 @@ public class XSDElementDeclarationImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (nillable: ");
if ((eFlags & NILLABLE_ESETFLAG) != 0) result.append((eFlags & NILLABLE_EFLAG) != 0); else result.append("<unset>");
result.append(", disallowedSubstitutions: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDEnumerationFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDEnumerationFacetImpl.java
index 6837fd1b..c5de00ae 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDEnumerationFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDEnumerationFacetImpl.java
@@ -182,7 +182,7 @@ public class XSDEnumerationFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFacetImpl.java
index f0a6e165..ee9ab28b 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFacetImpl.java
@@ -399,7 +399,7 @@ public abstract class XSDFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (lexicalValue: ");
result.append(lexicalValue);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFeatureImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFeatureImpl.java
index e0e6760f..9c8ea39c 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFeatureImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFeatureImpl.java
@@ -585,7 +585,7 @@ public abstract class XSDFeatureImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(", constraint: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFixedFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFixedFacetImpl.java
index ba5c1d37..25555b45 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFixedFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFixedFacetImpl.java
@@ -270,7 +270,7 @@ public abstract class XSDFixedFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (fixed: ");
if ((eFlags & FIXED_ESETFLAG) != 0) result.append((eFlags & FIXED_EFLAG) != 0); else result.append("<unset>");
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFractionDigitsFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFractionDigitsFacetImpl.java
index b9c3aaed..2b22784c 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFractionDigitsFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDFractionDigitsFacetImpl.java
@@ -201,7 +201,7 @@ public class XSDFractionDigitsFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDIdentityConstraintDefinitionImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDIdentityConstraintDefinitionImpl.java
index 34b51405..2c4059b4 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDIdentityConstraintDefinitionImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDIdentityConstraintDefinitionImpl.java
@@ -484,7 +484,7 @@ public class XSDIdentityConstraintDefinitionImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (identityConstraintCategory: ");
result.append(IDENTITY_CONSTRAINT_CATEGORY_EFLAG_VALUES[(eFlags & IDENTITY_CONSTRAINT_CATEGORY_EFLAG) >>> IDENTITY_CONSTRAINT_CATEGORY_EFLAG_OFFSET]);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDImportImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDImportImpl.java
index f3dee6a2..0355aa32 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDImportImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDImportImpl.java
@@ -297,7 +297,7 @@ public class XSDImportImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (namespace: ");
result.append(namespace);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDLengthFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDLengthFacetImpl.java
index e58068a3..48f77d6b 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDLengthFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDLengthFacetImpl.java
@@ -206,7 +206,7 @@ public class XSDLengthFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxFacetImpl.java
index f2253cc1..78e36e98 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxFacetImpl.java
@@ -248,7 +248,7 @@ public abstract class XSDMaxFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxLengthFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxLengthFacetImpl.java
index 0f513d25..a39499e2 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxLengthFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMaxLengthFacetImpl.java
@@ -203,7 +203,7 @@ public class XSDMaxLengthFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinFacetImpl.java
index 3b539083..1f111540 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinFacetImpl.java
@@ -249,7 +249,7 @@ public abstract class XSDMinFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinLengthFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinLengthFacetImpl.java
index fec9eb00..0d3b5e48 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinLengthFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDMinLengthFacetImpl.java
@@ -205,7 +205,7 @@ public class XSDMinLengthFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java
index e82682f8..752d8af9 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDModelGroupImpl.java
@@ -419,7 +419,7 @@ public class XSDModelGroupImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (compositor: ");
result.append(COMPOSITOR_EFLAG_VALUES[(eFlags & COMPOSITOR_EFLAG) >>> COMPOSITOR_EFLAG_OFFSET]);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNamedComponentImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNamedComponentImpl.java
index aeb06fba..b0e3161c 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNamedComponentImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNamedComponentImpl.java
@@ -763,7 +763,7 @@ public abstract class XSDNamedComponentImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (name: ");
result.append(name);
result.append(", targetNamespace: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNotationDeclarationImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNotationDeclarationImpl.java
index d0f44b2e..dc80f9f2 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNotationDeclarationImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNotationDeclarationImpl.java
@@ -336,7 +336,7 @@ public class XSDNotationDeclarationImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (systemIdentifier: ");
result.append(systemIdentifier);
result.append(", publicIdentifier: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNumericFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNumericFacetImpl.java
index cd312643..051d07d9 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNumericFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDNumericFacetImpl.java
@@ -176,7 +176,7 @@ public class XSDNumericFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append((eFlags & VALUE_EFLAG) != 0);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDOrderedFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDOrderedFacetImpl.java
index 74214217..5138e369 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDOrderedFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDOrderedFacetImpl.java
@@ -205,7 +205,7 @@ public class XSDOrderedFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(VALUE_EFLAG_VALUES[(eFlags & VALUE_EFLAG) >>> VALUE_EFLAG_OFFSET]);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPackageImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPackageImpl.java
index 6b544627..5ac22675 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPackageImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPackageImpl.java
@@ -4714,7 +4714,7 @@ public class XSDPackageImpl
/**
* Creates, registers, and initializes the <b>Package</b> for this model, and for any others upon which it depends.
- *
+ *
* <p>This method is used to initialize {@link XSDPackage#eINSTANCE} when that field is accessed.
* Clients should not invoke it directly. Instead, they should simply access that field to obtain the package.
* <!-- begin-user-doc -->
@@ -4729,7 +4729,8 @@ public class XSDPackageImpl
if (isInited) return (XSDPackage)EPackage.Registry.INSTANCE.getEPackage(XSDPackage.eNS_URI);
// Obtain or create and register package
- XSDPackageImpl theXSDPackage = (XSDPackageImpl)(EPackage.Registry.INSTANCE.get(eNS_URI) instanceof XSDPackageImpl ? EPackage.Registry.INSTANCE.get(eNS_URI) : new XSDPackageImpl());
+ Object registeredXSDPackage = EPackage.Registry.INSTANCE.get(eNS_URI);
+ XSDPackageImpl theXSDPackage = registeredXSDPackage instanceof XSDPackageImpl ? (XSDPackageImpl)registeredXSDPackage : new XSDPackageImpl();
isInited = true;
@@ -4742,7 +4743,6 @@ public class XSDPackageImpl
// Mark meta-data to indicate it can't be changed
theXSDPackage.freeze();
-
// Update the registry and return the package
EPackage.Registry.INSTANCE.put(XSDPackage.eNS_URI, theXSDPackage);
return theXSDPackage;
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDParticleImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDParticleImpl.java
index e3285abc..118d860d 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDParticleImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDParticleImpl.java
@@ -483,7 +483,7 @@ public class XSDParticleImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (minOccurs: ");
if ((eFlags & MIN_OCCURS_ESETFLAG) != 0) result.append(minOccurs); else result.append("<unset>");
result.append(", maxOccurs: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPatternFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPatternFacetImpl.java
index 19934f8c..a8acc095 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPatternFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDPatternFacetImpl.java
@@ -189,7 +189,7 @@ public class XSDPatternFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaDirectiveImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaDirectiveImpl.java
index 1796e9cd..3a851600 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaDirectiveImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaDirectiveImpl.java
@@ -245,7 +245,7 @@ public abstract class XSDSchemaDirectiveImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (schemaLocation: ");
result.append(schemaLocation);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaImpl.java
index f64a3f81..69aa191f 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSchemaImpl.java
@@ -2922,7 +2922,7 @@ public class XSDSchemaImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (document: ");
result.append(document);
result.append(", schemaLocation: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSimpleTypeDefinitionImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSimpleTypeDefinitionImpl.java
index d46182c1..4751bf94 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSimpleTypeDefinitionImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDSimpleTypeDefinitionImpl.java
@@ -2861,7 +2861,7 @@ public class XSDSimpleTypeDefinitionImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (variety: ");
if ((eFlags & VARIETY_ESETFLAG) != 0) result.append(VARIETY_EFLAG_VALUES[(eFlags & VARIETY_EFLAG) >>> VARIETY_EFLAG_OFFSET]); else result.append("<unset>");
result.append(", final: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDTotalDigitsFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDTotalDigitsFacetImpl.java
index fafc1767..778a978a 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDTotalDigitsFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDTotalDigitsFacetImpl.java
@@ -199,7 +199,7 @@ public class XSDTotalDigitsFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(value);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWhiteSpaceFacetImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWhiteSpaceFacetImpl.java
index b57b018a..320dfd5f 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWhiteSpaceFacetImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWhiteSpaceFacetImpl.java
@@ -230,7 +230,7 @@ public class XSDWhiteSpaceFacetImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (value: ");
result.append(VALUE_EFLAG_VALUES[(eFlags & VALUE_EFLAG) >>> VALUE_EFLAG_OFFSET]);
result.append(')');
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWildcardImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWildcardImpl.java
index 6dea2267..ace05a35 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWildcardImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDWildcardImpl.java
@@ -576,7 +576,7 @@ public class XSDWildcardImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (namespaceConstraintCategory: ");
result.append(NAMESPACE_CONSTRAINT_CATEGORY_EFLAG_VALUES[(eFlags & NAMESPACE_CONSTRAINT_CATEGORY_EFLAG) >>> NAMESPACE_CONSTRAINT_CATEGORY_EFLAG_OFFSET]);
result.append(", namespaceConstraint: ");
diff --git a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDXPathDefinitionImpl.java b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDXPathDefinitionImpl.java
index 80321af9..4986245f 100644
--- a/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDXPathDefinitionImpl.java
+++ b/plugins/org.eclipse.xsd/src/org/eclipse/xsd/impl/XSDXPathDefinitionImpl.java
@@ -370,7 +370,7 @@ public class XSDXPathDefinitionImpl
{
if (eIsProxy()) return super.toString();
- StringBuffer result = new StringBuffer(super.toString());
+ StringBuilder result = new StringBuilder(super.toString());
result.append(" (variety: ");
result.append(VARIETY_EFLAG_VALUES[(eFlags & VARIETY_EFLAG) >>> VARIETY_EFLAG_OFFSET]);
result.append(", value: ");

Back to the top