Explorar el Código

Removed some debug

Ludwig Tietze hace 6 años
padre
commit
b67c919607
Se han modificado 1 ficheros con 2 adiciones y 3 borrados
  1. 2 3
      src/ui/view/Util.java

+ 2 - 3
src/ui/view/Util.java

@@ -71,10 +71,9 @@ public class Util {
 			try {
 				//I am checking, whether the requested File is an internal resource.
 				//If it is, res/url has to be used, otherwise url.
-				//Mixed separators should cause problems. Will fix later.
+				//Mixed separators might cause problems. Will fix later.
 				File f=new File(url);
-				if(!f.exists()||!f.getAbsolutePath().equals(url))url="res"+(rootSymbol?"":"/")+url;
-				else if(f.exists())System.out.println("Urls+ \""+url+"\" and \""+f.getAbsolutePath()+"\" Do not match, even though the latter seems to exist.\nThis should not happen.");
+				if(!f.exists()/*||!f.getAbsolutePath().equals(url)*/)url="res"+(rootSymbol?"":"/")+url;
 				return new FileInputStream(url);
 			} catch (FileNotFoundException e1) {
 				e1.printStackTrace();