Skip to content

Commit

Permalink
Remove redundant SuppressWarnings(deprecation)
Browse files Browse the repository at this point in the history
  • Loading branch information
spannm committed Mar 8, 2024
1 parent 9224bf8 commit f483b3c
Show file tree
Hide file tree
Showing 6 changed files with 1 addition and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2110,7 +2110,6 @@ private static String withErrorContext(
* Date subclass which stashes the original date bits, in case we attempt to re-write the value (will not lose
* precision). Also, this implementation is immutable.
*/
@SuppressWarnings("deprecation")
private static final class DateExt extends Date {
private static final long serialVersionUID = 0L;

Expand Down
1 change: 0 additions & 1 deletion src/main/java/io/github/spannm/jackcess/impl/RowImpl.java
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,6 @@ public Double getDouble(String name) {
}

@Override
@SuppressWarnings("deprecation")
public Date getDate(String name) {
return (Date) get(name);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,6 @@ public static Attachment newEncodedAttachment(
null, timeStamp, flags, encodedData);
}

@SuppressWarnings("deprecation")
private static class AttachmentImpl extends ComplexValueImpl implements Attachment {
private String _url;
private String _name;
Expand All @@ -230,6 +229,7 @@ private static class AttachmentImpl extends ComplexValueImpl implements Attachme
private AttachmentImpl(Id id, ComplexValueForeignKey complexValueFk,
String url, String name, String type, byte[] data,
Object timeStamp, Integer flags, byte[] encodedData) {

super(id, complexValueFk);
_url = url;
_name = name;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
*
* @author James Ahlborn
*/
@SuppressWarnings("deprecation")
public class ComplexValueForeignKeyImpl extends ComplexValueForeignKey {
private static final long serialVersionUID = 20110805L;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,6 @@ public static Version newVersion(ComplexValueForeignKey complexValueFk,
return new VersionImpl(INVALID_ID, complexValueFk, value, modifiedDate);
}

@SuppressWarnings("deprecation")
private static class VersionImpl extends ComplexValueImpl implements Version {
private final String _value;
private final Object _modifiedDate;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -358,7 +358,6 @@ protected Value evalVar(EvalContext ctx, Value[] params) {
}
});

@SuppressWarnings("deprecation")
public static final Function STRCONV = registerStringFunc(new FuncVar("StrConv", 2, 3) {
@Override
protected Value evalVar(EvalContext ctx, Value[] params) {
Expand Down

0 comments on commit f483b3c

Please sign in to comment.