aboutsummaryrefslogtreecommitdiff
path: root/src/core/lombok/javac/apt/EmptyLombokFileObject.java
diff options
context:
space:
mode:
authorVictor Williams Stafusa da Silva <victorwssilva@gmail.com>2018-03-24 02:53:17 -0300
committerVictor Williams Stafusa da Silva <victorwssilva@gmail.com>2018-03-24 02:53:17 -0300
commita132d7794ea4668f0bfd113036063a7852d23217 (patch)
tree62460d635c29ed20333f07c7a81f9cb93ef69a81 /src/core/lombok/javac/apt/EmptyLombokFileObject.java
parent5a5d75a931e66b03212081e35bdfdc7b6be98783 (diff)
downloadlombok-a132d7794ea4668f0bfd113036063a7852d23217.tar.gz
lombok-a132d7794ea4668f0bfd113036063a7852d23217.tar.bz2
lombok-a132d7794ea4668f0bfd113036063a7852d23217.zip
Fix for #1617.
Signed-off-by: Victor Williams Stafusa da Silva <victorwssilva@gmail.com>
Diffstat (limited to 'src/core/lombok/javac/apt/EmptyLombokFileObject.java')
-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 5a3a7def..0f9a697d 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(name);
+ return URI.create("file://" + name);
}
@Override public CharSequence getCharContent(boolean ignoreEncodingErrors) throws IOException {