Compare commits
13 Commits
Author | SHA256 | Date | |
---|---|---|---|
d69ec8c9c9 | |||
cc901d561d | |||
5a503137a0 | |||
f65fe8f8fa | |||
6cd8c7aa29 | |||
24f947e908 | |||
3601418d84 | |||
382acaa869 | |||
bcf6c6a30c | |||
cd912169b9 | |||
ddde6c96ed | |||
5aae3b9350 | |||
d8aca64921 |
@@ -1,15 +0,0 @@
|
|||||||
Index: stringprep-1.1/codegenerator/src/main/java/com/ongres/stringprep/codegenerator/GeneratorCode.java
|
|
||||||
===================================================================
|
|
||||||
--- stringprep-1.1.orig/codegenerator/src/main/java/com/ongres/stringprep/codegenerator/GeneratorCode.java
|
|
||||||
+++ stringprep-1.1/codegenerator/src/main/java/com/ongres/stringprep/codegenerator/GeneratorCode.java
|
|
||||||
@@ -62,8 +62,8 @@ public class GeneratorCode {
|
|
||||||
ctx.put("parser", parser);
|
|
||||||
String path = args[0] + "/com/ongres/stringprep/StringPrep.java";
|
|
||||||
File file = new File(path);
|
|
||||||
- if (!file.getParentFile().mkdirs()) {
|
|
||||||
- throw new IOException("The directory couldn't be created");
|
|
||||||
+ if (!file.getParentFile().exists() && !file.getParentFile().mkdirs()) {
|
|
||||||
+ throw new IOException("The directory couldn't be created:" + file.getParentFile());
|
|
||||||
}
|
|
||||||
Writer writer = new OutputStreamWriter(new FileOutputStream(file),StandardCharsets.UTF_8);
|
|
||||||
template.merge(ctx, writer);
|
|
BIN
stringprep-1.1.tar.gz
(Stored with Git LFS)
BIN
stringprep-1.1.tar.gz
(Stored with Git LFS)
Binary file not shown.
Reference in New Issue
Block a user