aboutsummaryrefslogtreecommitdiff
path: root/src/main/java/com/juick/www/api/activity/model/objects
diff options
context:
space:
mode:
authorGravatar Vitaly Takmazov2021-08-21 21:43:03 +0300
committerGravatar Vitaly Takmazov2021-08-21 21:43:03 +0300
commite5c28b65b5d3ef2e5c98c71f55faa7c60d7864f0 (patch)
treede7547d2262b46b9c0f9e19f43dbb18dd19b01ce /src/main/java/com/juick/www/api/activity/model/objects
parent389e29881724b90daa466247aef1b8a164511bb9 (diff)
ActivityPub: do not duplicate type property
Diffstat (limited to 'src/main/java/com/juick/www/api/activity/model/objects')
-rw-r--r--src/main/java/com/juick/www/api/activity/model/objects/Application.java4
-rw-r--r--src/main/java/com/juick/www/api/activity/model/objects/Person.java5
2 files changed, 0 insertions, 9 deletions
diff --git a/src/main/java/com/juick/www/api/activity/model/objects/Application.java b/src/main/java/com/juick/www/api/activity/model/objects/Application.java
index 23a44e49..29361b33 100644
--- a/src/main/java/com/juick/www/api/activity/model/objects/Application.java
+++ b/src/main/java/com/juick/www/api/activity/model/objects/Application.java
@@ -18,8 +18,4 @@
package com.juick.www.api.activity.model.objects;
public class Application extends SecurityObject {
- @Override
- public String getType() {
- return "Application";
- }
}
diff --git a/src/main/java/com/juick/www/api/activity/model/objects/Person.java b/src/main/java/com/juick/www/api/activity/model/objects/Person.java
index 52626833..84844510 100644
--- a/src/main/java/com/juick/www/api/activity/model/objects/Person.java
+++ b/src/main/java/com/juick/www/api/activity/model/objects/Person.java
@@ -29,11 +29,6 @@ public class Person extends SecurityObject {
private String following;
private String followers;
- @Override
- public String getType() {
- return "Person";
- }
-
public String getName() {
return name;
}