Commit 487508547184eb77b295ab187a169607c8979c31

Authored by Nathanael Jourdane
2 parents 0c496c27 8913c9e6
Exists in master and in 1 other branch b6.0.X

Merge branch 'master' of gitlab1.irap.omp.eu:OV-GSO-DC/VOTableLib

src/main/java/eu/omp/irap/vespa/votable/votabledata/VOTableData.java
... ... @@ -96,7 +96,7 @@ public class VOTableData {
96 96 * @return The number of rows in the data set.
97 97 */
98 98 public int getNbRows() {
99   - return data.size();
  99 + return (data == null)?0:data.size();
100 100 }
101 101  
102 102 /**
... ...