mirror of
https://github.com/querydsl/querydsl.git
synced 2026-07-03 21:07:49 +08:00
#2 fixed URI creation
This commit is contained in:
parent
9407fefb51
commit
497de0a10d
@ -22,7 +22,7 @@ import javax.tools.SimpleJavaFileObject;
|
||||
public class MemSourceFileObject extends SimpleJavaFileObject {
|
||||
|
||||
private static URI toUri(String fqname) {
|
||||
return URI.create(fqname.replace(".","/") + ".java");
|
||||
return URI.create("file:///" + fqname.replace(".","/") + ".java");
|
||||
}
|
||||
|
||||
private final StringBuilder contents;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user