Fix for ASM-12012. If there is nothing stored in the monitor artifact name then use the artifact name passed in as a parameter
git-svn-id: http://svn.us.apache.org/repos/asf/tuscany@833494 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
9fa82ce912
commit
3c0bb267eb
1 changed files with 4 additions and 1 deletions
|
@ -118,10 +118,13 @@ class ValidatingXMLStreamReader extends StreamReaderDelegate implements XMLStrea
|
|||
}
|
||||
|
||||
private String getArtifactName( String input ) {
|
||||
String artifactName = input;
|
||||
String artifactName = null;
|
||||
if( ValidatingXMLStreamReader.this.monitor != null ) {
|
||||
artifactName = ValidatingXMLStreamReader.this.monitor.getArtifactName();
|
||||
}
|
||||
if (artifactName == null){
|
||||
artifactName = input;
|
||||
}
|
||||
return artifactName;
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Add table
Reference in a new issue