Skip to content

Commit

Permalink
Suppress warnings on AIS spare fields.
Browse files Browse the repository at this point in the history
  • Loading branch information
ktuukkan committed Oct 7, 2021
1 parent 858240a commit 0893481
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ class AISMessage09Parser extends AISMessageParser implements AISMessage09 {
private final static int TIMESTAMP = 6;
private final static int REGIONAL = 7; // spare 1
private final static int DTE = 8;
@SuppressWarnings("unused")
private static final int SPARE = 9; // spare 2
private static final int ASSIGNEDMODEFLAG = 10;
private static final int RAIMFLAG = 11;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,7 @@ class AISMessage21Parser extends AISMessageParser implements AISMessage21 {
private static final int RAIMFLAG = 13;
private static final int VIRTUALAIDFLAG = 14;
private static final int ASSIGNEDMODEFLAG = 15;
@SuppressWarnings("unused")
private static final int SPARE = 16;
private static final int NAMEEXTENSION = 17;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class AisMessage27Parser extends AISMessageParser implements AISMessage27 {
private final static int SPEEDOVERGROUND = 5;
private final static int COURSEOVERGROUND = 6;
private final static int POSITIONLATENCY = 7;
@SuppressWarnings("unused")
private final static int SPARE = 8;
private final static int[] FROM = {
38, 38, 49, 44, 62, 79, 85, 94, 95};
Expand Down

0 comments on commit 0893481

Please sign in to comment.