Commit 93927858 by Thomas Krex

Warnungen entfernt

parent ed85ce5a
......@@ -26,11 +26,12 @@ import android.widget.LinearLayout;
* @author Thomas Krex
*
*/
@SuppressLint("DefaultLocale")
@SuppressLint({ "DefaultLocale", "ViewConstructor" })
public class IndexEntry extends ImageButton {
private final int timestamp;
private final Index index;
private BitmapContainer bitmapContainer;
@SuppressWarnings("unused")
private String title = "";
private String searchbase_of_page;
private ArrayList<SearchBaseEntry> words;
......
......@@ -60,10 +60,6 @@ public class Recording extends MessageProducerAdapter implements Runnable {
private final Messages messages;
private final Index index;
@SuppressWarnings("unused")
private final Context context;
@SuppressWarnings("unused")
private File tttFile;
public Messages getMessages() {
......@@ -78,25 +74,21 @@ public class Recording extends MessageProducerAdapter implements Runnable {
return this.graphicsContext;
}
public void setfileDesktop(File name) {
tttFile = name;
}
public void setMessages(ArrayList<Message> list) {
messages.setmessages(list);
}
public Recording(Context context, File tttFile, MediaPlayer audioPlayer,
ImageView imgV, ScrollView scrollView) throws IOException {
this.tttFile = tttFile;
// read
this.context = context;
messages = new Messages(this);
prefs = new ProtocolPreferences();
this.audioPlayer = audioPlayer;
index = new Index(this, scrollView, context);
// read messages + extensions
read(tttFile);
read(this.tttFile);
graphicsContext = new GraphicsContext(imgV, this);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment