Menu

Commit [r30662]  Maximize  Restore  History

support null in Id.create(Id, type) which is mostly used to convert Ids of one type to another. If a null-Id should be converted, return null. This should fix some playground tests that do some work with null-Ids.

mrieser 2014-10-20

changed /matsim/trunk/src/main/java/org/matsim/api/core/v01/Id.java
changed /matsim/trunk/src/test/java/org/matsim/api/core/v01/IdTest.java
/matsim/trunk/src/main/java/org/matsim/api/core/v01/Id.java Diff Switch to side-by-side view
Loading...
/matsim/trunk/src/test/java/org/matsim/api/core/v01/IdTest.java Diff Switch to side-by-side view
Loading...