aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRoel Spilker <r.spilker@gmail.com>2018-04-16 21:55:03 +0200
committerRoel Spilker <r.spilker@gmail.com>2018-04-16 21:55:03 +0200
commite90064cf1d1f5802e4fed5a59f3a2b05776e9bc1 (patch)
treeabf3d62aeccea3f745940e68a7b3372eeddb6230 /src
parentde01d1eae16a61e1d3b4cafedd32e59f98396000 (diff)
downloadlombok-e90064cf1d1f5802e4fed5a59f3a2b05776e9bc1.tar.gz
lombok-e90064cf1d1f5802e4fed5a59f3a2b05776e9bc1.tar.bz2
lombok-e90064cf1d1f5802e4fed5a59f3a2b05776e9bc1.zip
Create valid uri, fixes #1657
Diffstat (limited to 'src')
-rw-r--r--src/core/lombok/javac/apt/EmptyLombokFileObject.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/lombok/javac/apt/EmptyLombokFileObject.java b/src/core/lombok/javac/apt/EmptyLombokFileObject.java
index 0f9a697d..43491213 100644
--- a/src/core/lombok/javac/apt/EmptyLombokFileObject.java
+++ b/src/core/lombok/javac/apt/EmptyLombokFileObject.java
@@ -57,7 +57,7 @@ class EmptyLombokFileObject implements LombokFileObject {
}
@Override public URI toUri() {
- return URI.create("file://" + name);
+ return URI.create("file:///" + name);
}
@Override public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {