package org.simantics.scl.osgi.internal;\r
\r
-import java.io.File;\r
import java.io.IOException;\r
import java.io.InputStream;\r
import java.net.URISyntaxException;\r
}\r
\r
public void checkUpdates() {\r
- System.out.println(url + " checkUpdates");\r
if(digest != null && listeners != null) {\r
byte[] newDigest = computeDigest();\r
if(!Arrays.equals(digest, newDigest)) {\r
\r
@Override\r
public void update(String newSourceText) {\r
- System.out.println(url + " update");\r
try {\r
Path path = getPath();\r
Files.write(path, newSourceText.getBytes(Charset.forName("UTF-8")));\r