Skip to content

Commit

Permalink
Taged before merge.
Browse files Browse the repository at this point in the history
  • Loading branch information
keshavarzi committed Dec 16, 2013
1 parent ef1716c commit cf6de5b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions core/src/main/groovy/com/predic8/xml/util/PrefixedName.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ class PrefixedName {
def PrefixedName(name) {
if(!name) return
def tempName = name.split(':')
if(tempName.size() == 2) {
this.prefix = tempName[0]
this.localName = tempName[1]
if(tempName.size() >= 2) {
this.prefix = tempName.head()
this.localName = tempName.tail().join(':')
}
else if(tempName.size() == 1) {
this.localName = name
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ class WSDLDiffCLI extends AbstractDiffCLI{

private computeCompatibility(Difference diff){
if(!diff) return ''
diff.safe() ? 'safe' : (diff.breaks() ? 'breaking' : 'not clear')
diff.safe() ? 'safe' : (diff.breaks() ? 'breaking' : 'unsafe')
}

private findOperationChanges(diffs, op) {
Expand Down

0 comments on commit cf6de5b

Please sign in to comment.