Skip to content

Commit

Permalink
+ Kleine Codekorrektur in ReducedInputHandler;
Browse files Browse the repository at this point in the history
  • Loading branch information
FloDX committed Jun 24, 2024
1 parent 22d9f2a commit ea95a80
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ public void startElement(String uri, String lName, String qName, Attributes attr
break;
}
} else {
if (currentProcess.equals(KEY_MATERIAL)) {
if (currentProcess == null ? KEY_MATERIAL == null : currentProcess.equals(KEY_MATERIAL)) {
switch (qName.toLowerCase()) {
case KEY_BUCKLING:
currentSubProcess = KEY_BUCKLING;
Expand All @@ -187,7 +187,7 @@ public void endElement(String uri, String lName, String qName) throws SAXExcepti
if (currentProcess != null) {
switch (currentProcess) {
case KEY_MATERIAL:
if (currentSubProcess.equals(KEY_BUCKLING)) {
if (currentSubProcess == null ? KEY_BUCKLING == null : currentSubProcess.equals(KEY_BUCKLING)) {
processBucklingMaterial(qName.toLowerCase());
} else {
processMaterial(qName.toLowerCase());
Expand Down

0 comments on commit ea95a80

Please sign in to comment.