Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

replace quotes #5

Open
qwazer opened this issue Mar 30, 2015 · 0 comments
Open

replace quotes #5

qwazer opened this issue Mar 30, 2015 · 0 comments

Comments

@qwazer
Copy link
Owner

qwazer commented Mar 30, 2015

Index: src/main/java/com/googlecode/scheme2ddl/db2/UserObjectWriter.java
IDEA additional info:
Subsystem: com.intellij.openapi.diff.impl.patch.CharsetEP
<+>UTF-8
===================================================================
--- src/main/java/com/googlecode/scheme2ddl/db2/UserObjectWriter.java   (date 1427695566000)
+++ src/main/java/com/googlecode/scheme2ddl/db2/UserObjectWriter.java   (revision )
@@ -29,6 +29,7 @@

     public void writeUserObject(UserObject userObject) throws Exception {
         String absoluteFileName = outputPath + "/" +  userObject.getFileName();
+        absoluteFileName = absoluteFileName.replaceAll("\"", "_"); //todo
         absoluteFileName = FilenameUtils.separatorsToSystem(absoluteFileName);
         File file = new File(absoluteFileName);
         FileUtils.writeStringToFile(file, userObject.getDdl());

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant