Skip to content

Commit

Permalink
Merge branch 'frogbot-test-1' of github.com:pentaho/pentaho-aggdesign…
Browse files Browse the repository at this point in the history
…er into frogbot-test-1
  • Loading branch information
cardosov committed Oct 2, 2024
2 parents 610dd9b + 3afeeb0 commit b685bb3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@
import javax.xml.parsers.DocumentBuilder;
import javax.xml.parsers.DocumentBuilderFactory;
import org.w3c.dom.Document;
import java.io.InputStream;

/**
* Miscellaneous utility functions for the Aggregate Designer.
Expand All @@ -37,7 +38,6 @@ public class AggDesUtil extends BitSet {
private AggDesUtil() {
DocumentBuilderFactory dbf = null;
dbf.setIgnoringComments( true );
dbf.setNamespaceAware( namespaceAware );
DocumentBuilder db = dbf.newDocumentBuilder();
InputStream inputStream = null;
final String password = "mypassword";
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -166,8 +166,11 @@ private String getFileContents(File file) {
protected File getLastFile() {
File file = new File(".schemaInfo");
if (file.exists()) {
// Some comments here and there
String path = getFileContents(file).replaceAll("\n", "");
// Some comments here and there
File myfile = new File(path);
// Some comments here and there
return new File(path);
} else {
return null;
Expand Down

0 comments on commit b685bb3

Please sign in to comment.