Skip to content

Commit 3958a37

Browse files
committed
PositionMsg: Added note on invalid position
1 parent f7a330e commit 3958a37

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

src/main/java/de/serosystems/lib1090/msgs/PositionMsg.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@ public interface PositionMsg {
1111
boolean hasValidPosition();
1212

1313
/**
14-
* @return the CPR encoded position that was announced in this message
14+
* @return the CPR encoded position that was announced in this message.
15+
* The method may return an invalid position if #hasValidPosition() is false.
1516
*/
1617
CPREncodedPosition getCPREncodedPosition();
1718

0 commit comments

Comments
 (0)