mirror of https://github.com/zlatinb/muwire
spacing for readability
parent
45659f0dca
commit
d93dbbeb8b
|
@ -107,11 +107,11 @@ public class ConfigurationServlet extends HttpServlet {
|
||||||
File f = new File(s);
|
File f = new File(s);
|
||||||
f = f.getCanonicalFile();
|
f = f.getCanonicalFile();
|
||||||
if (!f.exists())
|
if (!f.exists())
|
||||||
throw new Exception(Util._t("Bad input") + ":" + Util._t("{0} does not exist",s));
|
throw new Exception(Util._t("Bad input") + " : " + Util._t("{0} does not exist",s));
|
||||||
if (!f.isDirectory())
|
if (!f.isDirectory())
|
||||||
throw new Exception(Util._t("Bad input") + ":" + Util._t("{0} is not a directory",s));
|
throw new Exception(Util._t("Bad input") + " : " + Util._t("{0} is not a directory",s));
|
||||||
if (!f.canWrite())
|
if (!f.canWrite())
|
||||||
throw new Exception(Util._t("Bad input") + ":" + Util._t("{0} not writeable",s));
|
throw new Exception(Util._t("Bad input") + " : " + Util._t("{0} not writeable",s));
|
||||||
return f;
|
return f;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue