Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
Signed-off-by: Jorge Bescos Gascon <[email protected]>
  • Loading branch information
jbescos authored and lukasj committed Oct 9, 2023
1 parent 724304f commit 8526f2d
Showing 1 changed file with 0 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -718,15 +718,6 @@ private void writeTypeRef(TypeHost th, NonElementRef<T, C> typeRef, String refAt
* The name of the attribute used when referencing a type by QName.
*/
private void writeTypeRef(TypeHost th, NonElement<T,C> type, String refAttName) {
Element e = null;
if (type instanceof MaybeElement) {
MaybeElement me = (MaybeElement)type;
boolean isElement = me.isElement();
if (isElement) e = me.asElement();
}
if (type instanceof Element) {
e = (Element)type;
}
if (type.getTypeName()==null) {
th.block(); // so that the caller may write other attributes
if(type instanceof ClassInfo) {
Expand Down

0 comments on commit 8526f2d

Please sign in to comment.