Skip to content

Commit aab41d4

Browse files
committed
BKNDLSS-9402 [Support issue] Check work of delete relation and save with latest version of android sdk
1 parent 3887fc5 commit aab41d4

File tree

10 files changed

+4
-1
lines changed

10 files changed

+4
-1
lines changed

out/backendless.jar

-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
894 KB
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.
-543 Bytes
Binary file not shown.

src/com/backendless/FootprintsManager.java

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,10 @@ void updateFootprintForObject( Map<String, Object> serialized, Object newEntity,
247247
}
248248
else if( entry.getValue() instanceof Collection )
249249
{
250-
if( ((Collection) entry.getValue()).iterator().next() instanceof GeoPoint )
250+
Collection valueCollection = (Collection) entry.getValue();
251+
Iterator valueIterator = valueCollection.iterator();
252+
253+
if( valueIterator.hasNext() && valueIterator.next() instanceof GeoPoint )
251254
{
252255
continue;
253256
}

0 commit comments

Comments
 (0)