*) minor changes

git-svn-id: https://svn.berlios.de/svnroot/repos/yacy/trunk@6424 6c8d7289-2bf4-0310-a012-ef5d649a1542
pull/1/head
low012 15 years ago
parent f5656b2ae1
commit 519c3619ff

@ -97,7 +97,6 @@ public class ConfigAppearance_p {
if (post.containsKey("install_button")) {
// load skin from URL
final String url = post.get("url");
final File skinFile = new File(skinPath, url.substring(url.lastIndexOf("/"), url.length()));
Iterator<String> it;
try {
@ -111,6 +110,7 @@ public class ConfigAppearance_p {
return prop;
}
try {
final File skinFile = new File(skinPath, url.substring(url.lastIndexOf("/"), url.length()));
final BufferedWriter bw = new BufferedWriter(new PrintWriter(new FileWriter(skinFile)));
while (it.hasNext()) {

@ -1,4 +1,4 @@
//Language_p.java
//ConfigLanguage_p.java
//-----------------------
//part of YACY
//(C) by Michael Peter Christen; mc@yacy.net

Loading…
Cancel
Save