Skip to content

Commit

Permalink
WFLY-2011 Don't allow EJB name to be specified more than once in asse…
Browse files Browse the repository at this point in the history
…mbly descriptor
  • Loading branch information
stuartwdouglas committed Oct 31, 2013
1 parent cfa4503 commit ec72534
Showing 1 changed file with 3 additions and 0 deletions.
Expand Up @@ -50,6 +50,9 @@ protected void processElement(MD metaData, XMLStreamReader reader, final Propert
reader.getElementText();
return;
case EJB_NAME:
if(metaData.getEjbName() != null) {
throw unexpectedElement(reader);
}
metaData.setEjbName(getElementText(reader, propertyReplacer));
return;
}
Expand Down

0 comments on commit ec72534

Please sign in to comment.