aboutsummaryrefslogtreecommitdiff
path: root/app/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'app/src/main/java')
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java10
-rw-r--r--app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java11
2 files changed, 11 insertions, 10 deletions
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java
index df921d35..665a9092 100644
--- a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/MultiRedditJSONModel.java
@@ -35,14 +35,4 @@ public class MultiRedditJSONModel {
Gson gson = new Gson();
return gson.toJson(this);
}
-
- class SubredditInMultiReddit {
- String name;
-
- SubredditInMultiReddit() {}
-
- SubredditInMultiReddit(String subredditName) {
- name = subredditName;
- }
- }
}
diff --git a/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java
new file mode 100644
index 00000000..34a1e638
--- /dev/null
+++ b/app/src/main/java/ml/docilealligator/infinityforreddit/MultiReddit/SubredditInMultiReddit.java
@@ -0,0 +1,11 @@
+package ml.docilealligator.infinityforreddit.MultiReddit;
+
+public class SubredditInMultiReddit {
+ String name;
+
+ SubredditInMultiReddit() {}
+
+ SubredditInMultiReddit(String subredditName) {
+ name = subredditName;
+ }
+} \ No newline at end of file