Skip to content

Commit

Permalink
cleaner selection of script files
Browse files Browse the repository at this point in the history
  • Loading branch information
madhephaestus committed Dec 22, 2019
1 parent cb8bc6b commit 39de40b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/eu/mihosoft/vrl/v3d/CSG.java
Original file line number Diff line number Diff line change
Expand Up @@ -1972,7 +1972,7 @@ public CSG addCreationEventStackTraceList(ArrayList<Exception> incoming) {
private void addStackTrace(Exception creationEventStackTrace2) {
for (StackTraceElement el : creationEventStackTrace2.getStackTrace()) {
try {
if (!el.getFileName().contains(".java") && el.getLineNumber() > 0) {
if (!el.getFileName().endsWith(".java") && el.getLineNumber() > 0) {
boolean dupLine = false;
String thisline = el.getFileName() + ":" + el.getLineNumber();
for (String s : groovyFileLines) {
Expand Down

0 comments on commit 39de40b

Please sign in to comment.