Skip to content

Commit 65ecf12

Browse files
xzel23svanteschubert
authored andcommitted
remove unused assignment
1 parent 724db8d commit 65ecf12

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

odfdom/src/main/java/org/odftoolkit/odfdom/doc/OdfDocument.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -443,7 +443,6 @@ private static OdfDocument loadDocumentFromTemplate(OdfMediaType odfMediaType) t
443443
break;
444444

445445
default:
446-
documentTemplate = null;
447446
throw new IllegalArgumentException(
448447
"Given mediaType '" + odfMediaType.mMediaType + "' is not yet supported!");
449448
}
@@ -550,7 +549,6 @@ private static OdfDocument newDocument(
550549
break;
551550

552551
default:
553-
newDoc = null;
554552
throw new IllegalArgumentException(
555553
"Given mediaType '" + odfMediaType.mMediaType + "' is not yet supported!");
556554
}

0 commit comments

Comments
 (0)