mirror of
https://code.briarproject.org/briar/briar.git
synced 2026-02-15 20:29:52 +01:00
Javadocs and unit tests, God help me.
This commit is contained in:
@@ -58,13 +58,6 @@ public class FontManagerImpl implements FontManager {
|
||||
return Font.getFont(attr);
|
||||
}
|
||||
|
||||
public String[] getBundledFontFilenames() {
|
||||
String[] names = new String[BUNDLED_FONTS.length];
|
||||
for(int i = 0; i < BUNDLED_FONTS.length; i++)
|
||||
names[i] = BUNDLED_FONTS[i].filename;
|
||||
return names;
|
||||
}
|
||||
|
||||
public Font getFontForLanguage(String language) {
|
||||
assert defaultFont != null;
|
||||
Font font = fonts.get(language);
|
||||
|
||||
@@ -94,8 +94,7 @@ class InvitationWorker implements Runnable {
|
||||
}
|
||||
|
||||
private void copyInstaller(File dest) throws IOException {
|
||||
File root = FileUtils.getBriarDirectory();
|
||||
File src = new File(root, "Data/setup.dat");
|
||||
File src = parameters.getSetupDat();
|
||||
if(!src.exists() || !src.isFile())
|
||||
throw new IOException("File not found: " + src.getPath());
|
||||
callback.copyingFile(dest);
|
||||
|
||||
Reference in New Issue
Block a user