remove Deprecated annotation from TodoItem

This commit is contained in:
hlq07 2018-05-11 04:47:01 +08:00
parent ddcbb7a6da
commit 276e6042c3
1 changed files with 1 additions and 6 deletions

View File

@ -167,7 +167,6 @@ public class TodoItem {
*
* @return the title property value if any; {@code null} otherwise
*/
@Deprecated
public String getTitle() {
return stringProperties.getOrDefault(TITLE, null);
}
@ -177,7 +176,6 @@ public class TodoItem {
*
* @return the location property value if any; {@code null} otherwise
*/
@Deprecated
public String getLocation() {
return stringProperties.getOrDefault(LOCATION, null);
}
@ -187,7 +185,6 @@ public class TodoItem {
*
* @return the description property value if any; {@code null} otherwise
*/
@Deprecated
public String getDescription() {
return stringProperties.getOrDefault(DESCRIPTION, null);
}
@ -209,9 +206,7 @@ public class TodoItem {
*/
public List<GenericPair<String, String>> getStringProperties() {
ArrayList<GenericPair<String, String>> result = new ArrayList<>();
stringProperties.forEach((k, v) -> {
result.add(GenericPair.makePair(k, v));
});
stringProperties.forEach((k, v) -> result.add(GenericPair.makePair(k, v)));
return result;
}