Skip to content

Commit

Permalink
Found missing changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Olivier D committed Apr 25, 2021
1 parent 26e71f7 commit 5e4dcb0
Show file tree
Hide file tree
Showing 8 changed files with 27 additions and 28 deletions.
4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

<groupId>librewsdl4j</groupId>
<artifactId>libre-wsdl4j</artifactId>
<version>1.7.0</version>
<version>1.7.0-SNAPSHOT</version>
<packaging>jar</packaging>

<name>libre-wsdl4j</name>
Expand Down Expand Up @@ -80,4 +80,4 @@
</plugins>
</build>

</project>
</project>
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ public Boolean getRequired()

public String toString()
{
StringBuffer strBuf = new StringBuffer();
StringBuilder strBuf = new StringBuilder();

strBuf.append("HTTPUrlReplacement (" + elementType + "):");
strBuf.append("\nrequired=" + required);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class SchemaConstants {
new QName(NS_URI_XSD_2000, ELEM_SCHEMA);
public static final QName Q_ELEM_XSD_2001 =
new QName(NS_URI_XSD_2001, ELEM_SCHEMA);
public static final List XSD_QNAME_LIST = Arrays.asList(Q_ELEM_XSD_1999, Q_ELEM_XSD_2000, Q_ELEM_XSD_2001);
public static final List<QName> XSD_QNAME_LIST = Arrays.asList(Q_ELEM_XSD_1999, Q_ELEM_XSD_2000, Q_ELEM_XSD_2001);

//Schema import qnames
public static final QName Q_ELEM_IMPORT_XSD_1999 = new QName(
Expand All @@ -49,7 +49,7 @@ public class SchemaConstants {
NS_URI_XSD_2000, Constants.ELEM_IMPORT);
public static final QName Q_ELEM_IMPORT_XSD_2001 = new QName(
NS_URI_XSD_2001, Constants.ELEM_IMPORT);
public static final List XSD_IMPORT_QNAME_LIST = Arrays.asList(Q_ELEM_IMPORT_XSD_1999, Q_ELEM_IMPORT_XSD_2000, Q_ELEM_IMPORT_XSD_2001);
public static final List<QName> XSD_IMPORT_QNAME_LIST = Arrays.asList(Q_ELEM_IMPORT_XSD_1999, Q_ELEM_IMPORT_XSD_2000, Q_ELEM_IMPORT_XSD_2001);


//Schema include qnames
Expand All @@ -59,7 +59,7 @@ public class SchemaConstants {
NS_URI_XSD_2000, ELEM_INCLUDE);
public static final QName Q_ELEM_INCLUDE_XSD_2001 = new QName(
NS_URI_XSD_2001, ELEM_INCLUDE);
public static final List XSD_INCLUDE_QNAME_LIST = Arrays.asList(Q_ELEM_INCLUDE_XSD_1999, Q_ELEM_INCLUDE_XSD_2000, Q_ELEM_INCLUDE_XSD_2001);
public static final List<QName> XSD_INCLUDE_QNAME_LIST = Arrays.asList(Q_ELEM_INCLUDE_XSD_1999, Q_ELEM_INCLUDE_XSD_2000, Q_ELEM_INCLUDE_XSD_2001);

//Schema redefine qnames
public static final QName Q_ELEM_REDEFINE_XSD_1999 = new QName(
Expand All @@ -68,7 +68,8 @@ public class SchemaConstants {
NS_URI_XSD_2000, ELEM_REDEFINE);
public static final QName Q_ELEM_REDEFINE_XSD_2001 = new QName(
NS_URI_XSD_2001, ELEM_REDEFINE);
public static final List XSD_REDEFINE_QNAME_LIST = Arrays.asList(Q_ELEM_REDEFINE_XSD_1999, Q_ELEM_REDEFINE_XSD_2000, Q_ELEM_REDEFINE_XSD_2001);

public static final List<QName> XSD_REDEFINE_QNAME_LIST = Arrays.asList(Q_ELEM_REDEFINE_XSD_1999, Q_ELEM_REDEFINE_XSD_2000, Q_ELEM_REDEFINE_XSD_2001);

private SchemaConstants() {
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,8 +10,7 @@
/**
* @author Jeremy Hughes <[email protected]>
*/
public class SchemaReferenceImpl implements SchemaReference
{
public class SchemaReferenceImpl implements SchemaReference {

public static final long serialVersionUID = 1;

Expand All @@ -24,48 +23,45 @@ public class SchemaReferenceImpl implements SchemaReference
/**
* @return Returns the id.
*/
public String getId()
{
public String getId() {
return this.id;
}

/**
* @param id The id to set.
* @param id
* The id to set.
*/
public void setId(String id)
{
public void setId(String id) {
this.id = id;
}

/**
* @return Returns the schemaLocation.
*/
public String getSchemaLocationURI()
{
public String getSchemaLocationURI() {
return this.schemaLocation;
}

/**
* @param schemaLocation The schemaLocation to set.
* @param schemaLocation
* The schemaLocation to set.
*/
public void setSchemaLocationURI(String schemaLocation)
{
public void setSchemaLocationURI(String schemaLocation) {
this.schemaLocation = schemaLocation;
}

/**
* @return Returns the importedSchema.
*/
public Schema getReferencedSchema()
{
public Schema getReferencedSchema() {
return this.referencedSchema;
}

/**
* @param referencedSchema The importedSchema to set.
* @param referencedSchema
* The importedSchema to set.
*/
public void setReferencedSchema(Schema referencedSchema)
{
public void setReferencedSchema(Schema referencedSchema) {
this.referencedSchema = referencedSchema;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public String getLocationURI()

public String toString()
{
StringBuffer strBuf = new StringBuffer();
StringBuilder strBuf = new StringBuilder();

strBuf.append("SOAPAddress (" + elementType + "):");
strBuf.append("\nrequired=" + required);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public String getTransportURI()

public String toString()
{
StringBuffer strBuf = new StringBuffer();
StringBuilder strBuf = new StringBuilder();

strBuf.append("SOAPBinding (" + elementType + "):");
strBuf.append("\nrequired=" + required);
Expand Down
2 changes: 2 additions & 0 deletions src/main/java/com/ibm/wsdl/extensions/soap/SOAPConstants.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,4 +46,6 @@ public class SOAPConstants
public static final String ATTR_USE = "use";
public static final String ATTR_ENCODING_STYLE = "encodingStyle";
public static final String ATTR_PART = "part";

private SOAPConstants() {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public String getStyle()

public String toString()
{
StringBuffer strBuf = new StringBuffer();
StringBuilder strBuf = new StringBuilder();

strBuf.append("SOAPOperation (" + elementType + "):");
strBuf.append("\nrequired=" + required);
Expand Down

0 comments on commit 5e4dcb0

Please sign in to comment.