diff --git a/.classpath b/.classpath deleted file mode 100644 index a7552ca..0000000 --- a/.classpath +++ /dev/null @@ -1,7 +0,0 @@ - - - - - - - diff --git a/.gitignore b/.gitignore index 62e9792..be53495 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ bin gen doc project.properties +.classpath diff --git a/default.properties b/default.properties deleted file mode 100644 index ea89160..0000000 --- a/default.properties +++ /dev/null @@ -1,11 +0,0 @@ -# This file is automatically generated by Android Tools. -# Do not modify this file -- YOUR CHANGES WILL BE ERASED! -# -# This file must be checked in Version Control Systems. -# -# To customize properties used by the Ant build system use, -# "ant.properties", and override values to adapt the script to your -# project structure. - -# Project target. -target=android-8 diff --git a/src/com/studentersamfundet/app/IRSSParser.java b/src/com/studentersamfundet/app/IParser.java similarity index 73% rename from src/com/studentersamfundet/app/IRSSParser.java rename to src/com/studentersamfundet/app/IParser.java index 60223be..042baa9 100644 --- a/src/com/studentersamfundet/app/IRSSParser.java +++ b/src/com/studentersamfundet/app/IParser.java @@ -4,6 +4,6 @@ import java.io.Serializable; import org.w3c.dom.NodeList; -public interface IRSSParser extends Serializable { +public interface IParser extends Serializable { public DataHandler parse(NodeList nodes); } diff --git a/src/com/studentersamfundet/app/RSSParserNews.java b/src/com/studentersamfundet/app/RSSParserNews.java index 52b3cd6..b1900ca 100644 --- a/src/com/studentersamfundet/app/RSSParserNews.java +++ b/src/com/studentersamfundet/app/RSSParserNews.java @@ -4,7 +4,7 @@ import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; -public class RSSParserNews implements IRSSParser { +public class RSSParserNews implements IParser { private static final long serialVersionUID = -2654591623794449527L; private final DataHandler dh; diff --git a/src/com/studentersamfundet/app/RSSParserProgram.java b/src/com/studentersamfundet/app/RSSParserProgram.java index eaff858..ce2fc57 100644 --- a/src/com/studentersamfundet/app/RSSParserProgram.java +++ b/src/com/studentersamfundet/app/RSSParserProgram.java @@ -4,7 +4,7 @@ import org.w3c.dom.Element; import org.w3c.dom.Node; import org.w3c.dom.NodeList; -public class RSSParserProgram implements IRSSParser { +public class RSSParserProgram implements IParser { private static final long serialVersionUID = 3364287016121595334L; private final DataHandler dh; diff --git a/src/com/studentersamfundet/app/ui/lists/BaseListActivity.java b/src/com/studentersamfundet/app/ui/lists/BaseListActivity.java index 7c6824f..25bdf90 100644 --- a/src/com/studentersamfundet/app/ui/lists/BaseListActivity.java +++ b/src/com/studentersamfundet/app/ui/lists/BaseListActivity.java @@ -7,7 +7,7 @@ import org.w3c.dom.NodeList; import com.studentersamfundet.app.DataHandler; import com.studentersamfundet.app.Event; import com.studentersamfundet.app.FeedFetcher; -import com.studentersamfundet.app.IRSSParser; +import com.studentersamfundet.app.IParser; import com.studentersamfundet.app.R; import com.studentersamfundet.app.ui.BaseDnsActivity; @@ -25,7 +25,7 @@ import android.widget.Toast; public abstract class BaseListActivity extends BaseDnsActivity { private DataHandler datahandler; private FeedFetcher feed; - private IRSSParser parser; + private IParser parser; private boolean isUpdated = false; @@ -40,7 +40,7 @@ public abstract class BaseListActivity extends BaseDnsActivity { throw new RuntimeException("This activity must be fed a feed feeder."); /* Create the parser: */ - this.parser = (IRSSParser)i.getExtras().get("parser"); + this.parser = (IParser)i.getExtras().get("parser"); if (this.parser == null) throw new RuntimeException("This activity requires feed parser");