Skip to content
This repository has been archived by the owner on Feb 8, 2019. It is now read-only.

fixed JaxpAttributeAssignment constructor #5

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,9 @@
*/
public class JaxpAttributeAssignment extends StdMutableAttributeAssignment {

protected JaxpAttributeAssignment(Identifier attributeIdIn, Identifier categoryIdIn, String issuerIn,
protected JaxpAttributeAssignment(Identifier categoryIdIn, Identifier attributeIdIn, String issuerIn,
AttributeValue<?> attributeValueIn) {
super(attributeIdIn, categoryIdIn, issuerIn, attributeValueIn);
super(categoryIdIn, attributeIdIn, issuerIn, attributeValueIn);
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this looks like from documentation, StdMutableAttributeAssignment(Identifier categoryIn, Identifier attributeIdIn, java.lang.String issuerIn, AttributeValue<?> attributeValueIn)

}

public static JaxpAttributeAssignment newInstance(AttributeAssignmentType attributeAssignmentType) {
Expand Down Expand Up @@ -96,6 +96,6 @@ public static JaxpAttributeAssignment newInstance(AttributeAssignmentType attrib
+ dataTypeId.toString() + "\"", ex);
}

return new JaxpAttributeAssignment(attributeId, categoryId, issuer, attributeValue);
return new JaxpAttributeAssignment(categoryId, attributeId, issuer, attributeValue);
}
}