remove Deprecated annotation from TodoItem
This commit is contained in:
parent
ddcbb7a6da
commit
276e6042c3
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue